PUT SiteClassifications/{id}?index={index}
Updates the Site Classifications
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id |
The data of the site classification |
globally unique identifier |
Required |
| index |
Filter by the type of siteclassification, posible values are 0,1,2,3, any index represent a determinal type of entity. Example index 0 represent operation in SiteClassification0. |
integer |
Required |
Body Parameters
The new data of the Site Classifications
SitesClassificationsDto| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | globally unique identifier |
None. |
|
| IdNetwork | globally unique identifier |
None. |
|
| Code | string |
None. |
|
| Description | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"Id": "b59af609-b932-4b66-af3b-ed29bed96861",
"IdNetwork": "85a993f6-1f80-42d8-90aa-52c7a0e9bb9c",
"Code": "sample string 3",
"Description": "sample string 4"
}
application/xml, text/xml
Sample:
<SitesClassificationsDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Ationet.Model"> <_x003C_Code_x003E_k__BackingField>sample string 3</_x003C_Code_x003E_k__BackingField> <_x003C_Description_x003E_k__BackingField>sample string 4</_x003C_Description_x003E_k__BackingField> <_x003C_IdNetwork_x003E_k__BackingField>85a993f6-1f80-42d8-90aa-52c7a0e9bb9c</_x003C_IdNetwork_x003E_k__BackingField> <_x003C_Id_x003E_k__BackingField>b59af609-b932-4b66-af3b-ed29bed96861</_x003C_Id_x003E_k__BackingField> </SitesClassificationsDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
If sucessful, returns the updated dto
SitesClassificationsDto| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | globally unique identifier |
None. |
|
| IdNetwork | globally unique identifier |
None. |
|
| Code | string |
None. |
|
| Description | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"Id": "6b14b0ec-d662-44e6-aa74-d70e2f8b2ed5",
"IdNetwork": "62282e2e-63ef-4e21-a1b4-d2f4592da091",
"Code": "sample string 3",
"Description": "sample string 4"
}
application/xml, text/xml
Sample:
<SitesClassificationsDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Ationet.Model"> <_x003C_Code_x003E_k__BackingField>sample string 3</_x003C_Code_x003E_k__BackingField> <_x003C_Description_x003E_k__BackingField>sample string 4</_x003C_Description_x003E_k__BackingField> <_x003C_IdNetwork_x003E_k__BackingField>62282e2e-63ef-4e21-a1b4-d2f4592da091</_x003C_IdNetwork_x003E_k__BackingField> <_x003C_Id_x003E_k__BackingField>6b14b0ec-d662-44e6-aa74-d70e2f8b2ed5</_x003C_Id_x003E_k__BackingField> </SitesClassificationsDto>