PUT api/Entity/{id}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
Required |
Body Parameters
EntitaS| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| IdAmministratore | integer |
Required |
|
| Denominazione | string |
Required String length: inclusive between 0 and 100 |
|
| Via | string |
String length: inclusive between 0 and 150 |
|
| Citta | string |
String length: inclusive between 0 and 100 |
|
| Cap | string |
None. |
|
| Provincia | string |
None. |
|
| Note | string |
String length: inclusive between 0 and 5000 |
|
| ProfiloEmail | integer |
None. |
|
| ProfiloPEC | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"Id": 1,
"IdAmministratore": 2,
"Denominazione": "sample string 3",
"Via": "sample string 4",
"Citta": "sample string 5",
"Cap": "sample string 6",
"Provincia": "sample string 7",
"Note": "sample string 8",
"ProfiloEmail": 1,
"ProfiloPEC": 1
}
application/xml, text/xml
Sample:
<EntitaS xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AmminixtraCommon"> <Cap>sample string 6</Cap> <Citta>sample string 5</Citta> <Denominazione>sample string 3</Denominazione> <Id>1</Id> <IdAmministratore>2</IdAmministratore> <Note>sample string 8</Note> <ProfiloEmail>1</ProfiloEmail> <ProfiloPEC>1</ProfiloPEC> <Provincia>sample string 7</Provincia> <Via>sample string 4</Via> </EntitaS>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
EntitaS| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| IdAmministratore | integer |
Required |
|
| Denominazione | string |
Required String length: inclusive between 0 and 100 |
|
| Via | string |
String length: inclusive between 0 and 150 |
|
| Citta | string |
String length: inclusive between 0 and 100 |
|
| Cap | string |
None. |
|
| Provincia | string |
None. |
|
| Note | string |
String length: inclusive between 0 and 5000 |
|
| ProfiloEmail | integer |
None. |
|
| ProfiloPEC | integer |
None. |
Response Formats
application/json, text/json
Sample:
{
"Id": 1,
"IdAmministratore": 2,
"Denominazione": "sample string 3",
"Via": "sample string 4",
"Citta": "sample string 5",
"Cap": "sample string 6",
"Provincia": "sample string 7",
"Note": "sample string 8",
"ProfiloEmail": 1,
"ProfiloPEC": 1
}
application/xml, text/xml
Sample:
<EntitaS xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AmminixtraCommon"> <Cap>sample string 6</Cap> <Citta>sample string 5</Citta> <Denominazione>sample string 3</Denominazione> <Id>1</Id> <IdAmministratore>2</IdAmministratore> <Note>sample string 8</Note> <ProfiloEmail>1</ProfiloEmail> <ProfiloPEC>1</ProfiloPEC> <Provincia>sample string 7</Provincia> <Via>sample string 4</Via> </EntitaS>