GET api/ManifestLeg/AvailableTransportLegsForShipment/{auth}/{ShipmentGUID}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
auth

string

Required

ShipmentGUID

string

Required

Body Parameters

None.

Response Information

Resource Description

AvailableTransportLegsForShipmentResp
NameDescriptionTypeAdditional information
IsSuccessful

boolean

None.

ErrorMessage

string

None.

Legs

Collection of TransportLegSummaryItem

None.

Response Formats

application/json, text/json

Sample:
{
  "IsSuccessful": true,
  "ErrorMessage": "sample string 2",
  "Legs": [
    {
      "TransportLegID": 1,
      "TransportLegSummary": "sample string 2"
    },
    {
      "TransportLegID": 1,
      "TransportLegSummary": "sample string 2"
    }
  ]
}

application/xml, text/xml

Sample:
<AvailableTransportLegsForShipmentResp 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>
    <TransportLegSummaryItem>
      <TransportLegID>1</TransportLegID>
      <TransportLegSummary>sample string 2</TransportLegSummary>
    </TransportLegSummaryItem>
    <TransportLegSummaryItem>
      <TransportLegID>1</TransportLegID>
      <TransportLegSummary>sample string 2</TransportLegSummary>
    </TransportLegSummaryItem>
  </Legs>
</AvailableTransportLegsForShipmentResp>