GET api/Dispatch/MoveStopToTrip/{auth}/{TripDetailID}/{TripID}
Use this method to move a stop (TripDetailID) to another trip (TripID). The stop will be added to the end of the trip
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
auth |
Unique authorization identifier |
string |
Required |
TripDetailID |
The unique trip detail (stop) identifier to move to another trip |
integer |
Required |
TripID |
The identifier of the trip to receive the new stop (TripDetailID) |
integer |
Required |
Body Parameters
None.
Response Information
Resource Description
ResponseBaseName | 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>