PUT CompanyContractsClassifications/{id}?index={index}
Updates the Company Contract Classifications
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id |
The data of the company contract classification |
globally unique identifier |
Required |
| index |
Filter by the type of ompanyContractclassification, posible values are 0,1,2,3, any index represent a determinal type of entity. Example index 0 represent operation in CompanyContractClassification0. |
integer |
Required |
Body Parameters
The new data of the Company Contract Classifications
CompanyContractsClassificationDto| 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": "0f9ab7be-a1ec-443f-84d8-154def770b3d",
"IdNetwork": "868ae041-ede2-480f-8ab0-fea1c774c1b8",
"Code": "sample string 3",
"Description": "sample string 4"
}
application/xml, text/xml
Sample:
<CompanyContractsClassificationDto 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>868ae041-ede2-480f-8ab0-fea1c774c1b8</_x003C_IdNetwork_x003E_k__BackingField> <_x003C_Id_x003E_k__BackingField>0f9ab7be-a1ec-443f-84d8-154def770b3d</_x003C_Id_x003E_k__BackingField> </CompanyContractsClassificationDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
If sucessful, returns the updated dto
CompanyContractsClassificationDto| 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": "dbac33f4-54d2-4f1a-aef3-1bb1da469eb1",
"IdNetwork": "e27446f3-76da-4d36-8dd3-f40a14fa8366",
"Code": "sample string 3",
"Description": "sample string 4"
}
application/xml, text/xml
Sample:
<CompanyContractsClassificationDto 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>e27446f3-76da-4d36-8dd3-f40a14fa8366</_x003C_IdNetwork_x003E_k__BackingField> <_x003C_Id_x003E_k__BackingField>dbac33f4-54d2-4f1a-aef3-1bb1da469eb1</_x003C_Id_x003E_k__BackingField> </CompanyContractsClassificationDto>