GET api/TransportLeg/{auth}/{TransportLegID}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
auth | string |
Required |
|
TransportLegID | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
TransportLegRespName | Description | Type | Additional information |
---|---|---|---|
IsSuccessful | boolean |
None. |
|
ErrorMessage | string |
None. |
|
Legs | Collection of TransportLegItem |
None. |
Response Formats
application/json, text/json
Sample:
{ "IsSuccessful": true, "ErrorMessage": "sample string 2", "Legs": [ { "TransportLegID": 1, "CarrierID": 2, "CarrierKey": "sample string 3", "CarrierName": "sample string 4", "RouteNumber": "sample string 5", "DepartHubID": "sample string 6", "ScheduledDepartDateTime": "2024-12-28T09:27:53.3279128+00:00", "UpdatedDepartDateTime": "2024-12-28T09:27:53.3279128+00:00", "ActualDepartDateTime": "2024-12-28T09:27:53.3279128+00:00", "ArriveHubID": "sample string 7", "ScheduledArriveDateTime": "2024-12-28T09:27:53.3279128+00:00", "UpdatedArriveDateTime": "2024-12-28T09:27:53.3279128+00:00", "ActualArriveDateTime": "2024-12-28T09:27:53.3279128+00:00", "Status": "sample string 8", "IsProblem": true, "ProblemDescription": "sample string 10", "InsertUserID": 11, "InsertDateTime": "2024-12-28T09:27:53.3279128+00:00", "InactiveDateTime": "2024-12-28T09:27:53.3279128+00:00", "AutoTrack": true }, { "TransportLegID": 1, "CarrierID": 2, "CarrierKey": "sample string 3", "CarrierName": "sample string 4", "RouteNumber": "sample string 5", "DepartHubID": "sample string 6", "ScheduledDepartDateTime": "2024-12-28T09:27:53.3279128+00:00", "UpdatedDepartDateTime": "2024-12-28T09:27:53.3279128+00:00", "ActualDepartDateTime": "2024-12-28T09:27:53.3279128+00:00", "ArriveHubID": "sample string 7", "ScheduledArriveDateTime": "2024-12-28T09:27:53.3279128+00:00", "UpdatedArriveDateTime": "2024-12-28T09:27:53.3279128+00:00", "ActualArriveDateTime": "2024-12-28T09:27:53.3279128+00:00", "Status": "sample string 8", "IsProblem": true, "ProblemDescription": "sample string 10", "InsertUserID": 11, "InsertDateTime": "2024-12-28T09:27:53.3279128+00:00", "InactiveDateTime": "2024-12-28T09:27:53.3279128+00:00", "AutoTrack": true } ] }
application/xml, text/xml
Sample:
<TransportLegResp xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ParcelLogic.WebApi.Transportation.Models"> <ErrorMessage>sample string 2</ErrorMessage> <IsSuccessful>true</IsSuccessful> <Legs> <TransportLegItem> <ActualArriveDateTime>2024-12-28T09:27:53.3279128+00:00</ActualArriveDateTime> <ActualDepartDateTime>2024-12-28T09:27:53.3279128+00:00</ActualDepartDateTime> <ArriveHubID>sample string 7</ArriveHubID> <AutoTrack>true</AutoTrack> <CarrierID>2</CarrierID> <CarrierKey>sample string 3</CarrierKey> <CarrierName>sample string 4</CarrierName> <DepartHubID>sample string 6</DepartHubID> <InactiveDateTime>2024-12-28T09:27:53.3279128+00:00</InactiveDateTime> <InsertDateTime>2024-12-28T09:27:53.3279128+00:00</InsertDateTime> <InsertUserID>11</InsertUserID> <IsProblem>true</IsProblem> <ProblemDescription>sample string 10</ProblemDescription> <RouteNumber>sample string 5</RouteNumber> <ScheduledArriveDateTime>2024-12-28T09:27:53.3279128+00:00</ScheduledArriveDateTime> <ScheduledDepartDateTime>2024-12-28T09:27:53.3279128+00:00</ScheduledDepartDateTime> <Status>sample string 8</Status> <TransportLegID>1</TransportLegID> <UpdatedArriveDateTime>2024-12-28T09:27:53.3279128+00:00</UpdatedArriveDateTime> <UpdatedDepartDateTime>2024-12-28T09:27:53.3279128+00:00</UpdatedDepartDateTime> </TransportLegItem> <TransportLegItem> <ActualArriveDateTime>2024-12-28T09:27:53.3279128+00:00</ActualArriveDateTime> <ActualDepartDateTime>2024-12-28T09:27:53.3279128+00:00</ActualDepartDateTime> <ArriveHubID>sample string 7</ArriveHubID> <AutoTrack>true</AutoTrack> <CarrierID>2</CarrierID> <CarrierKey>sample string 3</CarrierKey> <CarrierName>sample string 4</CarrierName> <DepartHubID>sample string 6</DepartHubID> <InactiveDateTime>2024-12-28T09:27:53.3279128+00:00</InactiveDateTime> <InsertDateTime>2024-12-28T09:27:53.3279128+00:00</InsertDateTime> <InsertUserID>11</InsertUserID> <IsProblem>true</IsProblem> <ProblemDescription>sample string 10</ProblemDescription> <RouteNumber>sample string 5</RouteNumber> <ScheduledArriveDateTime>2024-12-28T09:27:53.3279128+00:00</ScheduledArriveDateTime> <ScheduledDepartDateTime>2024-12-28T09:27:53.3279128+00:00</ScheduledDepartDateTime> <Status>sample string 8</Status> <TransportLegID>1</TransportLegID> <UpdatedArriveDateTime>2024-12-28T09:27:53.3279128+00:00</UpdatedArriveDateTime> <UpdatedDepartDateTime>2024-12-28T09:27:53.3279128+00:00</UpdatedDepartDateTime> </TransportLegItem> </Legs> </TransportLegResp>