DM LTL Rating Service -- API Documentation

Shipment Booking

These endpoints convert rate quotes into booked shipments, generate BOL documents, and send EDI 204 notifications.


BookShipment

MethodPOST
Routesapi/rating/BookShipment/{authCode}
api/rating/BookShipment
AuthwebAuthCode, dmAuthCode, or client auth
BodyInternalRateQuote (JSON)
ReturnsInternalRateQuote (with DMLoadNumber populated)

Books a shipment from a previously saved or constructed quote. The Source field defaults to "API" if not provided. Logs the request to the Nebula log folder.

BookShipmentBase

MethodPOST
Routesapi/rating/BookShipmentBase/{authCode}
api/rating/BookShipmentBase
AuthwebAuthCode, dmAuthCode, or client auth (resolved to branch)
BodyInternalRateQuote (JSON)
ReturnsInternalRateQuote

Base booking endpoint. For client auth codes, the service resolves the branch GUID and carrier GUID from the auth code and carrier reference. If the carrier cannot be identified, defaults to "DMRG" (DM Transportation).

Special handling: The Army & Air Force Exchange Service (AAFES) account uses BookShipmentMultiCarrier and forces the carrier to DM Transportation regardless of the original carrier selection.

BookShipment_V3

MethodPOST
Routesapi/rating/BookShipment_V3/{authCode}
api/rating/BookShipment_V3
AuthwebAuthCode, dmAuthCode, or client auth
BodyInternalBookShipmentV3 (JSON)
ReturnsInternalBookShipmentV3 (with DMLoadNumber and Status)

Extended booking endpoint with full shipper/consignee address details, reference numbers, dates, and special handling flags. This is the most complete booking interface.

Key Request Fields

FieldDescription
ShipperName/Address/City/State/ZipShipper address block
ConsigneeName/Address/City/State/ZipConsignee address block
LineItemsArray of BookLineItems (class, weight, dimensions, description)
BillofLading / HAWB / PONumberReference numbers (optional)
RequiredDelivery / ExpectedPickupDate strings for scheduling
ServiceLevelMaps to service type via LTLRatingSupportV2
Expedited / PickandRun"0" or "1" -- triggers dispatch notification
Frozen / Refrigerated"0" or "1" -- sets equipment type to Reefer
ProtectFromFreezing"0" or "1" -- adds accessorial

Response Status Values

StatusMeaning
SuccessShipment booked, DMLoadNumber assigned
Failed: Unable to assign client reference.Branch GUID could not be resolved from the access code
Failed:On Credit Hold.Client branch is on credit hold
Failed: Unauthorized Access.Client auth code is invalid
Failed: Uable to schedule shipments to HI, AK or PR.State restriction (Hawaii, Alaska, Puerto Rico)
FailureGeneral booking failure
Dispatch notifications: When PickandRun or Expedited is set, the service sends an email notification to Dispatch@dmtrans.com and creates a group notification record.

RequestBOL

MethodPOST
Routeapi/rating/requestBOL/{authCode}
AuthwebAuthCode, dmAuthCode, or client auth
BodyInternalRateQuote (JSON)
Returnsbool -- true if BOL was generated and sent

Generates and sends a Bill of Lading (BOL) report for a booked shipment.

Send204

MethodPOST
Routeapi/rating/send204/{DMLoadNumber}/{SendToCode}/{authCode}
AuthwebAuthCode, dmAuthCode, or client auth
Returnsbool -- true if EDI 204 was sent

Sends an EDI 204 (Motor Carrier Load Tender) for a booked shipment. The DMLoadNumber identifies the shipment and SendToCode specifies the EDI destination.

Related Pages