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
CompanyContractsClassificationDtoName | 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": "c7d7a7db-2f90-4b4b-af89-408c8778d39b", "IdNetwork": "d7870187-b472-43c0-a883-2c00ee31cacc", "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>d7870187-b472-43c0-a883-2c00ee31cacc</_x003C_IdNetwork_x003E_k__BackingField> <_x003C_Id_x003E_k__BackingField>c7d7a7db-2f90-4b4b-af89-408c8778d39b</_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
CompanyContractsClassificationDtoName | 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": "dfa770f4-5e93-4d75-a136-c1a3c01039eb", "IdNetwork": "1b7218c5-51f1-4aeb-94d6-82c9d79b2e02", "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>1b7218c5-51f1-4aeb-94d6-82c9d79b2e02</_x003C_IdNetwork_x003E_k__BackingField> <_x003C_Id_x003E_k__BackingField>dfa770f4-5e93-4d75-a136-c1a3c01039eb</_x003C_Id_x003E_k__BackingField> </CompanyContractsClassificationDto>