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 9",
    "ServiceDays": "sample string 10",
    "CutoffTime": "sample string 11",
    "ServiceTime": "sample string 12",
    "HighCostCharge": 14.1,
    "HighCostMinimum": 15.1,
    "HighCostPerLb": 16.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 9",
    "ServiceDays": "sample string 10",
    "CutoffTime": "sample string 11",
    "ServiceTime": "sample string 12",
    "HighCostCharge": 14.1,
    "HighCostMinimum": 15.1,
    "HighCostPerLb": 16.1
  },
  "LinehaulTransitDays": 1,
  "WeekendDays": 2,
  "HolidayDays": 3,
  "RequestedShipDate": "2024-10-13T06:03:13.0673739-05:00",
  "EarliestShipDate": "2024-10-13T06:03:13.0673739-05:00",
  "EarliestDeliveryDate": "2024-10-13T06:03:13.0673739-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 9</ServiceType>
    <ServiceDays>sample string 10</ServiceDays>
    <CutoffTime>sample string 11</CutoffTime>
    <ServiceTime>sample string 12</ServiceTime>
    <HighCostCharge>14.1</HighCostCharge>
    <HighCostMinimum>15.1</HighCostMinimum>
    <HighCostPerLb>16.1</HighCostPerLb>
  </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 9</ServiceType>
    <ServiceDays>sample string 10</ServiceDays>
    <CutoffTime>sample string 11</CutoffTime>
    <ServiceTime>sample string 12</ServiceTime>
    <HighCostCharge>14.1</HighCostCharge>
    <HighCostMinimum>15.1</HighCostMinimum>
    <HighCostPerLb>16.1</HighCostPerLb>
  </DestServicePoint>
  <LinehaulTransitDays>1</LinehaulTransitDays>
  <WeekendDays>2</WeekendDays>
  <HolidayDays>3</HolidayDays>
  <RequestedShipDate>2024-10-13T06:03:13.0673739-05:00</RequestedShipDate>
  <EarliestShipDate>2024-10-13T06:03:13.0673739-05:00</EarliestShipDate>
  <EarliestDeliveryDate>2024-10-13T06:03:13.0673739-05:00</EarliestDeliveryDate>
  <Message>sample string 7</Message>
</TransitInfo>