GET Service/TransitInfo?Orig={Orig}&Dest={Dest}&ShipDate={ShipDate}

Calculate transit time between two points

Request Information

URI Parameters

NameDescriptionTypeAdditional information
Orig

Origin zone id

string

Required

Dest

Destination zone id

string

Required

ShipDate

Ship date (optional; defaults to current date)

date

None.

Body Parameters

None.

Response Information

Resource Description

TransitInfo
NameDescriptionTypeAdditional information
OrigServicePoint

Origin service point

ServicePoint

None.

DestServicePoint

Destination service point

ServicePoint

None.

LinehaulTransitDays

Number of days for transit from origin terminal to destination terminal

integer

None.

WeekendDays

Number of weekend days in the transit period

integer

None.

HolidayDays

Number of holiday days in the transit period

integer

None.

RequestedShipDate

Requested ship date

date

None.

EarliestShipDate

Earliest possible ship date for the origin service point

date

None.

EarliestDeliveryDate

Earliest possible delivery date

date

None.

Message

Information that could affect transit times

string

None.

Response Formats

application/json, text/json

Sample:
{
  "OrigServicePoint": {
    "ZoneId": "sample string 1",
    "City": "sample string 2",
    "State": "sample string 3",
    "Zip": "sample string 4",
    "BaseZip": "sample string 5",
    "Country": "sample string 6",
    "Terminal": "sample string 7",
    "ServiceType": "sample string 8",
    "ServiceDays": "sample string 9",
    "CutoffTime": "sample string 10",
    "ServiceTime": "sample string 11",
    "HighCostCharge": 12.1
  },
  "DestServicePoint": {
    "ZoneId": "sample string 1",
    "City": "sample string 2",
    "State": "sample string 3",
    "Zip": "sample string 4",
    "BaseZip": "sample string 5",
    "Country": "sample string 6",
    "Terminal": "sample string 7",
    "ServiceType": "sample string 8",
    "ServiceDays": "sample string 9",
    "CutoffTime": "sample string 10",
    "ServiceTime": "sample string 11",
    "HighCostCharge": 12.1
  },
  "LinehaulTransitDays": 1,
  "WeekendDays": 2,
  "HolidayDays": 3,
  "RequestedShipDate": "2019-07-21T02:11:28.0676842-05:00",
  "EarliestShipDate": "2019-07-21T02:11:28.0676842-05:00",
  "EarliestDeliveryDate": "2019-07-21T02:11:28.0676842-05:00",
  "Message": "sample string 7"
}

application/xml, text/xml

Sample:
<TransitInfo xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
  <OrigServicePoint>
    <ZoneId>sample string 1</ZoneId>
    <City>sample string 2</City>
    <State>sample string 3</State>
    <Zip>sample string 4</Zip>
    <BaseZip>sample string 5</BaseZip>
    <Country>sample string 6</Country>
    <Terminal>sample string 7</Terminal>
    <ServiceType>sample string 8</ServiceType>
    <ServiceDays>sample string 9</ServiceDays>
    <CutoffTime>sample string 10</CutoffTime>
    <ServiceTime>sample string 11</ServiceTime>
    <HighCostCharge>12.1</HighCostCharge>
  </OrigServicePoint>
  <DestServicePoint>
    <ZoneId>sample string 1</ZoneId>
    <City>sample string 2</City>
    <State>sample string 3</State>
    <Zip>sample string 4</Zip>
    <BaseZip>sample string 5</BaseZip>
    <Country>sample string 6</Country>
    <Terminal>sample string 7</Terminal>
    <ServiceType>sample string 8</ServiceType>
    <ServiceDays>sample string 9</ServiceDays>
    <CutoffTime>sample string 10</CutoffTime>
    <ServiceTime>sample string 11</ServiceTime>
    <HighCostCharge>12.1</HighCostCharge>
  </DestServicePoint>
  <LinehaulTransitDays>1</LinehaulTransitDays>
  <WeekendDays>2</WeekendDays>
  <HolidayDays>3</HolidayDays>
  <RequestedShipDate>2019-07-21T02:11:28.0676842-05:00</RequestedShipDate>
  <EarliestShipDate>2019-07-21T02:11:28.0676842-05:00</EarliestShipDate>
  <EarliestDeliveryDate>2019-07-21T02:11:28.0676842-05:00</EarliestDeliveryDate>
  <Message>sample string 7</Message>
</TransitInfo>