POST api/OpsLog/SaveLocation
Request Information
URI Parameters
None.
Body Parameters
driverLocationRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| VendorID | string |
None. |
|
| OrderNumber | integer |
None. |
|
| PickupNumber | string |
None. |
|
| LocationLoop | Collection of LocationInfo |
None. |
|
| ShipmentGUID | string |
None. |
|
| SourceType | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"VendorID": "sample string 1",
"OrderNumber": 2,
"PickupNumber": "sample string 3",
"LocationLoop": [
{
"Latitude": 1.0,
"Longitude": 2.0,
"Timestamp": "sample string 3",
"DriverNo": "sample string 4"
},
{
"Latitude": 1.0,
"Longitude": 2.0,
"Timestamp": "sample string 3",
"DriverNo": "sample string 4"
}
],
"ShipmentGUID": "sample string 4",
"SourceType": "sample string 5"
}
application/xml, text/xml
Sample:
<driverLocationRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
<VendorID>sample string 1</VendorID>
<OrderNumber>2</OrderNumber>
<PickupNumber>sample string 3</PickupNumber>
<LocationLoop>
<LocationInfo>
<Latitude>1</Latitude>
<Longitude>2</Longitude>
<Timestamp>sample string 3</Timestamp>
<DriverNo>sample string 4</DriverNo>
</LocationInfo>
<LocationInfo>
<Latitude>1</Latitude>
<Longitude>2</Longitude>
<Timestamp>sample string 3</Timestamp>
<DriverNo>sample string 4</DriverNo>
</LocationInfo>
</LocationLoop>
<ShipmentGUID>sample string 4</ShipmentGUID>
<SourceType>sample string 5</SourceType>
</driverLocationRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
driverLocationResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| OrderNumber | integer |
None. |
|
| PickupNumber | string |
None. |
|
| Status | nglStatusType |
None. |
|
| NexusEnableEmail | boolean |
None. |
Response Formats
application/json, text/json
Sample:
{
"OrderNumber": 1,
"PickupNumber": "sample string 2",
"Status": {
"ResponseType": "sample string 4",
"Code": "sample string 1",
"Message": "sample string 3",
"Id": 2
},
"NexusEnableEmail": true
}
application/xml, text/xml
Sample:
<driverLocationResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
<OrderNumber>1</OrderNumber>
<PickupNumber>sample string 2</PickupNumber>
<NexusEnableEmail>true</NexusEnableEmail>
<Status>
<ResponseType>sample string 4</ResponseType>
<Code>sample string 1</Code>
<Message>sample string 3</Message>
<Id>2</Id>
</Status>
</driverLocationResponse>