PUT CompanyClassifications1/{id}
Updates the Company Classifications
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id |
The data of the company classification |
globally unique identifier |
Required |
Body Parameters
The new data of the Company Classifications
CompanyClassificationDto| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | globally unique identifier |
None. |
|
| IdCompany | globally unique identifier |
None. |
|
| Code | string |
None. |
|
| Description | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"Id": "b7322a24-cfe0-4a1b-9692-6e908ca47652",
"IdCompany": "05e61e5d-4500-4f88-9d75-03189513d7fc",
"Code": "sample string 3",
"Description": "sample string 4"
}
application/xml, text/xml
Sample:
<CompanyClassificationDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Ationet.Model"> <Code>sample string 3</Code> <Description>sample string 4</Description> <Id>b7322a24-cfe0-4a1b-9692-6e908ca47652</Id> <IdCompany>05e61e5d-4500-4f88-9d75-03189513d7fc</IdCompany> </CompanyClassificationDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
If sucessful, returns the updated dto
CompanyClassificationDto| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | globally unique identifier |
None. |
|
| IdCompany | globally unique identifier |
None. |
|
| Code | string |
None. |
|
| Description | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"Id": "8c2e7372-f748-4fa1-a9d6-ab0076480cc8",
"IdCompany": "11b373ab-2127-40f9-bfd6-71142f1d8ec9",
"Code": "sample string 3",
"Description": "sample string 4"
}
application/xml, text/xml
Sample:
<CompanyClassificationDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Ationet.Model"> <Code>sample string 3</Code> <Description>sample string 4</Description> <Id>8c2e7372-f748-4fa1-a9d6-ab0076480cc8</Id> <IdCompany>11b373ab-2127-40f9-bfd6-71142f1d8ec9</IdCompany> </CompanyClassificationDto>