DM LTL Rating Service -- API Documentation

Quote Management

These endpoints manage rate quotes -- saving, validating, retrieving, and checking pending quotes.


SaveQuote

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

Persists a rate quote to the database. The quote is assigned a quote number and can be retrieved later for booking or validation. The Source field is automatically set to "API" if not provided.

Key Fields in InternalRateQuote

FieldTypeDescription
BranchGUIDGuidClient branch identifier
CarrierGUIDGuidSelected carrier
ClientInvoicedecimalClient-facing invoice amount
CarrierNetdecimalCarrier net cost
TransitDaysintEstimated transit time
TotalWeightintTotal shipment weight
RateRequestInternalRateThe original rate request with rate details
QuoteNumberlongAssigned after save (output)
SourcestringOrigin of the quote (defaults to "API")

ValidateQuote

MethodPOST
Routeapi/rating/ValidateQuote/{quoteGUID}/{authCode}
AuthwebAuthCode, dmAuthCode, or client auth
ReturnsInternalRateQuote

Validates an existing quote. If the original rate is no longer valid, the shipment is re-rated as an audit (isAudit=true) and the updated quote is returned.

PendingQuote

MethodGET
Routeapi/rating/PendingQuote/{quoteGUID}/{authCode}
AuthwebAuthCode or dmAuthCode only
ReturnsInternalRateQuote

Retrieves a pending quote. If the original quote is no longer valid, returns all available rates (isAudit=false) rather than re-rating as an audit.

Quote (Retrieve by GUID)

MethodGET
Routeapi/rating/Quote/{quoteGUID}/{authCode}
AuthwebAuthCode or dmAuthCode only
ReturnsInternalRateQuote

Retrieves a saved quote by its GUID without any re-rating or validation.

RetrieveQuote (by Quote Number)

MethodGET
Routeapi/rating/retrieveQuote/{quoteNumber}/{authCode}
AuthwebAuthCode, dmAuthCode, or client auth
ReturnsInternalRateQuote

Retrieves a saved quote by its numeric quote number (assigned during SaveQuote).

Related Pages