GET api/Dispatch/GetTripStops/{auth}/{TripID}

Use this method to retrieve the list of stops (pickup or delivery) assigned to the trip

Request Information

URI Parameters

NameDescriptionTypeAdditional information
auth

Unique authorization identifier

string

Required

TripID

The trip identifier

integer

Required

Body Parameters

None.

Response Information

Resource Description

GetTripDetailResp
NameDescriptionTypeAdditional information
IsSuccessful

Method was successful (true/false)

boolean

None.

ErrorMessage

If unsuccessful, the error message

string

None.

Items

List of the detail for the trip (each pickup and delivery)

Collection of TripDetailItem

None.

Response Formats

application/json, text/json

Sample:
{
  "IsSuccessful": true,
  "ErrorMessage": "sample string 2",
  "Items": null
}

application/xml, text/xml

Sample:
<GetTripDetailResp 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>
  <Items i:nil="true" />
</GetTripDetailResp>