POST CompanyClassifications2Vehicles
Creates a new Classification 2 Vehicles relationship
Request Information
URI Parameters
None.
Body Parameters
The data of the Company Classification 2 and Vehicles
CompanyClassificationEntitiesDto| Name | Description | Type | Additional information |
|---|---|---|---|
| EntityIds | Collection of globally unique identifier |
None. |
|
| ClassificationId | globally unique identifier |
None. |
Request Formats
application/json, text/json
Sample:
{
"EntityIds": [
"1c241076-e199-491b-a29d-99f049fe783e",
"76f2f9c3-1768-41b7-b274-2c04083eb8cf"
],
"ClassificationId": "a06c568f-c802-4f39-b520-f29c46da66a5"
}
application/xml, text/xml
Sample:
<CompanyClassificationEntitiesDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Ationet.Model.Company">
<ClassificationId>a06c568f-c802-4f39-b520-f29c46da66a5</ClassificationId>
<EntityIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:guid>1c241076-e199-491b-a29d-99f049fe783e</d2p1:guid>
<d2p1:guid>76f2f9c3-1768-41b7-b274-2c04083eb8cf</d2p1:guid>
</EntityIds>
</CompanyClassificationEntitiesDto>
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
CompanyClassificationEntitiesDto| Name | Description | Type | Additional information |
|---|---|---|---|
| EntityIds | Collection of globally unique identifier |
None. |
|
| ClassificationId | globally unique identifier |
None. |
Response Formats
application/json, text/json
Sample:
{
"EntityIds": [
"8b66744f-b626-442b-aaca-c1021e7d48cf",
"ad741872-e40f-49f4-974b-b6451b8f989a"
],
"ClassificationId": "98dcfd49-2163-43d8-925a-ee63855200e1"
}
application/xml, text/xml
Sample:
<CompanyClassificationEntitiesDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Ationet.Model.Company">
<ClassificationId>98dcfd49-2163-43d8-925a-ee63855200e1</ClassificationId>
<EntityIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:guid>8b66744f-b626-442b-aaca-c1021e7d48cf</d2p1:guid>
<d2p1:guid>ad741872-e40f-49f4-974b-b6451b8f989a</d2p1:guid>
</EntityIds>
</CompanyClassificationEntitiesDto>