Operation Page Breadcrumb

Developer APIs RateIt API

RateIt API

Calculate Rates

Calculate rates as per the contractual agreement

Try it

Request

Request URL

Request headers

  • (optional)
    string
    Media type of the body sent to the API.
  • string
    Subscription key which provides access to this API. Found in your Profile.
  • string
    OAuth 2.0 access token obtained from JB Hunt OAuth 2.0 Provider. Supported grant types: Authorization code.

Request body

{
  "origin": {
    "streetAddress": "615 J B Hunt Corporate Dr",
    "adminArea1": "AR",
    "locality": "Lowell",
    "postalCode": "72745",
    "countryCode": "USA"
  },
  "destination": {
    "streetAddress": "615 J B Hunt Corporate Dr",
    "adminArea1": "AR",
    "locality": "Lowell",
    "postalCode": "72745",
    "countryCode": "USA"
  },
  "pickupDate": "2019-11-01T00:00:00Z",
  "shipmentType": "FTL"
}
{
  "anyOf": [
    {
      "title": "FTL Rate Request",
      "allOf": [
        {
          "title": "Rate Request",
          "required": [
            "origin",
            "destination",
            "pickupDate",
            "shipmentType"
          ],
          "type": "object",
          "properties": {
            "origin": {
              "title": "Postal Address",
              "required": [
                "adminArea1",
                "locality",
                "postalCode",
                "countryCode"
              ],
              "type": "object",
              "properties": {
                "streetAddress": {
                  "type": "string",
                  "description": "address (eg. number, street, etc.).",
                  "example": "615 J B Hunt Corporate Dr"
                },
                "adminArea1": {
                  "type": "string",
                  "description": "Province, state, or [ISO-3166-2](https://en.wikipedia.org/wiki/ISO_3166-2) subdivision.",
                  "example": "AR"
                },
                "adminArea2": {
                  "type": "string",
                  "description": "Subdivision smaller than `adminArea1`. In the United States, this refers to county.",
                  "example": "Benton"
                },
                "locality": {
                  "type": "string",
                  "description": "City or town.",
                  "example": "Lowell"
                },
                "neighborhood": {
                  "type": "string",
                  "description": "neighborhood"
                },
                "postalCode": {
                  "type": "string",
                  "description": "ZIP, postcode, or postal code.",
                  "example": "72745"
                },
                "countryCode": {
                  "maxLength": 3,
                  "minLength": 3,
                  "pattern": "^[A-Z]{3}$",
                  "type": "string",
                  "description": "[ISO 3166-1 alpha-3](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-3) country code.",
                  "example": "USA"
                }
              },
              "description": "Postal Address"
            },
            "destination": {
              "title": "Postal Address",
              "required": [
                "adminArea1",
                "locality",
                "postalCode",
                "countryCode"
              ],
              "type": "object",
              "properties": {
                "streetAddress": {
                  "type": "string",
                  "description": "address (eg. number, street, etc.).",
                  "example": "615 J B Hunt Corporate Dr"
                },
                "adminArea1": {
                  "type": "string",
                  "description": "Province, state, or [ISO-3166-2](https://en.wikipedia.org/wiki/ISO_3166-2) subdivision.",
                  "example": "AR"
                },
                "adminArea2": {
                  "type": "string",
                  "description": "Subdivision smaller than `adminArea1`. In the United States, this refers to county.",
                  "example": "Benton"
                },
                "locality": {
                  "type": "string",
                  "description": "City or town.",
                  "example": "Lowell"
                },
                "neighborhood": {
                  "type": "string",
                  "description": "neighborhood"
                },
                "postalCode": {
                  "type": "string",
                  "description": "ZIP, postcode, or postal code.",
                  "example": "72745"
                },
                "countryCode": {
                  "maxLength": 3,
                  "minLength": 3,
                  "pattern": "^[A-Z]{3}$",
                  "type": "string",
                  "description": "[ISO 3166-1 alpha-3](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-3) country code.",
                  "example": "USA"
                }
              },
              "description": "Postal Address"
            },
            "pickupDate": {
              "title": "Full Date",
              "type": "string",
              "description": "As defined by `full-date` in [Section 5.6 of RFC 3339](https://tools.ietf.org/html/rfc3339#section-5.6)",
              "format": "date"
            },
            "intermediateStops": {
              "title": "Intermediate Stops",
              "type": "array",
              "items": {
                "title": "Stop",
                "required": [
                  "sequenceNumber",
                  "stopReason",
                  "location"
                ],
                "type": "object",
                "properties": {
                  "sequenceNumber": {
                    "type": "integer",
                    "description": "The stop number",
                    "format": "int32",
                    "example": 2
                  },
                  "stopReason": {
                    "enum": [
                      "Pickup",
                      "Delivery"
                    ],
                    "type": "string",
                    "description": "Whether the stop is a pickup or a drop",
                    "example": "Pickup"
                  },
                  "location": {
                    "title": "Postal Address",
                    "required": [
                      "adminArea1",
                      "locality",
                      "postalCode",
                      "countryCode"
                    ],
                    "type": "object",
                    "properties": {
                      "streetAddress": {
                        "type": "string",
                        "description": "address (eg. number, street, etc.).",
                        "example": "615 J B Hunt Corporate Dr"
                      },
                      "adminArea1": {
                        "type": "string",
                        "description": "Province, state, or [ISO-3166-2](https://en.wikipedia.org/wiki/ISO_3166-2) subdivision.",
                        "example": "AR"
                      },
                      "adminArea2": {
                        "type": "string",
                        "description": "Subdivision smaller than `adminArea1`. In the United States, this refers to county.",
                        "example": "Benton"
                      },
                      "locality": {
                        "type": "string",
                        "description": "City or town.",
                        "example": "Lowell"
                      },
                      "neighborhood": {
                        "type": "string",
                        "description": "neighborhood"
                      },
                      "postalCode": {
                        "type": "string",
                        "description": "ZIP, postcode, or postal code.",
                        "example": "72745"
                      },
                      "countryCode": {
                        "maxLength": 3,
                        "minLength": 3,
                        "pattern": "^[A-Z]{3}$",
                        "type": "string",
                        "description": "[ISO 3166-1 alpha-3](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-3) country code.",
                        "example": "USA"
                      }
                    },
                    "description": "Postal Address"
                  }
                },
                "description": "Stop details"
              },
              "description": "Stops that will be performed between the origin and destination"
            },
            "shipmentType": {
              "type": "string",
              "description": "Shipment Type. Full Truck Load (FTL) or Less-Than Truck Load (LTL) or Both FTL & LTL (All). Allowed values - FTL , LTL , All",
              "example": "FTL"
            },
            "options": {
              "title": "Rate Request Options",
              "type": "object",
              "properties": {
                "weight": {
                  "title": "Weight",
                  "allOf": [
                    {
                      "title": "Quantitative Value",
                      "type": "object",
                      "properties": {
                        "unitText": {
                          "type": "string",
                          "description": "Indicates the unit of measurement"
                        },
                        "value": {
                          "description": "The value of the measurement"
                        }
                      },
                      "description": "A point value or interval for product characteristics and other purposes."
                    },
                    {
                      "required": [
                        "unitText",
                        "value"
                      ],
                      "properties": {
                        "unitText": {
                          "enum": [
                            "Pounds",
                            "Kilograms"
                          ]
                        },
                        "value": {
                          "title": "Double",
                          "type": "number",
                          "format": "double"
                        }
                      }
                    }
                  ],
                  "description": "Physical weight of a product or shipment",
                  "example": {
                    "unitText": "Pounds",
                    "value": 100
                  }
                },
                "containsHazardousMaterial": {
                  "type": "boolean",
                  "description": "Option if the shipment contains hazardous materials",
                  "example": false
                },
                "requestFuel": {
                  "type": "boolean",
                  "description": "Request fuel charges",
                  "example": true
                },
                "equipmentType": {
                  "title": "Equipment Type",
                  "type": "string",
                  "description": "Type of Equipment. Allowed values - Container, Dry Van, Reefer, Flatbed, 20TLR, 40TLR, 45TLR'",
                  "example": "Flatbed"
                },
                "transportationMode": {
                  "title": "Transportation Mode",
                  "enum": [
                    "Truck",
                    "Rail"
                  ],
                  "type": "string",
                  "description": "Transportation Mode (allowed values - Truck , Rail)",
                  "example": "Truck"
                },
                "lowestRate": {
                  "type": "boolean",
                  "description": "Indicates whether to retrieve only the lowest rate (`true`) or all available rates (`false`).\n"
                },
                "customerCode": {
                  "title": "Customer Code",
                  "type": "string",
                  "description": "J.B. Hunt-provided customer code",
                  "example": "XYZ"
                },
                "accessorials": {
                  "title": "Accessorials Request Requirements",
                  "type": "array",
                  "items": {
                    "title": "Request Accessorial",
                    "required": [
                      "chargeCode"
                    ],
                    "type": "object",
                    "properties": {
                      "chargeCode": {
                        "type": "string",
                        "description": "Accessorial charge code. Allowed values - CLEANTRK, DETENTION, DETENTIONP, DRVRLOAD, DRVRUNLD, EEIFILEFEE, INBOND, LUMPLOAD, LUMPUNLD, PALLETEXCH, SCALE CHRG, SDP, TARP4FT, TARP6FT, TARP8FT",
                        "example": "LUMPLOAD"
                      },
                      "stopSequenceNumber": {
                        "type": "integer",
                        "description": "The stop number",
                        "format": "int32",
                        "example": 2
                      },
                      "quantity": {
                        "title": "Accessorial Quantitative Value",
                        "allOf": [
                          {
                            "title": "Quantitative Value",
                            "type": "object",
                            "properties": {
                              "unitText": {
                                "type": "string",
                                "description": "Indicates the unit of measurement"
                              },
                              "value": {
                                "description": "The value of the measurement"
                              }
                            },
                            "description": "A point value or interval for product characteristics and other purposes."
                          },
                          {
                            "required": [
                              "unitText",
                              "value"
                            ],
                            "properties": {
                              "unitText": {
                                "description": "Unit of measure. Allowed values - Pounds, Kilograms, Flat, Days, Hours, Minutes, Pieces, Miles, Kilometers, Percent"
                              },
                              "value": {
                                "title": "Double",
                                "type": "number",
                                "format": "double"
                              }
                            }
                          }
                        ],
                        "description": "Quantitative value for an accessorial charge"
                      }
                    },
                    "description": "Accessorials charges requested to be included in rates response"
                  },
                  "description": "Options for requesting accessorials charges to be included in the rate response."
                }
              },
              "description": "More options in requesting rates"
            }
          },
          "description": "Data provided for a rate to be calculated as per the contractual agreement",
          "example": {
            "origin": {
              "streetAddress": "615 J B Hunt Corporate Dr",
              "adminArea1": "AR",
              "locality": "Lowell",
              "postalCode": "72745",
              "countryCode": "USA"
            },
            "destination": {
              "streetAddress": "615 J B Hunt Corporate Dr",
              "adminArea1": "AR",
              "locality": "Lowell",
              "postalCode": "72745",
              "countryCode": "USA"
            },
            "pickupDate": "2019-11-01T00:00:00Z",
            "shipmentType": "FTL"
          }
        }
      ],
      "description": "Contains data for Full truck load (FTL) rates request as per the contractual agreement",
      "example": {
        "origin": {
          "streetAddress": "615 J B Hunt Corporate Dr",
          "adminArea1": "AR",
          "locality": "Lowell",
          "postalCode": "72745",
          "countryCode": "USA"
        },
        "destination": {
          "streetAddress": "615 J B Hunt Corporate Dr",
          "adminArea1": "AR",
          "locality": "Lowell",
          "postalCode": "72745",
          "countryCode": "USA"
        },
        "pickupDate": "2019-11-01T00:00:00Z",
        "shipmentType": "FTL"
      }
    },
    {
      "title": "LTL Rate Request",
      "allOf": [
        {
          "title": "Rate Request",
          "required": [
            "origin",
            "destination",
            "pickupDate",
            "shipmentType"
          ],
          "type": "object",
          "properties": {
            "origin": {
              "title": "Postal Address",
              "required": [
                "adminArea1",
                "locality",
                "postalCode",
                "countryCode"
              ],
              "type": "object",
              "properties": {
                "streetAddress": {
                  "type": "string",
                  "description": "address (eg. number, street, etc.).",
                  "example": "615 J B Hunt Corporate Dr"
                },
                "adminArea1": {
                  "type": "string",
                  "description": "Province, state, or [ISO-3166-2](https://en.wikipedia.org/wiki/ISO_3166-2) subdivision.",
                  "example": "AR"
                },
                "adminArea2": {
                  "type": "string",
                  "description": "Subdivision smaller than `adminArea1`. In the United States, this refers to county.",
                  "example": "Benton"
                },
                "locality": {
                  "type": "string",
                  "description": "City or town.",
                  "example": "Lowell"
                },
                "neighborhood": {
                  "type": "string",
                  "description": "neighborhood"
                },
                "postalCode": {
                  "type": "string",
                  "description": "ZIP, postcode, or postal code.",
                  "example": "72745"
                },
                "countryCode": {
                  "maxLength": 3,
                  "minLength": 3,
                  "pattern": "^[A-Z]{3}$",
                  "type": "string",
                  "description": "[ISO 3166-1 alpha-3](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-3) country code.",
                  "example": "USA"
                }
              },
              "description": "Postal Address"
            },
            "destination": {
              "title": "Postal Address",
              "required": [
                "adminArea1",
                "locality",
                "postalCode",
                "countryCode"
              ],
              "type": "object",
              "properties": {
                "streetAddress": {
                  "type": "string",
                  "description": "address (eg. number, street, etc.).",
                  "example": "615 J B Hunt Corporate Dr"
                },
                "adminArea1": {
                  "type": "string",
                  "description": "Province, state, or [ISO-3166-2](https://en.wikipedia.org/wiki/ISO_3166-2) subdivision.",
                  "example": "AR"
                },
                "adminArea2": {
                  "type": "string",
                  "description": "Subdivision smaller than `adminArea1`. In the United States, this refers to county.",
                  "example": "Benton"
                },
                "locality": {
                  "type": "string",
                  "description": "City or town.",
                  "example": "Lowell"
                },
                "neighborhood": {
                  "type": "string",
                  "description": "neighborhood"
                },
                "postalCode": {
                  "type": "string",
                  "description": "ZIP, postcode, or postal code.",
                  "example": "72745"
                },
                "countryCode": {
                  "maxLength": 3,
                  "minLength": 3,
                  "pattern": "^[A-Z]{3}$",
                  "type": "string",
                  "description": "[ISO 3166-1 alpha-3](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-3) country code.",
                  "example": "USA"
                }
              },
              "description": "Postal Address"
            },
            "pickupDate": {
              "title": "Full Date",
              "type": "string",
              "description": "As defined by `full-date` in [Section 5.6 of RFC 3339](https://tools.ietf.org/html/rfc3339#section-5.6)",
              "format": "date"
            },
            "intermediateStops": {
              "title": "Intermediate Stops",
              "type": "array",
              "items": {
                "title": "Stop",
                "required": [
                  "sequenceNumber",
                  "stopReason",
                  "location"
                ],
                "type": "object",
                "properties": {
                  "sequenceNumber": {
                    "type": "integer",
                    "description": "The stop number",
                    "format": "int32",
                    "example": 2
                  },
                  "stopReason": {
                    "enum": [
                      "Pickup",
                      "Delivery"
                    ],
                    "type": "string",
                    "description": "Whether the stop is a pickup or a drop",
                    "example": "Pickup"
                  },
                  "location": {
                    "title": "Postal Address",
                    "required": [
                      "adminArea1",
                      "locality",
                      "postalCode",
                      "countryCode"
                    ],
                    "type": "object",
                    "properties": {
                      "streetAddress": {
                        "type": "string",
                        "description": "address (eg. number, street, etc.).",
                        "example": "615 J B Hunt Corporate Dr"
                      },
                      "adminArea1": {
                        "type": "string",
                        "description": "Province, state, or [ISO-3166-2](https://en.wikipedia.org/wiki/ISO_3166-2) subdivision.",
                        "example": "AR"
                      },
                      "adminArea2": {
                        "type": "string",
                        "description": "Subdivision smaller than `adminArea1`. In the United States, this refers to county.",
                        "example": "Benton"
                      },
                      "locality": {
                        "type": "string",
                        "description": "City or town.",
                        "example": "Lowell"
                      },
                      "neighborhood": {
                        "type": "string",
                        "description": "neighborhood"
                      },
                      "postalCode": {
                        "type": "string",
                        "description": "ZIP, postcode, or postal code.",
                        "example": "72745"
                      },
                      "countryCode": {
                        "maxLength": 3,
                        "minLength": 3,
                        "pattern": "^[A-Z]{3}$",
                        "type": "string",
                        "description": "[ISO 3166-1 alpha-3](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-3) country code.",
                        "example": "USA"
                      }
                    },
                    "description": "Postal Address"
                  }
                },
                "description": "Stop details"
              },
              "description": "Stops that will be performed between the origin and destination"
            },
            "shipmentType": {
              "type": "string",
              "description": "Shipment Type. Full Truck Load (FTL) or Less-Than Truck Load (LTL) or Both FTL & LTL (All). Allowed values - FTL , LTL , All",
              "example": "FTL"
            },
            "options": {
              "title": "Rate Request Options",
              "type": "object",
              "properties": {
                "weight": {
                  "title": "Weight",
                  "allOf": [
                    {
                      "title": "Quantitative Value",
                      "type": "object",
                      "properties": {
                        "unitText": {
                          "type": "string",
                          "description": "Indicates the unit of measurement"
                        },
                        "value": {
                          "description": "The value of the measurement"
                        }
                      },
                      "description": "A point value or interval for product characteristics and other purposes."
                    },
                    {
                      "required": [
                        "unitText",
                        "value"
                      ],
                      "properties": {
                        "unitText": {
                          "enum": [
                            "Pounds",
                            "Kilograms"
                          ]
                        },
                        "value": {
                          "title": "Double",
                          "type": "number",
                          "format": "double"
                        }
                      }
                    }
                  ],
                  "description": "Physical weight of a product or shipment",
                  "example": {
                    "unitText": "Pounds",
                    "value": 100
                  }
                },
                "containsHazardousMaterial": {
                  "type": "boolean",
                  "description": "Option if the shipment contains hazardous materials",
                  "example": false
                },
                "requestFuel": {
                  "type": "boolean",
                  "description": "Request fuel charges",
                  "example": true
                },
                "equipmentType": {
                  "title": "Equipment Type",
                  "type": "string",
                  "description": "Type of Equipment. Allowed values - Container, Dry Van, Reefer, Flatbed, 20TLR, 40TLR, 45TLR'",
                  "example": "Flatbed"
                },
                "transportationMode": {
                  "title": "Transportation Mode",
                  "enum": [
                    "Truck",
                    "Rail"
                  ],
                  "type": "string",
                  "description": "Transportation Mode (allowed values - Truck , Rail)",
                  "example": "Truck"
                },
                "lowestRate": {
                  "type": "boolean",
                  "description": "Indicates whether to retrieve only the lowest rate (`true`) or all available rates (`false`).\n"
                },
                "customerCode": {
                  "title": "Customer Code",
                  "type": "string",
                  "description": "J.B. Hunt-provided customer code",
                  "example": "XYZ"
                },
                "accessorials": {
                  "title": "Accessorials Request Requirements",
                  "type": "array",
                  "items": {
                    "title": "Request Accessorial",
                    "required": [
                      "chargeCode"
                    ],
                    "type": "object",
                    "properties": {
                      "chargeCode": {
                        "type": "string",
                        "description": "Accessorial charge code. Allowed values - CLEANTRK, DETENTION, DETENTIONP, DRVRLOAD, DRVRUNLD, EEIFILEFEE, INBOND, LUMPLOAD, LUMPUNLD, PALLETEXCH, SCALE CHRG, SDP, TARP4FT, TARP6FT, TARP8FT",
                        "example": "LUMPLOAD"
                      },
                      "stopSequenceNumber": {
                        "type": "integer",
                        "description": "The stop number",
                        "format": "int32",
                        "example": 2
                      },
                      "quantity": {
                        "title": "Accessorial Quantitative Value",
                        "allOf": [
                          {
                            "title": "Quantitative Value",
                            "type": "object",
                            "properties": {
                              "unitText": {
                                "type": "string",
                                "description": "Indicates the unit of measurement"
                              },
                              "value": {
                                "description": "The value of the measurement"
                              }
                            },
                            "description": "A point value or interval for product characteristics and other purposes."
                          },
                          {
                            "required": [
                              "unitText",
                              "value"
                            ],
                            "properties": {
                              "unitText": {
                                "description": "Unit of measure. Allowed values - Pounds, Kilograms, Flat, Days, Hours, Minutes, Pieces, Miles, Kilometers, Percent"
                              },
                              "value": {
                                "title": "Double",
                                "type": "number",
                                "format": "double"
                              }
                            }
                          }
                        ],
                        "description": "Quantitative value for an accessorial charge"
                      }
                    },
                    "description": "Accessorials charges requested to be included in rates response"
                  },
                  "description": "Options for requesting accessorials charges to be included in the rate response."
                }
              },
              "description": "More options in requesting rates"
            }
          },
          "description": "Data provided for a rate to be calculated as per the contractual agreement",
          "example": {
            "origin": {
              "streetAddress": "615 J B Hunt Corporate Dr",
              "adminArea1": "AR",
              "locality": "Lowell",
              "postalCode": "72745",
              "countryCode": "USA"
            },
            "destination": {
              "streetAddress": "615 J B Hunt Corporate Dr",
              "adminArea1": "AR",
              "locality": "Lowell",
              "postalCode": "72745",
              "countryCode": "USA"
            },
            "pickupDate": "2019-11-01T00:00:00Z",
            "shipmentType": "FTL"
          }
        },
        {
          "required": [
            "products"
          ],
          "properties": {
            "carriers": {
              "title": "Standard Carrier Alpha Codes",
              "type": "array",
              "items": {
                "title": "Standard Carrier Alpha Code",
                "pattern": "^[A-Z]{2,4}$",
                "type": "string",
                "description": "Standard Carrier Alpha Code (SCAC). It is typically two to four letters long given by the National Motor Freight Traffic Association.",
                "example": "ABC"
              },
              "description": "List of Standard Carrier Alpha Code (SCAC)."
            },
            "products": {
              "title": "Products Request Requirements",
              "type": "array",
              "items": {
                "title": "Product Request",
                "required": [
                  "fakClass",
                  "weight",
                  "itemPackageType"
                ],
                "type": "object",
                "properties": {
                  "fakClass": {
                    "type": "string",
                    "description": "Freight of All Kinds (FAK). groups products of different classes at one standardized freight class so that they are billed or rated at the same class.",
                    "example": "300"
                  },
                  "weight": {
                    "title": "Weight",
                    "allOf": [
                      {
                        "title": "Quantitative Value",
                        "type": "object",
                        "properties": {
                          "unitText": {
                            "type": "string",
                            "description": "Indicates the unit of measurement"
                          },
                          "value": {
                            "description": "The value of the measurement"
                          }
                        },
                        "description": "A point value or interval for product characteristics and other purposes."
                      },
                      {
                        "required": [
                          "unitText",
                          "value"
                        ],
                        "properties": {
                          "unitText": {
                            "enum": [
                              "Pounds",
                              "Kilograms"
                            ]
                          },
                          "value": {
                            "title": "Double",
                            "type": "number",
                            "format": "double"
                          }
                        }
                      }
                    ],
                    "description": "Physical weight of a product or shipment",
                    "example": {
                      "unitText": "Pounds",
                      "value": 100
                    }
                  },
                  "dimension": {
                    "title": "Dimension",
                    "type": "object",
                    "properties": {
                      "length": {
                        "title": "Length",
                        "allOf": [
                          {
                            "title": "Quantitative Value",
                            "type": "object",
                            "properties": {
                              "unitText": {
                                "type": "string",
                                "description": "Indicates the unit of measurement"
                              },
                              "value": {
                                "description": "The value of the measurement"
                              }
                            },
                            "description": "A point value or interval for product characteristics and other purposes."
                          },
                          {
                            "required": [
                              "unitText",
                              "value"
                            ],
                            "properties": {
                              "unitText": {
                                "type": "string",
                                "description": "Unit of Measure. Allowed values - Inches",
                                "example": "Inches"
                              },
                              "value": {
                                "title": "Double",
                                "type": "number",
                                "format": "double"
                              }
                            }
                          }
                        ],
                        "description": "Physical length of a product.",
                        "example": {
                          "unitText": "Inches",
                          "value": 100
                        }
                      },
                      "width": {
                        "title": "Width",
                        "allOf": [
                          {
                            "title": "Quantitative Value",
                            "type": "object",
                            "properties": {
                              "unitText": {
                                "type": "string",
                                "description": "Indicates the unit of measurement"
                              },
                              "value": {
                                "description": "The value of the measurement"
                              }
                            },
                            "description": "A point value or interval for product characteristics and other purposes."
                          },
                          {
                            "required": [
                              "unitText",
                              "value"
                            ],
                            "properties": {
                              "unitText": {
                                "type": "string",
                                "description": "Unit of Measure. Allowed values - Inches",
                                "example": "Inches"
                              },
                              "value": {
                                "title": "Double",
                                "type": "number",
                                "format": "double"
                              }
                            }
                          }
                        ],
                        "description": "Physical width of a product.",
                        "example": {
                          "unitText": "Inches",
                          "value": 100
                        }
                      },
                      "height": {
                        "title": "Height",
                        "allOf": [
                          {
                            "title": "Quantitative Value",
                            "type": "object",
                            "properties": {
                              "unitText": {
                                "type": "string",
                                "description": "Indicates the unit of measurement"
                              },
                              "value": {
                                "description": "The value of the measurement"
                              }
                            },
                            "description": "A point value or interval for product characteristics and other purposes."
                          },
                          {
                            "required": [
                              "unitText",
                              "value"
                            ],
                            "properties": {
                              "unitText": {
                                "type": "string",
                                "description": "Unit of Measure. Allowed values - Inches",
                                "example": "Inches"
                              },
                              "value": {
                                "title": "Double",
                                "type": "number",
                                "format": "double"
                              }
                            }
                          }
                        ],
                        "description": "Physical height of a product.",
                        "example": {
                          "unitText": "Inches",
                          "value": 100
                        }
                      }
                    },
                    "description": "Physical dimension of a product",
                    "example": {
                      "unitText": "Inches",
                      "value": 100
                    }
                  },
                  "itemPackageType": {
                    "type": "string",
                    "description": "Packaging for item(s). Allowed Values - Bags, Barrels, Bins, Boxes, Buckets, Bundles, Case, Casks, Crates, Drums, Gaylords, Kegs, Pallets, Pieces, Reels, Rolls, Skids, Spools, Totes",
                    "example": "Pieces"
                  },
                  "itemPackageQuantity": {
                    "type": "number",
                    "description": "Quantity of items being shipped",
                    "example": 1.0
                  },
                  "stackable": {
                    "type": "boolean",
                    "description": "Indicates whether the product is stackable ('true') or non-stackable ('false').\n"
                  }
                },
                "description": "Products to be included as part of the rate request"
              },
              "description": "Product information used to determine product charges as part of the final rate"
            }
          }
        }
      ],
      "description": "Contains data for Less-than truck load (LTL) rates request as per the contractual agreement",
      "example": {
        "origin": {
          "streetAddress": "615 J B Hunt Corporate Dr",
          "adminArea1": "AR",
          "locality": "Lowell",
          "postalCode": "72745",
          "countryCode": "USA"
        },
        "destination": {
          "streetAddress": "615 J B Hunt Corporate Dr",
          "adminArea1": "AR",
          "locality": "Lowell",
          "postalCode": "72745",
          "countryCode": "USA"
        },
        "pickupDate": "2019-11-01T00:00:00Z",
        "shipmentType": "LTL",
        "products": [
          {
            "fakClass": "300",
            "weight": {
              "unitText": "Pounds",
              "value": 100
            }
          }
        ]
      }
    }
  ],
  "discriminator": {
    "propertyName": "shipmentType",
    "mapping": {
      "FTL": "#/components/schemas/FtlRateRequest",
      "LTL": "#/components/schemas/LtlRateRequest",
      "ALL": "#/components/schemas/LtlRateRequest"
    }
  }
}

Responses

200 OK

Successfully retrieved rates

Representations

{
  "rates": [
    {
      "agreementIdentifier": "50",
      "transportationMode": "Truck",
      "shipmentType": "FTL",
      "totalMiles": 100,
      "transitDays": 2,
      "customerCode": "XYZ",
      "standardCarrierAlphaCode": "ABCD",
      "customerRateDetail": {
        "lineHaulCharge": {
          "totalCost": {
            "currencyCode": "USD",
            "value": "1000.00"
          },
          "unitCost": {
            "unitText": "PerMile",
            "value": {
              "currencyCode": "USD",
              "value": "10.00"
            }
          }
        },
        "totalCharge": {
          "currencyCode": "USD",
          "value": "150.00"
        }
      },
      "carrierRateDetail": {
        "lineHaulCharge": {
          "totalCost": {
            "currencyCode": "USD",
            "value": "1000.00"
          },
          "unitCost": {
            "unitText": "PerMile",
            "value": {
              "currencyCode": "USD",
              "value": "10.00"
            }
          }
        },
        "totalCharge": {
          "currencyCode": "USD",
          "value": "150.00"
        }
      },
      "marginRateDetail": {
        "lineHaulCharge": {
          "totalCost": {
            "percentage": "3.0",
            "currencyCode": "USD",
            "value": "1000.00"
          },
          "unitCost": {
            "unitText": "PerMile",
            "value": {
              "percentage": "3.0",
              "currencyCode": "USD",
              "value": "10.00"
            }
          }
        },
        "totalCharge": {
          "percentage": "3.0",
          "currencyCode": "USD",
          "value": "150.00"
        }
      },
      "messages": [
        "Accessorial rate not available"
      ]
    }
  ]
}
{
  "title": "Rate Response",
  "type": "object",
  "properties": {
    "rates": {
      "type": "array",
      "items": {
        "title": "Rate",
        "type": "object",
        "allOf": [
          {
            "title": "Rate Header",
            "type": "object",
            "properties": {
              "agreementIdentifier": {
                "type": "string",
                "description": "Publication Code or AgreementID",
                "example": "50"
              },
              "transportationMode": {
                "title": "Transportation Mode",
                "enum": [
                  "Truck",
                  "Rail"
                ],
                "type": "string",
                "description": "Transportation Mode (allowed values - Truck , Rail)",
                "example": "Truck"
              },
              "shipmentType": {
                "type": "string",
                "description": "Shipment Type. Full Truck Load (FTL) or Less-Than Truck Load (LTL).",
                "example": "FTL"
              },
              "totalMiles": {
                "allOf": [
                  {
                    "title": "Double",
                    "type": "number",
                    "format": "double"
                  }
                ],
                "description": "Total Miles from origin to destination"
              },
              "transitDays": {
                "type": "integer",
                "description": "The number of days, excluding weekends and holidays, that a package is in transit from pickup to delivery.",
                "format": "int32",
                "example": 2
              },
              "customerCode": {
                "title": "Customer Code",
                "type": "string",
                "description": "J.B. Hunt-provided customer code",
                "example": "XYZ"
              },
              "standardCarrierAlphaCode": {
                "title": "Standard Carrier Alpha Code",
                "pattern": "^[A-Z]{2,4}$",
                "type": "string",
                "description": "Standard Carrier Alpha Code (SCAC). It is typically two to four letters long given by the National Motor Freight Traffic Association.",
                "example": "ABC"
              },
              "messages": {
                "title": "Messages",
                "type": "array",
                "items": {
                  "title": "Message",
                  "type": "string",
                  "description": "Provides additional information about the rate"
                },
                "description": "Messages"
              }
            },
            "description": "Contains header data for a rate"
          },
          {
            "properties": {
              "customerRateDetail": {
                "allOf": [
                  {
                    "title": "Base Rate Detail",
                    "type": "object",
                    "properties": {
                      "lineHaulCharge": {
                        "title": "Line Haul Charge",
                        "type": "object",
                        "properties": {
                          "totalCost": {
                            "allOf": [
                              {
                                "title": "Monetary Amount",
                                "type": "object",
                                "properties": {
                                  "currencyCode": {
                                    "maxLength": 3,
                                    "minLength": 3,
                                    "type": "string",
                                    "description": "Three-letter [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code.",
                                    "example": "USD"
                                  },
                                  "value": {
                                    "maxLength": 32,
                                    "pattern": "^((-?[0-9]+)|(-?([0-9]+)?[.][0-9]+))$",
                                    "type": "string",
                                    "description": "The value, which can be anything from:\n* An integer. For currencies that are not typically fractional, such as `JPY`.\n* A three-place decimal fraction. For currencies that are subdivided into thousandths, such as `TND`.\n* An eight-place decimal fraction. For currencies such as Bitcoin.\n* For the required number of decimal places for a currency code, see ISO 4217.\n",
                                    "example": "10.00"
                                  }
                                },
                                "description": "A monetary value."
                              }
                            ],
                            "description": "Total cost for the charge"
                          },
                          "unitCost": {
                            "allOf": [
                              {
                                "title": "Discrete Charge",
                                "allOf": [
                                  {
                                    "title": "Quantitative Value",
                                    "type": "object",
                                    "properties": {
                                      "unitText": {
                                        "type": "string",
                                        "description": "Indicates the unit of measurement"
                                      },
                                      "value": {
                                        "description": "The value of the measurement"
                                      }
                                    },
                                    "description": "A point value or interval for product characteristics and other purposes."
                                  },
                                  {
                                    "properties": {
                                      "unitText": {
                                        "description": "Unit of measure. Allowed values - Per Mile, Flat, Percent, Per Pallet, CWT"
                                      },
                                      "cost": {
                                        "title": "Monetary Amount",
                                        "type": "object",
                                        "properties": {
                                          "currencyCode": {
                                            "maxLength": 3,
                                            "minLength": 3,
                                            "type": "string",
                                            "description": "Three-letter [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code.",
                                            "example": "USD"
                                          },
                                          "value": {
                                            "maxLength": 32,
                                            "pattern": "^((-?[0-9]+)|(-?([0-9]+)?[.][0-9]+))$",
                                            "type": "string",
                                            "description": "The value, which can be anything from:\n* An integer. For currencies that are not typically fractional, such as `JPY`.\n* A three-place decimal fraction. For currencies that are subdivided into thousandths, such as `TND`.\n* An eight-place decimal fraction. For currencies such as Bitcoin.\n* For the required number of decimal places for a currency code, see ISO 4217.\n",
                                            "example": "10.00"
                                          }
                                        },
                                        "description": "A monetary value."
                                      }
                                    }
                                  }
                                ],
                                "description": "Cost per unit of measurement"
                              }
                            ],
                            "description": "Cost per unit of measurement"
                          }
                        },
                        "description": "Charges to move freight between point A to point B"
                      },
                      "totalCharge": {
                        "allOf": [
                          {
                            "title": "Monetary Amount",
                            "type": "object",
                            "properties": {
                              "currencyCode": {
                                "maxLength": 3,
                                "minLength": 3,
                                "type": "string",
                                "description": "Three-letter [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code.",
                                "example": "USD"
                              },
                              "value": {
                                "maxLength": 32,
                                "pattern": "^((-?[0-9]+)|(-?([0-9]+)?[.][0-9]+))$",
                                "type": "string",
                                "description": "The value, which can be anything from:\n* An integer. For currencies that are not typically fractional, such as `JPY`.\n* A three-place decimal fraction. For currencies that are subdivided into thousandths, such as `TND`.\n* An eight-place decimal fraction. For currencies such as Bitcoin.\n* For the required number of decimal places for a currency code, see ISO 4217.\n",
                                "example": "10.00"
                              }
                            },
                            "description": "A monetary value."
                          }
                        ],
                        "description": "Sum of `lineHaulCharge` and `accessorials`"
                      },
                      "accessorials": {
                        "title": "Accessorials Response",
                        "type": "array",
                        "items": {
                          "title": "Base Response Accessorial",
                          "type": "object",
                          "properties": {
                            "chargeCode": {
                              "type": "string",
                              "description": "Accessorial charge code. Allowed values - CLEANTRK, DETENTION, DETENTIONP, DRVRLOAD, DRVRUNLD, EEIFILEFEE, INBOND, LUMPLOAD, LUMPUNLD, PALLETEXCH, SCALE CHRG, SDP, TARP4FT, TARP6FT, TARP8FT",
                              "example": "LUMPLOAD"
                            },
                            "chargeCodeDescription": {
                              "type": "string",
                              "description": "Information on description of accessorial charge code",
                              "example": "FUEL SURGE CHARGE"
                            },
                            "stopSequenceNumber": {
                              "type": "integer",
                              "description": "The stop number",
                              "format": "int32",
                              "example": 2
                            },
                            "quantity": {
                              "title": "Accessorial Quantitative Value",
                              "allOf": [
                                {
                                  "title": "Quantitative Value",
                                  "type": "object",
                                  "properties": {
                                    "unitText": {
                                      "type": "string",
                                      "description": "Indicates the unit of measurement"
                                    },
                                    "value": {
                                      "description": "The value of the measurement"
                                    }
                                  },
                                  "description": "A point value or interval for product characteristics and other purposes."
                                },
                                {
                                  "required": [
                                    "unitText",
                                    "value"
                                  ],
                                  "properties": {
                                    "unitText": {
                                      "description": "Unit of measure. Allowed values - Pounds, Kilograms, Flat, Days, Hours, Minutes, Pieces, Miles, Kilometers, Percent"
                                    },
                                    "value": {
                                      "title": "Double",
                                      "type": "number",
                                      "format": "double"
                                    }
                                  }
                                }
                              ],
                              "description": "Quantitative value for an accessorial charge"
                            },
                            "cost": {
                              "title": "Monetary Amount",
                              "type": "object",
                              "properties": {
                                "currencyCode": {
                                  "maxLength": 3,
                                  "minLength": 3,
                                  "type": "string",
                                  "description": "Three-letter [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code.",
                                  "example": "USD"
                                },
                                "value": {
                                  "maxLength": 32,
                                  "pattern": "^((-?[0-9]+)|(-?([0-9]+)?[.][0-9]+))$",
                                  "type": "string",
                                  "description": "The value, which can be anything from:\n* An integer. For currencies that are not typically fractional, such as `JPY`.\n* A three-place decimal fraction. For currencies that are subdivided into thousandths, such as `TND`.\n* An eight-place decimal fraction. For currencies such as Bitcoin.\n* For the required number of decimal places for a currency code, see ISO 4217.\n",
                                  "example": "10.00"
                                }
                              },
                              "description": "A monetary value."
                            }
                          },
                          "description": "Accessorial charges returned as part of the rate response"
                        },
                        "description": "Contains data for Accessorial charges"
                      }
                    },
                    "description": "Contains rate details data as per the contractual agreement"
                  }
                ],
                "description": "Primary customer rate details."
              },
              "carrierRateDetail": {
                "allOf": [
                  {
                    "title": "Base Rate Detail",
                    "type": "object",
                    "properties": {
                      "lineHaulCharge": {
                        "title": "Line Haul Charge",
                        "type": "object",
                        "properties": {
                          "totalCost": {
                            "allOf": [
                              {
                                "title": "Monetary Amount",
                                "type": "object",
                                "properties": {
                                  "currencyCode": {
                                    "maxLength": 3,
                                    "minLength": 3,
                                    "type": "string",
                                    "description": "Three-letter [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code.",
                                    "example": "USD"
                                  },
                                  "value": {
                                    "maxLength": 32,
                                    "pattern": "^((-?[0-9]+)|(-?([0-9]+)?[.][0-9]+))$",
                                    "type": "string",
                                    "description": "The value, which can be anything from:\n* An integer. For currencies that are not typically fractional, such as `JPY`.\n* A three-place decimal fraction. For currencies that are subdivided into thousandths, such as `TND`.\n* An eight-place decimal fraction. For currencies such as Bitcoin.\n* For the required number of decimal places for a currency code, see ISO 4217.\n",
                                    "example": "10.00"
                                  }
                                },
                                "description": "A monetary value."
                              }
                            ],
                            "description": "Total cost for the charge"
                          },
                          "unitCost": {
                            "allOf": [
                              {
                                "title": "Discrete Charge",
                                "allOf": [
                                  {
                                    "title": "Quantitative Value",
                                    "type": "object",
                                    "properties": {
                                      "unitText": {
                                        "type": "string",
                                        "description": "Indicates the unit of measurement"
                                      },
                                      "value": {
                                        "description": "The value of the measurement"
                                      }
                                    },
                                    "description": "A point value or interval for product characteristics and other purposes."
                                  },
                                  {
                                    "properties": {
                                      "unitText": {
                                        "description": "Unit of measure. Allowed values - Per Mile, Flat, Percent, Per Pallet, CWT"
                                      },
                                      "cost": {
                                        "title": "Monetary Amount",
                                        "type": "object",
                                        "properties": {
                                          "currencyCode": {
                                            "maxLength": 3,
                                            "minLength": 3,
                                            "type": "string",
                                            "description": "Three-letter [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code.",
                                            "example": "USD"
                                          },
                                          "value": {
                                            "maxLength": 32,
                                            "pattern": "^((-?[0-9]+)|(-?([0-9]+)?[.][0-9]+))$",
                                            "type": "string",
                                            "description": "The value, which can be anything from:\n* An integer. For currencies that are not typically fractional, such as `JPY`.\n* A three-place decimal fraction. For currencies that are subdivided into thousandths, such as `TND`.\n* An eight-place decimal fraction. For currencies such as Bitcoin.\n* For the required number of decimal places for a currency code, see ISO 4217.\n",
                                            "example": "10.00"
                                          }
                                        },
                                        "description": "A monetary value."
                                      }
                                    }
                                  }
                                ],
                                "description": "Cost per unit of measurement"
                              }
                            ],
                            "description": "Cost per unit of measurement"
                          }
                        },
                        "description": "Charges to move freight between point A to point B"
                      },
                      "totalCharge": {
                        "allOf": [
                          {
                            "title": "Monetary Amount",
                            "type": "object",
                            "properties": {
                              "currencyCode": {
                                "maxLength": 3,
                                "minLength": 3,
                                "type": "string",
                                "description": "Three-letter [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code.",
                                "example": "USD"
                              },
                              "value": {
                                "maxLength": 32,
                                "pattern": "^((-?[0-9]+)|(-?([0-9]+)?[.][0-9]+))$",
                                "type": "string",
                                "description": "The value, which can be anything from:\n* An integer. For currencies that are not typically fractional, such as `JPY`.\n* A three-place decimal fraction. For currencies that are subdivided into thousandths, such as `TND`.\n* An eight-place decimal fraction. For currencies such as Bitcoin.\n* For the required number of decimal places for a currency code, see ISO 4217.\n",
                                "example": "10.00"
                              }
                            },
                            "description": "A monetary value."
                          }
                        ],
                        "description": "Sum of `lineHaulCharge` and `accessorials`"
                      },
                      "accessorials": {
                        "title": "Accessorials Response",
                        "type": "array",
                        "items": {
                          "title": "Base Response Accessorial",
                          "type": "object",
                          "properties": {
                            "chargeCode": {
                              "type": "string",
                              "description": "Accessorial charge code. Allowed values - CLEANTRK, DETENTION, DETENTIONP, DRVRLOAD, DRVRUNLD, EEIFILEFEE, INBOND, LUMPLOAD, LUMPUNLD, PALLETEXCH, SCALE CHRG, SDP, TARP4FT, TARP6FT, TARP8FT",
                              "example": "LUMPLOAD"
                            },
                            "chargeCodeDescription": {
                              "type": "string",
                              "description": "Information on description of accessorial charge code",
                              "example": "FUEL SURGE CHARGE"
                            },
                            "stopSequenceNumber": {
                              "type": "integer",
                              "description": "The stop number",
                              "format": "int32",
                              "example": 2
                            },
                            "quantity": {
                              "title": "Accessorial Quantitative Value",
                              "allOf": [
                                {
                                  "title": "Quantitative Value",
                                  "type": "object",
                                  "properties": {
                                    "unitText": {
                                      "type": "string",
                                      "description": "Indicates the unit of measurement"
                                    },
                                    "value": {
                                      "description": "The value of the measurement"
                                    }
                                  },
                                  "description": "A point value or interval for product characteristics and other purposes."
                                },
                                {
                                  "required": [
                                    "unitText",
                                    "value"
                                  ],
                                  "properties": {
                                    "unitText": {
                                      "description": "Unit of measure. Allowed values - Pounds, Kilograms, Flat, Days, Hours, Minutes, Pieces, Miles, Kilometers, Percent"
                                    },
                                    "value": {
                                      "title": "Double",
                                      "type": "number",
                                      "format": "double"
                                    }
                                  }
                                }
                              ],
                              "description": "Quantitative value for an accessorial charge"
                            },
                            "cost": {
                              "title": "Monetary Amount",
                              "type": "object",
                              "properties": {
                                "currencyCode": {
                                  "maxLength": 3,
                                  "minLength": 3,
                                  "type": "string",
                                  "description": "Three-letter [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code.",
                                  "example": "USD"
                                },
                                "value": {
                                  "maxLength": 32,
                                  "pattern": "^((-?[0-9]+)|(-?([0-9]+)?[.][0-9]+))$",
                                  "type": "string",
                                  "description": "The value, which can be anything from:\n* An integer. For currencies that are not typically fractional, such as `JPY`.\n* A three-place decimal fraction. For currencies that are subdivided into thousandths, such as `TND`.\n* An eight-place decimal fraction. For currencies such as Bitcoin.\n* For the required number of decimal places for a currency code, see ISO 4217.\n",
                                  "example": "10.00"
                                }
                              },
                              "description": "A monetary value."
                            }
                          },
                          "description": "Accessorial charges returned as part of the rate response"
                        },
                        "description": "Contains data for Accessorial charges"
                      }
                    },
                    "description": "Contains rate details data as per the contractual agreement"
                  }
                ],
                "description": "Rate details relating to the freight carrier."
              },
              "marginRateDetail": {
                "allOf": [
                  {
                    "title": "Margin Rate Detail",
                    "type": "object",
                    "properties": {
                      "lineHaulCharge": {
                        "title": "Margin Rate Line Haul Charge",
                        "type": "object",
                        "properties": {
                          "totalCost": {
                            "allOf": [
                              {
                                "title": "Discrete Monetary Amount",
                                "allOf": [
                                  {
                                    "title": "Monetary Amount",
                                    "type": "object",
                                    "properties": {
                                      "currencyCode": {
                                        "maxLength": 3,
                                        "minLength": 3,
                                        "type": "string",
                                        "description": "Three-letter [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code.",
                                        "example": "USD"
                                      },
                                      "value": {
                                        "maxLength": 32,
                                        "pattern": "^((-?[0-9]+)|(-?([0-9]+)?[.][0-9]+))$",
                                        "type": "string",
                                        "description": "The value, which can be anything from:\n* An integer. For currencies that are not typically fractional, such as `JPY`.\n* A three-place decimal fraction. For currencies that are subdivided into thousandths, such as `TND`.\n* An eight-place decimal fraction. For currencies such as Bitcoin.\n* For the required number of decimal places for a currency code, see ISO 4217.\n",
                                        "example": "10.00"
                                      }
                                    },
                                    "description": "A monetary value."
                                  },
                                  {
                                    "properties": {
                                      "percentage": {
                                        "pattern": "^((-?[0-9]+)|(-?([0-9]+)?[.][0-9]+))$",
                                        "type": "string",
                                        "description": "percentage used to calculate Monetary Amount",
                                        "example": "3.00"
                                      }
                                    }
                                  }
                                ],
                                "description": "A monetary value with percent"
                              }
                            ],
                            "description": "Total cost for the charge"
                          },
                          "unitCost": {
                            "allOf": [
                              {
                                "title": "Margin Rate Discrete Charge",
                                "allOf": [
                                  {
                                    "title": "Quantitative Value",
                                    "type": "object",
                                    "properties": {
                                      "unitText": {
                                        "type": "string",
                                        "description": "Indicates the unit of measurement"
                                      },
                                      "value": {
                                        "description": "The value of the measurement"
                                      }
                                    },
                                    "description": "A point value or interval for product characteristics and other purposes."
                                  },
                                  {
                                    "properties": {
                                      "unitText": {
                                        "enum": [
                                          "PerMile",
                                          "Flat"
                                        ]
                                      },
                                      "cost": {
                                        "title": "Discrete Monetary Amount",
                                        "allOf": [
                                          {
                                            "title": "Monetary Amount",
                                            "type": "object",
                                            "properties": {
                                              "currencyCode": {
                                                "maxLength": 3,
                                                "minLength": 3,
                                                "type": "string",
                                                "description": "Three-letter [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code.",
                                                "example": "USD"
                                              },
                                              "value": {
                                                "maxLength": 32,
                                                "pattern": "^((-?[0-9]+)|(-?([0-9]+)?[.][0-9]+))$",
                                                "type": "string",
                                                "description": "The value, which can be anything from:\n* An integer. For currencies that are not typically fractional, such as `JPY`.\n* A three-place decimal fraction. For currencies that are subdivided into thousandths, such as `TND`.\n* An eight-place decimal fraction. For currencies such as Bitcoin.\n* For the required number of decimal places for a currency code, see ISO 4217.\n",
                                                "example": "10.00"
                                              }
                                            },
                                            "description": "A monetary value."
                                          },
                                          {
                                            "properties": {
                                              "percentage": {
                                                "pattern": "^((-?[0-9]+)|(-?([0-9]+)?[.][0-9]+))$",
                                                "type": "string",
                                                "description": "percentage used to calculate Monetary Amount",
                                                "example": "3.00"
                                              }
                                            }
                                          }
                                        ],
                                        "description": "A monetary value with percent"
                                      }
                                    }
                                  }
                                ],
                                "description": "Cost per unit of measurement"
                              }
                            ],
                            "description": "Cost per unit of measurement"
                          }
                        },
                        "description": "Charges to move freight between point A to point B"
                      },
                      "totalCharge": {
                        "allOf": [
                          {
                            "title": "Discrete Monetary Amount",
                            "allOf": [
                              {
                                "title": "Monetary Amount",
                                "type": "object",
                                "properties": {
                                  "currencyCode": {
                                    "maxLength": 3,
                                    "minLength": 3,
                                    "type": "string",
                                    "description": "Three-letter [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code.",
                                    "example": "USD"
                                  },
                                  "value": {
                                    "maxLength": 32,
                                    "pattern": "^((-?[0-9]+)|(-?([0-9]+)?[.][0-9]+))$",
                                    "type": "string",
                                    "description": "The value, which can be anything from:\n* An integer. For currencies that are not typically fractional, such as `JPY`.\n* A three-place decimal fraction. For currencies that are subdivided into thousandths, such as `TND`.\n* An eight-place decimal fraction. For currencies such as Bitcoin.\n* For the required number of decimal places for a currency code, see ISO 4217.\n",
                                    "example": "10.00"
                                  }
                                },
                                "description": "A monetary value."
                              },
                              {
                                "properties": {
                                  "percentage": {
                                    "pattern": "^((-?[0-9]+)|(-?([0-9]+)?[.][0-9]+))$",
                                    "type": "string",
                                    "description": "percentage used to calculate Monetary Amount",
                                    "example": "3.00"
                                  }
                                }
                              }
                            ],
                            "description": "A monetary value with percent"
                          }
                        ],
                        "description": "Sum of `lineHaulCharge` and `accessorials`"
                      },
                      "accessorials": {
                        "title": "Margin Rate Accessorials Response",
                        "type": "array",
                        "items": {
                          "title": "Margin Rate Response Accessorial",
                          "type": "object",
                          "allOf": [
                            {
                              "title": "Base Response Accessorial",
                              "type": "object",
                              "properties": {
                                "chargeCode": {
                                  "type": "string",
                                  "description": "Accessorial charge code. Allowed values - CLEANTRK, DETENTION, DETENTIONP, DRVRLOAD, DRVRUNLD, EEIFILEFEE, INBOND, LUMPLOAD, LUMPUNLD, PALLETEXCH, SCALE CHRG, SDP, TARP4FT, TARP6FT, TARP8FT",
                                  "example": "LUMPLOAD"
                                },
                                "chargeCodeDescription": {
                                  "type": "string",
                                  "description": "Information on description of accessorial charge code",
                                  "example": "FUEL SURGE CHARGE"
                                },
                                "stopSequenceNumber": {
                                  "type": "integer",
                                  "description": "The stop number",
                                  "format": "int32",
                                  "example": 2
                                },
                                "quantity": {
                                  "title": "Accessorial Quantitative Value",
                                  "allOf": [
                                    {
                                      "title": "Quantitative Value",
                                      "type": "object",
                                      "properties": {
                                        "unitText": {
                                          "type": "string",
                                          "description": "Indicates the unit of measurement"
                                        },
                                        "value": {
                                          "description": "The value of the measurement"
                                        }
                                      },
                                      "description": "A point value or interval for product characteristics and other purposes."
                                    },
                                    {
                                      "required": [
                                        "unitText",
                                        "value"
                                      ],
                                      "properties": {
                                        "unitText": {
                                          "description": "Unit of measure. Allowed values - Pounds, Kilograms, Flat, Days, Hours, Minutes, Pieces, Miles, Kilometers, Percent"
                                        },
                                        "value": {
                                          "title": "Double",
                                          "type": "number",
                                          "format": "double"
                                        }
                                      }
                                    }
                                  ],
                                  "description": "Quantitative value for an accessorial charge"
                                },
                                "cost": {
                                  "title": "Monetary Amount",
                                  "type": "object",
                                  "properties": {
                                    "currencyCode": {
                                      "maxLength": 3,
                                      "minLength": 3,
                                      "type": "string",
                                      "description": "Three-letter [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code.",
                                      "example": "USD"
                                    },
                                    "value": {
                                      "maxLength": 32,
                                      "pattern": "^((-?[0-9]+)|(-?([0-9]+)?[.][0-9]+))$",
                                      "type": "string",
                                      "description": "The value, which can be anything from:\n* An integer. For currencies that are not typically fractional, such as `JPY`.\n* A three-place decimal fraction. For currencies that are subdivided into thousandths, such as `TND`.\n* An eight-place decimal fraction. For currencies such as Bitcoin.\n* For the required number of decimal places for a currency code, see ISO 4217.\n",
                                      "example": "10.00"
                                    }
                                  },
                                  "description": "A monetary value."
                                }
                              },
                              "description": "Accessorial charges returned as part of the rate response"
                            },
                            {
                              "properties": {
                                "cost": {
                                  "title": "Discrete Monetary Amount",
                                  "allOf": [
                                    {
                                      "title": "Monetary Amount",
                                      "type": "object",
                                      "properties": {
                                        "currencyCode": {
                                          "maxLength": 3,
                                          "minLength": 3,
                                          "type": "string",
                                          "description": "Three-letter [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code.",
                                          "example": "USD"
                                        },
                                        "value": {
                                          "maxLength": 32,
                                          "pattern": "^((-?[0-9]+)|(-?([0-9]+)?[.][0-9]+))$",
                                          "type": "string",
                                          "description": "The value, which can be anything from:\n* An integer. For currencies that are not typically fractional, such as `JPY`.\n* A three-place decimal fraction. For currencies that are subdivided into thousandths, such as `TND`.\n* An eight-place decimal fraction. For currencies such as Bitcoin.\n* For the required number of decimal places for a currency code, see ISO 4217.\n",
                                          "example": "10.00"
                                        }
                                      },
                                      "description": "A monetary value."
                                    },
                                    {
                                      "properties": {
                                        "percentage": {
                                          "pattern": "^((-?[0-9]+)|(-?([0-9]+)?[.][0-9]+))$",
                                          "type": "string",
                                          "description": "percentage used to calculate Monetary Amount",
                                          "example": "3.00"
                                        }
                                      }
                                    }
                                  ],
                                  "description": "A monetary value with percent"
                                }
                              }
                            }
                          ],
                          "description": "Accessorial charges returned as part of the rate response"
                        },
                        "description": "Contains margin rate data for Accessorial charges"
                      }
                    },
                    "description": "Contains rate margin rate details data as per the contractual agreement"
                  }
                ],
                "description": "Margin rate used in rate calculations."
              }
            }
          }
        ],
        "description": "Rate as per the contractual agreement"
      },
      "description": "All rates requested as per the contractual agreement"
    }
  },
  "description": "Rates as per the contractual agreement",
  "example": {
    "rates": [
      {
        "agreementIdentifier": "50",
        "transportationMode": "Truck",
        "shipmentType": "FTL",
        "totalMiles": 100,
        "transitDays": 2,
        "customerCode": "XYZ",
        "standardCarrierAlphaCode": "ABCD",
        "customerRateDetail": {
          "lineHaulCharge": {
            "totalCost": {
              "currencyCode": "USD",
              "value": "1000.00"
            },
            "unitCost": {
              "unitText": "PerMile",
              "value": {
                "currencyCode": "USD",
                "value": "10.00"
              }
            }
          },
          "totalCharge": {
            "currencyCode": "USD",
            "value": "150.00"
          }
        },
        "carrierRateDetail": {
          "lineHaulCharge": {
            "totalCost": {
              "currencyCode": "USD",
              "value": "1000.00"
            },
            "unitCost": {
              "unitText": "PerMile",
              "value": {
                "currencyCode": "USD",
                "value": "10.00"
              }
            }
          },
          "totalCharge": {
            "currencyCode": "USD",
            "value": "150.00"
          }
        },
        "marginRateDetail": {
          "lineHaulCharge": {
            "totalCost": {
              "percentage": "3.0",
              "currencyCode": "USD",
              "value": "1000.00"
            },
            "unitCost": {
              "unitText": "PerMile",
              "value": {
                "percentage": "3.0",
                "currencyCode": "USD",
                "value": "10.00"
              }
            }
          },
          "totalCharge": {
            "percentage": "3.0",
            "currencyCode": "USD",
            "value": "150.00"
          }
        },
        "messages": [
          "Accessorial rate not available"
        ]
      }
    ]
  }
}

400 Bad Request

Cannot or will not process the request due to something that is perceived to be a client error (e.g., malformed request syntax, invalid request message framing, or deceptive request routing). See RFC 7231, Section 6.5.1.

Representations

{
  "type": "about:blank",
  "title": "string",
  "status": 0,
  "detail": "string",
  "instance": "string",
  "dateTime": {},
  "issues": [
    {
      "description": "string",
      "field": {},
      "location": "body",
      "value": {}
    }
  ]
}
{
  "title": "Problem Details",
  "allOf": [
    {
      "title": "Core Problem Details",
      "type": "object",
      "properties": {
        "type": {
          "type": "string",
          "description": "A [URI reference](https://tools.ietf.org/html/rfc3986#section-4.1) that identifies the problem type. This specification encourages that, when dereferenced, it provide human-readable documentation for the problem type (e.g., using [HTML](https://www.w3.org/TR/2014/REC-html5-20141028)). When this member is not present, its value is assumed to be `\"about:blank\"`.",
          "default": "about:blank"
        },
        "title": {
          "type": "string",
          "description": "A short, human-readable summary of the problem type. It SHOULD NOT change from occurrence to occurrence of the problem, except for purposes of localization (e.g., using proactive [content negotiation](https://tools.ietf.org/html/rfc7231#section-3.4))."
        },
        "status": {
          "maximum": 600.0,
          "exclusiveMaximum": true,
          "minimum": 100.0,
          "type": "integer",
          "description": "The [HTTP status code](https://tools.ietf.org/html/rfc7231#section-6) generated by the origin server for this occurrence of the problem."
        },
        "detail": {
          "type": "string",
          "description": "A human-readable explanation specific to this occurrence of the problem."
        },
        "instance": {
          "type": "string",
          "description": "A URI reference that identifies the specific occurrence of the problem. It may or may not yield further information if dereferenced."
        }
      },
      "description": "The core problem details object. See [Section 3.1 of RFC 7807](https://tools.ietf.org/html/rfc7807#section-3.1)."
    },
    {
      "title": "Problem Details Extensions",
      "type": "object",
      "properties": {
        "dateTime": {
          "allOf": [
            {
              "title": "Date Time",
              "type": "string",
              "description": "As defined by `date-time` in [Section 5.6 of RFC 3339](https://tools.ietf.org/html/rfc3339#section-5.6)",
              "format": "date-time"
            }
          ],
          "description": "The date and time that the problem occurred."
        },
        "issues": {
          "type": "array",
          "items": {
            "title": "Issue",
            "required": [
              "description",
              "field",
              "location"
            ],
            "type": "object",
            "properties": {
              "description": {
                "type": "string",
                "description": "A human-readable explanation of the specific issue."
              },
              "field": {
                "anyOf": [
                  {
                    "title": "JSON Pointer",
                    "pattern": "^(\\/([^/~]|~[01])*)*$",
                    "type": "string",
                    "description": "A string representing a JSON Pointer as defined by [RFC 6901](https://tools.ietf.org/html/rfc6901)."
                  },
                  {
                    "type": "string"
                  }
                ],
                "description": "The name of the field in error. If `location` is `body`, then this MUST be either a [JSON pointer](https://tools.ietf.org/html/rfc6901) or an [XPath expression](https://www.w3.org/TR/1999/REC-xpath-19991116) referring to the field of the body."
              },
              "location": {
                "enum": [
                  "body",
                  "header",
                  "path",
                  "query"
                ],
                "type": "string",
                "description": "The location of the issue.",
                "default": "body"
              },
              "value": {
                "allOf": [
                  {
                    "title": "Any?",
                    "allOf": [
                      {
                        "title": "Any",
                        "oneOf": [
                          {
                            "title": "Any Primitive",
                            "oneOf": [
                              {
                                "type": "boolean"
                              },
                              {
                                "type": "number"
                              },
                              {
                                "type": "string"
                              }
                            ],
                            "description": "Any non-nullable primitive JSON value"
                          },
                          {
                            "title": "Any Structured Value",
                            "oneOf": [
                              {
                                "type": "array"
                              },
                              {
                                "type": "object"
                              }
                            ],
                            "description": "Any non-nullable structured JSON value"
                          }
                        ],
                        "description": "Any non-nullable JSON value"
                      }
                    ],
                    "description": "Any nullable JSON value",
                    "nullable": true
                  }
                ],
                "description": "The value of the field in error."
              }
            },
            "description": "An object describing the issue of a particular field in an HTTP request message."
          },
          "description": "An array of issues related to specific fields in the HTTP request message."
        }
      },
      "description": "Custom J.B. Hunt extensions to the problems details format"
    }
  ],
  "description": "The [Problem Details for HTTP APIs](https://tools.ietf.org/html/rfc7807) format with extensions."
}

401 Unauthorized

The request has not been applied because it lacks valid authentication credentials for the target resource. See RFC 7235, Section 3.1.

Representations

{
  "type": "about:blank",
  "title": "string",
  "status": 0,
  "detail": "string",
  "instance": "string",
  "dateTime": {},
  "issues": [
    {
      "description": "string",
      "field": {},
      "location": "body",
      "value": {}
    }
  ]
}
{
  "title": "Problem Details",
  "allOf": [
    {
      "title": "Core Problem Details",
      "type": "object",
      "properties": {
        "type": {
          "type": "string",
          "description": "A [URI reference](https://tools.ietf.org/html/rfc3986#section-4.1) that identifies the problem type. This specification encourages that, when dereferenced, it provide human-readable documentation for the problem type (e.g., using [HTML](https://www.w3.org/TR/2014/REC-html5-20141028)). When this member is not present, its value is assumed to be `\"about:blank\"`.",
          "default": "about:blank"
        },
        "title": {
          "type": "string",
          "description": "A short, human-readable summary of the problem type. It SHOULD NOT change from occurrence to occurrence of the problem, except for purposes of localization (e.g., using proactive [content negotiation](https://tools.ietf.org/html/rfc7231#section-3.4))."
        },
        "status": {
          "maximum": 600.0,
          "exclusiveMaximum": true,
          "minimum": 100.0,
          "type": "integer",
          "description": "The [HTTP status code](https://tools.ietf.org/html/rfc7231#section-6) generated by the origin server for this occurrence of the problem."
        },
        "detail": {
          "type": "string",
          "description": "A human-readable explanation specific to this occurrence of the problem."
        },
        "instance": {
          "type": "string",
          "description": "A URI reference that identifies the specific occurrence of the problem. It may or may not yield further information if dereferenced."
        }
      },
      "description": "The core problem details object. See [Section 3.1 of RFC 7807](https://tools.ietf.org/html/rfc7807#section-3.1)."
    },
    {
      "title": "Problem Details Extensions",
      "type": "object",
      "properties": {
        "dateTime": {
          "allOf": [
            {
              "title": "Date Time",
              "type": "string",
              "description": "As defined by `date-time` in [Section 5.6 of RFC 3339](https://tools.ietf.org/html/rfc3339#section-5.6)",
              "format": "date-time"
            }
          ],
          "description": "The date and time that the problem occurred."
        },
        "issues": {
          "type": "array",
          "items": {
            "title": "Issue",
            "required": [
              "description",
              "field",
              "location"
            ],
            "type": "object",
            "properties": {
              "description": {
                "type": "string",
                "description": "A human-readable explanation of the specific issue."
              },
              "field": {
                "anyOf": [
                  {
                    "title": "JSON Pointer",
                    "pattern": "^(\\/([^/~]|~[01])*)*$",
                    "type": "string",
                    "description": "A string representing a JSON Pointer as defined by [RFC 6901](https://tools.ietf.org/html/rfc6901)."
                  },
                  {
                    "type": "string"
                  }
                ],
                "description": "The name of the field in error. If `location` is `body`, then this MUST be either a [JSON pointer](https://tools.ietf.org/html/rfc6901) or an [XPath expression](https://www.w3.org/TR/1999/REC-xpath-19991116) referring to the field of the body."
              },
              "location": {
                "enum": [
                  "body",
                  "header",
                  "path",
                  "query"
                ],
                "type": "string",
                "description": "The location of the issue.",
                "default": "body"
              },
              "value": {
                "allOf": [
                  {
                    "title": "Any?",
                    "allOf": [
                      {
                        "title": "Any",
                        "oneOf": [
                          {
                            "title": "Any Primitive",
                            "oneOf": [
                              {
                                "type": "boolean"
                              },
                              {
                                "type": "number"
                              },
                              {
                                "type": "string"
                              }
                            ],
                            "description": "Any non-nullable primitive JSON value"
                          },
                          {
                            "title": "Any Structured Value",
                            "oneOf": [
                              {
                                "type": "array"
                              },
                              {
                                "type": "object"
                              }
                            ],
                            "description": "Any non-nullable structured JSON value"
                          }
                        ],
                        "description": "Any non-nullable JSON value"
                      }
                    ],
                    "description": "Any nullable JSON value",
                    "nullable": true
                  }
                ],
                "description": "The value of the field in error."
              }
            },
            "description": "An object describing the issue of a particular field in an HTTP request message."
          },
          "description": "An array of issues related to specific fields in the HTTP request message."
        }
      },
      "description": "Custom J.B. Hunt extensions to the problems details format"
    }
  ],
  "description": "The [Problem Details for HTTP APIs](https://tools.ietf.org/html/rfc7807) format with extensions."
}

403 Forbidden

The server understood the request but refuses to authorize it. See RFC 7231, Section 6.5.3.

Representations

{
  "type": "about:blank",
  "title": "string",
  "status": 0,
  "detail": "string",
  "instance": "string",
  "dateTime": {},
  "issues": [
    {
      "description": "string",
      "field": {},
      "location": "body",
      "value": {}
    }
  ]
}
{
  "title": "Problem Details",
  "allOf": [
    {
      "title": "Core Problem Details",
      "type": "object",
      "properties": {
        "type": {
          "type": "string",
          "description": "A [URI reference](https://tools.ietf.org/html/rfc3986#section-4.1) that identifies the problem type. This specification encourages that, when dereferenced, it provide human-readable documentation for the problem type (e.g., using [HTML](https://www.w3.org/TR/2014/REC-html5-20141028)). When this member is not present, its value is assumed to be `\"about:blank\"`.",
          "default": "about:blank"
        },
        "title": {
          "type": "string",
          "description": "A short, human-readable summary of the problem type. It SHOULD NOT change from occurrence to occurrence of the problem, except for purposes of localization (e.g., using proactive [content negotiation](https://tools.ietf.org/html/rfc7231#section-3.4))."
        },
        "status": {
          "maximum": 600.0,
          "exclusiveMaximum": true,
          "minimum": 100.0,
          "type": "integer",
          "description": "The [HTTP status code](https://tools.ietf.org/html/rfc7231#section-6) generated by the origin server for this occurrence of the problem."
        },
        "detail": {
          "type": "string",
          "description": "A human-readable explanation specific to this occurrence of the problem."
        },
        "instance": {
          "type": "string",
          "description": "A URI reference that identifies the specific occurrence of the problem. It may or may not yield further information if dereferenced."
        }
      },
      "description": "The core problem details object. See [Section 3.1 of RFC 7807](https://tools.ietf.org/html/rfc7807#section-3.1)."
    },
    {
      "title": "Problem Details Extensions",
      "type": "object",
      "properties": {
        "dateTime": {
          "allOf": [
            {
              "title": "Date Time",
              "type": "string",
              "description": "As defined by `date-time` in [Section 5.6 of RFC 3339](https://tools.ietf.org/html/rfc3339#section-5.6)",
              "format": "date-time"
            }
          ],
          "description": "The date and time that the problem occurred."
        },
        "issues": {
          "type": "array",
          "items": {
            "title": "Issue",
            "required": [
              "description",
              "field",
              "location"
            ],
            "type": "object",
            "properties": {
              "description": {
                "type": "string",
                "description": "A human-readable explanation of the specific issue."
              },
              "field": {
                "anyOf": [
                  {
                    "title": "JSON Pointer",
                    "pattern": "^(\\/([^/~]|~[01])*)*$",
                    "type": "string",
                    "description": "A string representing a JSON Pointer as defined by [RFC 6901](https://tools.ietf.org/html/rfc6901)."
                  },
                  {
                    "type": "string"
                  }
                ],
                "description": "The name of the field in error. If `location` is `body`, then this MUST be either a [JSON pointer](https://tools.ietf.org/html/rfc6901) or an [XPath expression](https://www.w3.org/TR/1999/REC-xpath-19991116) referring to the field of the body."
              },
              "location": {
                "enum": [
                  "body",
                  "header",
                  "path",
                  "query"
                ],
                "type": "string",
                "description": "The location of the issue.",
                "default": "body"
              },
              "value": {
                "allOf": [
                  {
                    "title": "Any?",
                    "allOf": [
                      {
                        "title": "Any",
                        "oneOf": [
                          {
                            "title": "Any Primitive",
                            "oneOf": [
                              {
                                "type": "boolean"
                              },
                              {
                                "type": "number"
                              },
                              {
                                "type": "string"
                              }
                            ],
                            "description": "Any non-nullable primitive JSON value"
                          },
                          {
                            "title": "Any Structured Value",
                            "oneOf": [
                              {
                                "type": "array"
                              },
                              {
                                "type": "object"
                              }
                            ],
                            "description": "Any non-nullable structured JSON value"
                          }
                        ],
                        "description": "Any non-nullable JSON value"
                      }
                    ],
                    "description": "Any nullable JSON value",
                    "nullable": true
                  }
                ],
                "description": "The value of the field in error."
              }
            },
            "description": "An object describing the issue of a particular field in an HTTP request message."
          },
          "description": "An array of issues related to specific fields in the HTTP request message."
        }
      },
      "description": "Custom J.B. Hunt extensions to the problems details format"
    }
  ],
  "description": "The [Problem Details for HTTP APIs](https://tools.ietf.org/html/rfc7807) format with extensions."
}

500 Internal Server Error

The server encountered an unexpected condition that prevented it from fulfilling the request. See RFC 7231, Section 6.6.1.

Representations

{
  "type": "about:blank",
  "title": "string",
  "status": 0,
  "detail": "string",
  "instance": "string",
  "dateTime": {},
  "issues": [
    {
      "description": "string",
      "field": {},
      "location": "body",
      "value": {}
    }
  ]
}
{
  "title": "Problem Details",
  "allOf": [
    {
      "title": "Core Problem Details",
      "type": "object",
      "properties": {
        "type": {
          "type": "string",
          "description": "A [URI reference](https://tools.ietf.org/html/rfc3986#section-4.1) that identifies the problem type. This specification encourages that, when dereferenced, it provide human-readable documentation for the problem type (e.g., using [HTML](https://www.w3.org/TR/2014/REC-html5-20141028)). When this member is not present, its value is assumed to be `\"about:blank\"`.",
          "default": "about:blank"
        },
        "title": {
          "type": "string",
          "description": "A short, human-readable summary of the problem type. It SHOULD NOT change from occurrence to occurrence of the problem, except for purposes of localization (e.g., using proactive [content negotiation](https://tools.ietf.org/html/rfc7231#section-3.4))."
        },
        "status": {
          "maximum": 600.0,
          "exclusiveMaximum": true,
          "minimum": 100.0,
          "type": "integer",
          "description": "The [HTTP status code](https://tools.ietf.org/html/rfc7231#section-6) generated by the origin server for this occurrence of the problem."
        },
        "detail": {
          "type": "string",
          "description": "A human-readable explanation specific to this occurrence of the problem."
        },
        "instance": {
          "type": "string",
          "description": "A URI reference that identifies the specific occurrence of the problem. It may or may not yield further information if dereferenced."
        }
      },
      "description": "The core problem details object. See [Section 3.1 of RFC 7807](https://tools.ietf.org/html/rfc7807#section-3.1)."
    },
    {
      "title": "Problem Details Extensions",
      "type": "object",
      "properties": {
        "dateTime": {
          "allOf": [
            {
              "title": "Date Time",
              "type": "string",
              "description": "As defined by `date-time` in [Section 5.6 of RFC 3339](https://tools.ietf.org/html/rfc3339#section-5.6)",
              "format": "date-time"
            }
          ],
          "description": "The date and time that the problem occurred."
        },
        "issues": {
          "type": "array",
          "items": {
            "title": "Issue",
            "required": [
              "description",
              "field",
              "location"
            ],
            "type": "object",
            "properties": {
              "description": {
                "type": "string",
                "description": "A human-readable explanation of the specific issue."
              },
              "field": {
                "anyOf": [
                  {
                    "title": "JSON Pointer",
                    "pattern": "^(\\/([^/~]|~[01])*)*$",
                    "type": "string",
                    "description": "A string representing a JSON Pointer as defined by [RFC 6901](https://tools.ietf.org/html/rfc6901)."
                  },
                  {
                    "type": "string"
                  }
                ],
                "description": "The name of the field in error. If `location` is `body`, then this MUST be either a [JSON pointer](https://tools.ietf.org/html/rfc6901) or an [XPath expression](https://www.w3.org/TR/1999/REC-xpath-19991116) referring to the field of the body."
              },
              "location": {
                "enum": [
                  "body",
                  "header",
                  "path",
                  "query"
                ],
                "type": "string",
                "description": "The location of the issue.",
                "default": "body"
              },
              "value": {
                "allOf": [
                  {
                    "title": "Any?",
                    "allOf": [
                      {
                        "title": "Any",
                        "oneOf": [
                          {
                            "title": "Any Primitive",
                            "oneOf": [
                              {
                                "type": "boolean"
                              },
                              {
                                "type": "number"
                              },
                              {
                                "type": "string"
                              }
                            ],
                            "description": "Any non-nullable primitive JSON value"
                          },
                          {
                            "title": "Any Structured Value",
                            "oneOf": [
                              {
                                "type": "array"
                              },
                              {
                                "type": "object"
                              }
                            ],
                            "description": "Any non-nullable structured JSON value"
                          }
                        ],
                        "description": "Any non-nullable JSON value"
                      }
                    ],
                    "description": "Any nullable JSON value",
                    "nullable": true
                  }
                ],
                "description": "The value of the field in error."
              }
            },
            "description": "An object describing the issue of a particular field in an HTTP request message."
          },
          "description": "An array of issues related to specific fields in the HTTP request message."
        }
      },
      "description": "Custom J.B. Hunt extensions to the problems details format"
    }
  ],
  "description": "The [Problem Details for HTTP APIs](https://tools.ietf.org/html/rfc7807) format with extensions."
}

Code samples

@ECHO OFF

curl -v -X POST "https://api.jbhunt.com/rating/v2/calculate-rates"
-H "Content-Type: application/json"
-H "Api-Key: {subscription key}"
-H "Authorization: {access token}"

--data-ascii "{body}" 
using System;
using System.Net.Http.Headers;
using System.Text;
using System.Net.Http;
using System.Web;

namespace CSHttpClientSample
{
    static class Program
    {
        static void Main()
        {
            MakeRequest();
            Console.WriteLine("Hit ENTER to exit...");
            Console.ReadLine();
        }
        
        static async void MakeRequest()
        {
            var client = new HttpClient();
            var queryString = HttpUtility.ParseQueryString(string.Empty);

            // Request headers
            client.DefaultRequestHeaders.Add("Api-Key", "{subscription key}");
            client.DefaultRequestHeaders.Add("Authorization", "{access token}");

            var uri = "https://api.jbhunt.com/rating/v2/calculate-rates?" + queryString;

            HttpResponseMessage response;

            // Request body
            byte[] byteData = Encoding.UTF8.GetBytes("{body}");

            using (var content = new ByteArrayContent(byteData))
            {
               content.Headers.ContentType = new MediaTypeHeaderValue("< your content type, i.e. application/json >");
               response = await client.PostAsync(uri, content);
            }

        }
    }
}	
// // This sample uses the Apache HTTP client from HTTP Components (http://hc.apache.org/httpcomponents-client-ga/)
import java.net.URI;
import org.apache.http.HttpEntity;
import org.apache.http.HttpResponse;
import org.apache.http.client.HttpClient;
import org.apache.http.client.methods.HttpGet;
import org.apache.http.client.utils.URIBuilder;
import org.apache.http.impl.client.HttpClients;
import org.apache.http.util.EntityUtils;

public class JavaSample 
{
    public static void main(String[] args) 
    {
        HttpClient httpclient = HttpClients.createDefault();

        try
        {
            URIBuilder builder = new URIBuilder("https://api.jbhunt.com/rating/v2/calculate-rates");


            URI uri = builder.build();
            HttpPost request = new HttpPost(uri);
            request.setHeader("Content-Type", "application/json");
            request.setHeader("Api-Key", "{subscription key}");
            request.setHeader("Authorization", "{access token}");


            // Request body
            StringEntity reqEntity = new StringEntity("{body}");
            request.setEntity(reqEntity);

            HttpResponse response = httpclient.execute(request);
            HttpEntity entity = response.getEntity();

            if (entity != null) 
            {
                System.out.println(EntityUtils.toString(entity));
            }
        }
        catch (Exception e)
        {
            System.out.println(e.getMessage());
        }
    }
}

<!DOCTYPE html>
<html>
<head>
    <title>JSSample</title>
    <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.9.0/jquery.min.js"></script>
</head>
<body>

<script type="text/javascript">
    $(function() {
        var params = {
            // Request parameters
        };
      
        $.ajax({
            url: "https://api.jbhunt.com/rating/v2/calculate-rates?" + $.param(params),
            beforeSend: function(xhrObj){
                // Request headers
                xhrObj.setRequestHeader("Content-Type","application/json");
                xhrObj.setRequestHeader("Api-Key","{subscription key}");
                xhrObj.setRequestHeader("Authorization","{access token}");
            },
            type: "POST",
            // Request body
            data: "{body}",
        })
        .done(function(data) {
            alert("success");
        })
        .fail(function() {
            alert("error");
        });
    });
</script>
</body>
</html>
#import <Foundation/Foundation.h>

int main(int argc, const char * argv[])
{
    NSAutoreleasePool * pool = [[NSAutoreleasePool alloc] init];
    
    NSString* path = @"https://api.jbhunt.com/rating/v2/calculate-rates";
    NSArray* array = @[
                         // Request parameters
                         @"entities=true",
                      ];
    
    NSString* string = [array componentsJoinedByString:@"&"];
    path = [path stringByAppendingFormat:@"?%@", string];

    NSLog(@"%@", path);

    NSMutableURLRequest* _request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:path]];
    [_request setHTTPMethod:@"POST"];
    // Request headers
    [_request setValue:@"application/json" forHTTPHeaderField:@"Content-Type"];
    [_request setValue:@"{subscription key}" forHTTPHeaderField:@"Api-Key"];
    [_request setValue:@"{access token}" forHTTPHeaderField:@"Authorization"];
    // Request body
    [_request setHTTPBody:[@"{body}" dataUsingEncoding:NSUTF8StringEncoding]];
    
    NSURLResponse *response = nil;
    NSError *error = nil;
    NSData* _connectionData = [NSURLConnection sendSynchronousRequest:_request returningResponse:&response error:&error];

    if (nil != error)
    {
        NSLog(@"Error: %@", error);
    }
    else
    {
        NSError* error = nil;
        NSMutableDictionary* json = nil;
        NSString* dataString = [[NSString alloc] initWithData:_connectionData encoding:NSUTF8StringEncoding];
        NSLog(@"%@", dataString);
        
        if (nil != _connectionData)
        {
            json = [NSJSONSerialization JSONObjectWithData:_connectionData options:NSJSONReadingMutableContainers error:&error];
        }
        
        if (error || !json)
        {
            NSLog(@"Could not parse loaded json with error:%@", error);
        }
        
        NSLog(@"%@", json);
        _connectionData = nil;
    }
    
    [pool drain];

    return 0;
}
<?php
// This sample uses the Apache HTTP client from HTTP Components (http://hc.apache.org/httpcomponents-client-ga/)
require_once 'HTTP/Request2.php';

$request = new Http_Request2('https://api.jbhunt.com/rating/v2/calculate-rates');
$url = $request->getUrl();

$headers = array(
    // Request headers
    'Content-Type' => 'application/json',
    'Api-Key' => '{subscription key}',
    'Authorization' => '{access token}',
);

$request->setHeader($headers);

$parameters = array(
    // Request parameters
);

$url->setQueryVariables($parameters);

$request->setMethod(HTTP_Request2::METHOD_POST);

// Request body
$request->setBody("{body}");

try
{
    $response = $request->send();
    echo $response->getBody();
}
catch (HttpException $ex)
{
    echo $ex;
}

?>
########### Python 2.7 #############
import httplib, urllib, base64

headers = {
    # Request headers
    'Content-Type': 'application/json',
    'Api-Key': '{subscription key}',
    'Authorization': '{access token}',
}

params = urllib.urlencode({
})

try:
    conn = httplib.HTTPSConnection('api.jbhunt.com')
    conn.request("POST", "/rating/v2/calculate-rates?%s" % params, "{body}", headers)
    response = conn.getresponse()
    data = response.read()
    print(data)
    conn.close()
except Exception as e:
    print("[Errno {0}] {1}".format(e.errno, e.strerror))

####################################

########### Python 3.2 #############
import http.client, urllib.request, urllib.parse, urllib.error, base64

headers = {
    # Request headers
    'Content-Type': 'application/json',
    'Api-Key': '{subscription key}',
    'Authorization': '{access token}',
}

params = urllib.parse.urlencode({
})

try:
    conn = http.client.HTTPSConnection('api.jbhunt.com')
    conn.request("POST", "/rating/v2/calculate-rates?%s" % params, "{body}", headers)
    response = conn.getresponse()
    data = response.read()
    print(data)
    conn.close()
except Exception as e:
    print("[Errno {0}] {1}".format(e.errno, e.strerror))

####################################
require 'net/http'

uri = URI('https://api.jbhunt.com/rating/v2/calculate-rates')


request = Net::HTTP::Post.new(uri.request_uri)
# Request headers
request['Content-Type'] = 'application/json'
# Request headers
request['Api-Key'] = '{subscription key}'
# Request headers
request['Authorization'] = '{access token}'
# Request body
request.body = "{body}"

response = Net::HTTP.start(uri.host, uri.port, :use_ssl => uri.scheme == 'https') do |http|
    http.request(request)
end

puts response.body