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
CompanyClassificationDtoName | 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": "b3b927c0-2a36-4a2c-9d60-ba5a4caabca5", "IdCompany": "f65f7537-9663-4d57-99d1-309dec19d925", "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>b3b927c0-2a36-4a2c-9d60-ba5a4caabca5</Id> <IdCompany>f65f7537-9663-4d57-99d1-309dec19d925</IdCompany> </CompanyClassificationDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
If sucessful, returns the updated dto
CompanyClassificationDtoName | 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": "7fe10926-9ac7-46e0-838b-20c2b2f0acf4", "IdCompany": "ffcfd72b-52a1-49e4-9b51-4b705325b55e", "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>7fe10926-9ac7-46e0-838b-20c2b2f0acf4</Id> <IdCompany>ffcfd72b-52a1-49e4-9b51-4b705325b55e</IdCompany> </CompanyClassificationDto>