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": "39fef3c7-8278-4830-b3cc-2aff05fb6a9e",
"IdNetwork": "91ef2acc-adbb-432c-a446-a4b9c1fe1ba9",
"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>91ef2acc-adbb-432c-a446-a4b9c1fe1ba9</_x003C_IdNetwork_x003E_k__BackingField> <_x003C_Id_x003E_k__BackingField>39fef3c7-8278-4830-b3cc-2aff05fb6a9e</_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": "eede10f9-6245-45f9-abc7-d3043af2c607",
"IdNetwork": "3360a40a-d6a4-4425-b82c-ccb842362d69",
"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>3360a40a-d6a4-4425-b82c-ccb842362d69</_x003C_IdNetwork_x003E_k__BackingField> <_x003C_Id_x003E_k__BackingField>eede10f9-6245-45f9-abc7-d3043af2c607</_x003C_Id_x003E_k__BackingField> </SitesClassificationsDto>