Get Shipper Quote
curl --request GET \
--url https://api-lg-k.arms.cedarai.com/shipper/quotes/{name} \
--header 'x-arms-api-key: <api-key>' \
--header 'x-arms-assume-user: <api-key>'import requests
url = "https://api-lg-k.arms.cedarai.com/shipper/quotes/{name}"
headers = {
"x-arms-api-key": "<api-key>",
"x-arms-assume-user": "<api-key>"
}
response = requests.get(url, headers=headers)
print(response.text)const options = {
method: 'GET',
headers: {'x-arms-api-key': '<api-key>', 'x-arms-assume-user': '<api-key>'}
};
fetch('https://api-lg-k.arms.cedarai.com/shipper/quotes/{name}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api-lg-k.arms.cedarai.com/shipper/quotes/{name}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"x-arms-api-key: <api-key>",
"x-arms-assume-user: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api-lg-k.arms.cedarai.com/shipper/quotes/{name}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("x-arms-api-key", "<api-key>")
req.Header.Add("x-arms-assume-user", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api-lg-k.arms.cedarai.com/shipper/quotes/{name}")
.header("x-arms-api-key", "<api-key>")
.header("x-arms-assume-user", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api-lg-k.arms.cedarai.com/shipper/quotes/{name}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["x-arms-api-key"] = '<api-key>'
request["x-arms-assume-user"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"billing_route": {
"entries": [
{
"carrier": "<string>",
"is_breakpoint": true,
"outbound_junction": "<string>",
"sequence_code": "<string>"
}
],
"val": "<string>"
},
"created_at": "2023-11-07T05:31:56Z",
"distance": {
"source": "PC_MILER",
"value": {
"value": "<string>"
}
},
"furtherance_beyond_destination": true,
"legs": [
{
"billing_carrier": "<string>",
"charges": [
{
"amount": {
"cents": 123,
"currency": "<string>",
"dollars": "<string>"
},
"charge_detail": "<string>",
"fuel_surcharge_group_pndr": {
"docket_identifier": "<string>",
"number": "<string>",
"producer": "<string>",
"revision": 123
},
"method_of_payment": "PREPAID",
"per_car_amount": {
"cents": 123,
"currency": "<string>",
"dollars": "<string>"
},
"rate": {
"amount": {
"cents": 123,
"currency": "<string>",
"dollars": "<string>"
},
"car_type_conditions": [
{
"car_type": "ALL_CAR_TYPES",
"sign": "PLUS"
}
],
"docket_column": 123,
"docket_level": 123,
"docket_line": 123,
"docket_sub_level": 123,
"equipment_ownership_conditions": [
"HIGHWAY_CARRIER"
],
"matching_equipment_profile_names": [
"<string>"
],
"pndr": {
"docket_identifier": "<string>",
"number": "<string>",
"producer": "<string>",
"revision": 123
},
"publication": {
"effective_date": "<string>",
"expiration_date": "<string>",
"issuer": "<string>",
"item_number": "<string>",
"number": "<string>",
"suffix": "<string>",
"type": "CONTRACT"
},
"qualifier": "PER_BOARD_FOOT",
"weight_restriction": {
"maximum": {
"amount": {
"value": "<string>"
},
"units": "BOARD_FEET"
},
"minimum": {
"amount": {
"value": "<string>"
},
"units": "BOARD_FEET"
}
}
},
"rated_quantity": {
"amount": {
"value": "<string>"
},
"units": "BOARD_FEET"
},
"special_charge_description": "<string>",
"special_charge_or_allowance_code": "<string>",
"type": "FREIGHT",
"uncomputable_amount": {
"explanation": "<string>",
"reason": "QUANTITY_NOT_SUPPLIED"
}
}
],
"destination": {
"carrier": "<string>",
"city": "<string>",
"fsac": "<string>",
"junction_code": "<string>",
"latitude": 123,
"longitude": 123,
"splc": "<string>",
"state": "<string>"
},
"distance": {
"source": "PC_MILER",
"value": {
"value": "<string>"
}
},
"origin": {
"carrier": "<string>",
"city": "<string>",
"fsac": "<string>",
"junction_code": "<string>",
"latitude": 123,
"longitude": 123,
"splc": "<string>",
"state": "<string>"
},
"publication_charge_class": "PUBLICATION_CHARGE_CLASS_FREIGHT",
"rebill_reason_code": "<string>",
"route": {
"entries": [
{
"carrier": "<string>",
"is_breakpoint": true,
"outbound_junction": "<string>",
"sequence_code": "<string>"
}
],
"val": "<string>"
},
"switch_absorption": {
"absorbed_amount": {
"cents": 123,
"currency": "<string>",
"dollars": "<string>"
},
"absorbed_per_car_amount": {
"cents": 123,
"currency": "<string>",
"dollars": "<string>"
},
"absorbing_carrier": "<string>",
"gross_amount": {
"cents": 123,
"currency": "<string>",
"dollars": "<string>"
},
"gross_per_car_amount": {
"cents": 123,
"currency": "<string>",
"dollars": "<string>"
},
"net_amount": {
"cents": 123,
"currency": "<string>",
"dollars": "<string>"
},
"net_per_car_amount": {
"cents": 123,
"currency": "<string>",
"dollars": "<string>"
},
"role": "<string>"
},
"switch_charge_absorbed": true,
"total": {
"cents": 123,
"currency": "<string>",
"dollars": "<string>"
},
"uncomputable_total": {
"explanation": "<string>",
"reason": "QUANTITY_NOT_SUPPLIED"
},
"unrated": {
"explanation": "<string>",
"reason": "NO_PUBLISHED_RATE"
}
}
],
"method_of_payment": "PREPAID",
"name": "<string>",
"number_of_cars": 123,
"prior_movement_before_origin": true,
"route": {
"entries": [
{
"carrier": "<string>",
"is_breakpoint": true,
"outbound_junction": "<string>",
"sequence_code": "<string>"
}
],
"val": "<string>"
},
"total": {
"cents": 123,
"currency": "<string>",
"dollars": "<string>"
},
"uncomputable_total": {
"explanation": "<string>",
"reason": "QUANTITY_NOT_SUPPLIED"
}
}{
"code": 123,
"details": [
{
"@type": "<string>"
}
],
"message": "<string>"
}Path Parameters
Response
A successful response.
Why a monetary amount is missing — from a Charge, or from a leg or quote total that would have included that charge.
It marks a DIFFERENT thing from UnratedLeg, which says Cedar holds no rate and no price authority for a carrier on the movement. Here the rate is known and is reported in full; only its extension (rate × quantity) is not, because the quantity is not known. The rate applies, the money does not follow from it.
Where this is present, the amount it explains is UNSET rather than zero — a zero would read as "free", which is a claim about the price. Read it as "this number is not knowable from what the request said", never as "this charge does not apply". Present only on a quote: rating a real waybill against a rate it cannot extend is an error, not a partial answer.
Show child attributes
Show child attributes
Was this page helpful?
curl --request GET \
--url https://api-lg-k.arms.cedarai.com/shipper/quotes/{name} \
--header 'x-arms-api-key: <api-key>' \
--header 'x-arms-assume-user: <api-key>'import requests
url = "https://api-lg-k.arms.cedarai.com/shipper/quotes/{name}"
headers = {
"x-arms-api-key": "<api-key>",
"x-arms-assume-user": "<api-key>"
}
response = requests.get(url, headers=headers)
print(response.text)const options = {
method: 'GET',
headers: {'x-arms-api-key': '<api-key>', 'x-arms-assume-user': '<api-key>'}
};
fetch('https://api-lg-k.arms.cedarai.com/shipper/quotes/{name}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api-lg-k.arms.cedarai.com/shipper/quotes/{name}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"x-arms-api-key: <api-key>",
"x-arms-assume-user: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api-lg-k.arms.cedarai.com/shipper/quotes/{name}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("x-arms-api-key", "<api-key>")
req.Header.Add("x-arms-assume-user", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api-lg-k.arms.cedarai.com/shipper/quotes/{name}")
.header("x-arms-api-key", "<api-key>")
.header("x-arms-assume-user", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api-lg-k.arms.cedarai.com/shipper/quotes/{name}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["x-arms-api-key"] = '<api-key>'
request["x-arms-assume-user"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"billing_route": {
"entries": [
{
"carrier": "<string>",
"is_breakpoint": true,
"outbound_junction": "<string>",
"sequence_code": "<string>"
}
],
"val": "<string>"
},
"created_at": "2023-11-07T05:31:56Z",
"distance": {
"source": "PC_MILER",
"value": {
"value": "<string>"
}
},
"furtherance_beyond_destination": true,
"legs": [
{
"billing_carrier": "<string>",
"charges": [
{
"amount": {
"cents": 123,
"currency": "<string>",
"dollars": "<string>"
},
"charge_detail": "<string>",
"fuel_surcharge_group_pndr": {
"docket_identifier": "<string>",
"number": "<string>",
"producer": "<string>",
"revision": 123
},
"method_of_payment": "PREPAID",
"per_car_amount": {
"cents": 123,
"currency": "<string>",
"dollars": "<string>"
},
"rate": {
"amount": {
"cents": 123,
"currency": "<string>",
"dollars": "<string>"
},
"car_type_conditions": [
{
"car_type": "ALL_CAR_TYPES",
"sign": "PLUS"
}
],
"docket_column": 123,
"docket_level": 123,
"docket_line": 123,
"docket_sub_level": 123,
"equipment_ownership_conditions": [
"HIGHWAY_CARRIER"
],
"matching_equipment_profile_names": [
"<string>"
],
"pndr": {
"docket_identifier": "<string>",
"number": "<string>",
"producer": "<string>",
"revision": 123
},
"publication": {
"effective_date": "<string>",
"expiration_date": "<string>",
"issuer": "<string>",
"item_number": "<string>",
"number": "<string>",
"suffix": "<string>",
"type": "CONTRACT"
},
"qualifier": "PER_BOARD_FOOT",
"weight_restriction": {
"maximum": {
"amount": {
"value": "<string>"
},
"units": "BOARD_FEET"
},
"minimum": {
"amount": {
"value": "<string>"
},
"units": "BOARD_FEET"
}
}
},
"rated_quantity": {
"amount": {
"value": "<string>"
},
"units": "BOARD_FEET"
},
"special_charge_description": "<string>",
"special_charge_or_allowance_code": "<string>",
"type": "FREIGHT",
"uncomputable_amount": {
"explanation": "<string>",
"reason": "QUANTITY_NOT_SUPPLIED"
}
}
],
"destination": {
"carrier": "<string>",
"city": "<string>",
"fsac": "<string>",
"junction_code": "<string>",
"latitude": 123,
"longitude": 123,
"splc": "<string>",
"state": "<string>"
},
"distance": {
"source": "PC_MILER",
"value": {
"value": "<string>"
}
},
"origin": {
"carrier": "<string>",
"city": "<string>",
"fsac": "<string>",
"junction_code": "<string>",
"latitude": 123,
"longitude": 123,
"splc": "<string>",
"state": "<string>"
},
"publication_charge_class": "PUBLICATION_CHARGE_CLASS_FREIGHT",
"rebill_reason_code": "<string>",
"route": {
"entries": [
{
"carrier": "<string>",
"is_breakpoint": true,
"outbound_junction": "<string>",
"sequence_code": "<string>"
}
],
"val": "<string>"
},
"switch_absorption": {
"absorbed_amount": {
"cents": 123,
"currency": "<string>",
"dollars": "<string>"
},
"absorbed_per_car_amount": {
"cents": 123,
"currency": "<string>",
"dollars": "<string>"
},
"absorbing_carrier": "<string>",
"gross_amount": {
"cents": 123,
"currency": "<string>",
"dollars": "<string>"
},
"gross_per_car_amount": {
"cents": 123,
"currency": "<string>",
"dollars": "<string>"
},
"net_amount": {
"cents": 123,
"currency": "<string>",
"dollars": "<string>"
},
"net_per_car_amount": {
"cents": 123,
"currency": "<string>",
"dollars": "<string>"
},
"role": "<string>"
},
"switch_charge_absorbed": true,
"total": {
"cents": 123,
"currency": "<string>",
"dollars": "<string>"
},
"uncomputable_total": {
"explanation": "<string>",
"reason": "QUANTITY_NOT_SUPPLIED"
},
"unrated": {
"explanation": "<string>",
"reason": "NO_PUBLISHED_RATE"
}
}
],
"method_of_payment": "PREPAID",
"name": "<string>",
"number_of_cars": 123,
"prior_movement_before_origin": true,
"route": {
"entries": [
{
"carrier": "<string>",
"is_breakpoint": true,
"outbound_junction": "<string>",
"sequence_code": "<string>"
}
],
"val": "<string>"
},
"total": {
"cents": 123,
"currency": "<string>",
"dollars": "<string>"
},
"uncomputable_total": {
"explanation": "<string>",
"reason": "QUANTITY_NOT_SUPPLIED"
}
}{
"code": 123,
"details": [
{
"@type": "<string>"
}
],
"message": "<string>"
}