GET api/ERP/Jobs/GetDispatchLocation?locID={locID}
Get dispatch location name
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| locID |
Location ID |
integer |
Required |
Body Parameters
None.
Response Information
Resource Description
Dispatch location name
DispatchLocationType| Name | Description | Type | Additional information |
|---|---|---|---|
| LocationID | integer |
None. |
|
| LocationName | string |
None. |
|
| IsInactive | boolean |
None. |
Response Formats
application/json, text/json
Sample:
{
"LocationID": 1,
"LocationName": "sample string 2",
"IsInactive": true
}
application/xml, text/xml
Sample:
<DispatchLocationType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BusinessObjects.ERP"> <IsInactive>true</IsInactive> <LocationID>1</LocationID> <LocationName>sample string 2</LocationName> </DispatchLocationType>