POST CompanyClassifications3

Creates a new Company Classifications

Request Information

URI Parameters

None.

Body Parameters

The data of the Company Classifications

CompanyClassificationDto
NameDescriptionTypeAdditional 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": "ea6a7716-0465-4484-ae5d-8dc0380cba24",
  "IdCompany": "a0f815c9-7483-47a4-95a6-4abfa0abe591",
  "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>ea6a7716-0465-4484-ae5d-8dc0380cba24</Id>
  <IdCompany>a0f815c9-7483-47a4-95a6-4abfa0abe591</IdCompany>
</CompanyClassificationDto>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

State of the action, and if created returns the Company Classifications as and the GET link to the Company Classifications

CompanyClassificationDto
NameDescriptionTypeAdditional 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": "c6c00b41-043b-40eb-8a8f-4c1e501277b0",
  "IdCompany": "15a1c955-d75a-48fc-a3a9-a426a52fb946",
  "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>c6c00b41-043b-40eb-8a8f-4c1e501277b0</Id>
  <IdCompany>15a1c955-d75a-48fc-a3a9-a426a52fb946</IdCompany>
</CompanyClassificationDto>