POST api/vehiclelocations
Request Information
URI Parameters
None.
Body Parameters
InventoryLocationSubModel| Name | Description | Type | Additional information |
|---|---|---|---|
| InventoryLocationId | integer |
None. |
|
| Description | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"InventoryLocationId": 1,
"Description": "sample string 2"
}
application/xml, text/xml
Sample:
<InventoryLocationSubModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Automatrix.DMS.Business.Entities.SubModels"> <Description>sample string 2</Description> <InventoryLocationId>1</InventoryLocationId> </InventoryLocationSubModel>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |