POST api/OpsLog/UpdateTaskInRouteToPickup
Use this method to update the En Route To Pickup task
Request Information
URI Parameters
None.
Body Parameters
TaskInRouteToPickupParm| Name | Description | Type | Additional information |
|---|---|---|---|
| auth | string |
None. |
|
| EntityGUID | string |
None. |
|
| EntityType | string |
None. |
|
| Distance | integer |
None. |
|
| WaitingTime | integer |
None. |
|
| AttemptCount | integer |
None. |
|
| Weight | decimal number |
None. |
|
| WeightUOM | string |
None. |
|
| DistanceUOM | string |
None. |
|
| LockCost | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"auth": "sample string 1",
"EntityGUID": "sample string 2",
"EntityType": "sample string 3",
"Distance": 4,
"WaitingTime": 1,
"AttemptCount": 1,
"Weight": 1.0,
"WeightUOM": "sample string 5",
"DistanceUOM": "sample string 6",
"LockCost": true
}
application/xml, text/xml
Sample:
<TaskInRouteToPickupParm xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Mnx.WebApi.Transportation.Models"> <AttemptCount>1</AttemptCount> <Distance>4</Distance> <DistanceUOM>sample string 6</DistanceUOM> <EntityGUID>sample string 2</EntityGUID> <EntityType>sample string 3</EntityType> <LockCost>true</LockCost> <WaitingTime>1</WaitingTime> <Weight>1</Weight> <WeightUOM>sample string 5</WeightUOM> <auth>sample string 1</auth> </TaskInRouteToPickupParm>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ResponseBase| Name | Description | Type | Additional information |
|---|---|---|---|
| IsSuccessful |
Set to true if method was successful |
boolean |
None. |
| ErrorMessage |
The error message if method call was not successful |
string |
None. |
Response Formats
application/json, text/json
Sample:
{
"IsSuccessful": true,
"ErrorMessage": "sample string 2"
}
application/xml, text/xml
Sample:
<ResponseBase xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Mnx.WebApi.Transportation.Models"> <ErrorMessage>sample string 2</ErrorMessage> <IsSuccessful>true</IsSuccessful> </ResponseBase>