Tools
Connect Enterprise exposes a collection of utility endpoints that support OTR and Drayage quoting and booking workflows. These endpoints provide reference data and calculation helpers that reduce integration complexity.
Most tools require no authentication. Endpoints marked AllowAnonymous or No authentication required can be called without a bearer token.
OTR Tools
Calculate Density and Freight Class
Endpoint: POST /v1/density
Calculates freight density and freight class from a single set of product dimensions. Use this to derive the freightClass and volume values for OTR quote requests.
Authentication: Not required
Request Body
| Field | Type | Description |
|---|---|---|
weight | number | Must be greater than zero |
length | number | Required with width and height when volume is zero or omitted |
width | number | |
height | number | |
uom | string | "US" (inches/pounds) or "METRIC" (cm/kg). Default: "US" |
- With Dimensions
- With Volume (no dimensions)
{
"weight": 1000,
"length": 48,
"width": 48,
"height": 48,
"uom": "US"
}
{
"volume": 4.63,
"weight": 1000,
"uom": "US"
}
Response
{
"data": {
"totalCube": 66.67,
"totalWeight": 1200,
"totalDensity": 18,
"freightClass": "85",
"cbm": 1.89
},
"errors": null
}
Field Mapping to OTR Quote
| Response Field | OTR Quote Field |
|---|---|
totalCube | items[].volume |
freightClass | items[].freightClass |
List OTR Accessorials
Endpoint: GET /v1/tools/otr/accessorials
Returns accessorial options for OTR quoting, optionally filtered by shipping mode. Use the response values directly in your quote request.
Authentication: Not required
Query Parameters
| Name | Required | Description |
|---|---|---|
mode | No | Filter by shipping mode (e.g., LTL) |
Response
[
{
"accessorialType": "Pickup",
"accessorial": "Liftgate",
"displayName": "Liftgate Pickup"
},
{
"accessorialType": "Delivery",
"accessorial": "Appointment",
"displayName": "Appointment Delivery"
}
]
How to Use the Response
| Response Field | Usage |
|---|---|
accessorialType | Send as accessorialType in the quote request |
accessorial | Send as accessorial in the quote request |
displayName | Informational only — do not send in the quote |
List OTR Package Types
Endpoint: GET /v1/tools/otr/packages
Returns all available package types with their numeric IDs. Use the id value as packageType in OTR quote and booking item objects.
Authentication: Not required
Response
[
{ "id": 100, "name": "Pallet" },
{ "id": 200, "name": "Box" },
{ "id": 300, "name": "Carton" }
]
Send the numeric id in the quote request:
"packageType": 100
List OTR Piece Types
Endpoint: GET /v1/tools/otr/piece-types
Returns all available piece types with their numeric IDs.
Authentication: Not required
Response
[
{ "id": 1, "name": "Carton" },
{ "id": 2, "name": "Drum" }
]
Drayage Tools
List Drayage Container Types
Endpoint: GET /v1/tools/drayage/container-types
Returns container equipment details for drayage quoting including available lengths and heights. Use the name field as containerType and the containerLength array values for valid length options.
Authentication: Not required
Response
{
"data": [
{
"equipmentNumber": 20,
"name": "20ft Standard",
"containerLength": [20],
"displayName": "20ft Standard Container",
"containerHeight": ["8.5"]
}
],
"errors": null
}
Selecting container length
The containerLength array shows all valid lengths for a given equipment type. You must use one of these values when building your drayage quote request.
List Drayage Markets
Endpoint: GET /v1/tools/drayage/markets
Returns all supported drayage markets (ports and rail ramps). Use the full market object in your drayage quote request.
Authentication: Not required
Response
{
"data": [
{
"name": "Baltimore, MD",
"city": "Baltimore",
"state": "MD",
"postalCode": "21224",
"country": "US"
}
],
"errors": null
}
List Drayage HS Codes
Endpoint: GET /v1/tools/drayage/hs
Returns Harmonized System (HS) commodity codes available for drayage bookings. Use the hsCode value as load.hsCode and description as load.commodity in the booking request.
Authentication: Not required
Response
{
"data": [
{
"id": 1,
"hsCode": 101,
"description": "Horses, asses, mules and hinnies; live"
}
],
"errors": null
}
Field Mapping to Drayage Booking
| Response Field | Booking Field |
|---|---|
hsCode | load.hsCode |
description | load.commodity |
List Drayage SSL Codes
Endpoint: GET /v1/tools/drayage/ssl
Returns Steamship Line (SSL) codes for drayage bookings. Use the code value as container.ssl in the booking request.
Authentication: Not required
Response
{
"data": [
{ "sslCodeId": 1, "code": "AMLS" },
{ "sslCodeId": 2, "code": "Alianca" },
{ "sslCodeId": 3, "code": "Alaska Marine Lines" }
],
"errors": null
}
List Drayage Terminals by Market Zip Code
Endpoint: GET /v1/tools/drayage/terminals
Returns drayage terminals for a given market zip code. Use the terminal details to populate the terminal object in a drayage booking request.
Authentication: Bearer token required
Query Parameters
| Name | Required | Description |
|---|---|---|
marketZipcode | Yes | Zip code of the drayage market |
Response
{
"data": [
{
"name": "Seagirt Marine Terminal",
"address1": "2600 BROENING HWY",
"address2": null,
"city": "BALTIMORE",
"state": "MD",
"zipCode": "21224",
"contactName": "Customer Service",
"contactPhone": "(410) 288-8602",
"contactEmail": "info@example.com",
"timeTo": "16:00:00",
"timeFrom": "08:00:00"
}
],
"errors": null
}
Field Mapping to Drayage Booking
| Response Field | Booking terminal Field |
|---|---|
name | name |
address1 | addressLine1 |
city | city |
state | state |
zipCode | zipCode |
| (hardcode) | country → "US" |
contactPhone | contactPhone |
contactName | contactName |
Next Steps
- OTR Quote → — Use density, accessorials, and package types
- Drayage Book → — Use terminals, HS codes, SSL codes, and container types