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
SitesClassificationsDtoName | 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": "39c2c034-79ed-4724-9a68-3a44c6f6ce8e", "IdNetwork": "32f4c904-4ecf-4692-bfdb-811d326f6cdc", "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>32f4c904-4ecf-4692-bfdb-811d326f6cdc</_x003C_IdNetwork_x003E_k__BackingField> <_x003C_Id_x003E_k__BackingField>39c2c034-79ed-4724-9a68-3a44c6f6ce8e</_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
SitesClassificationsDtoName | 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": "7aca7db7-f9a9-4194-9c1c-e6921e6f0297", "IdNetwork": "b0cdfec8-6594-41d0-8981-9bfc9192c637", "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>b0cdfec8-6594-41d0-8981-9bfc9192c637</_x003C_IdNetwork_x003E_k__BackingField> <_x003C_Id_x003E_k__BackingField>7aca7db7-f9a9-4194-9c1c-e6921e6f0297</_x003C_Id_x003E_k__BackingField> </SitesClassificationsDto>