Skip to main content
PUT
/
t
/
v1
/
load-tender
/
update
Update Truck Load Tender
curl --request PUT \
  --url https://api-lg-k.arms.cedarai.com/t/v1/load-tender/update \
  --header 'Carrier: <carrier>' \
  --header 'Content-Type: application/json' \
  --header 'x-arms-api-key: <api-key>' \
  --header 'x-arms-assume-user: <api-key>' \
  --data '
{
  "truck_load_tender": {
    "bol_handling_requirements": [
      {
        "special_handling_description": "<string>"
      }
    ],
    "business_instructions": [
      {
        "description": "<string>",
        "reference_identification": "<string>",
        "reference_identification_qualifier": "<string>"
      }
    ],
    "date_time_references": [
      {
        "date": "<string>",
        "time": "<string>",
        "time_code": "<string>",
        "time_qualifier": "<string>"
      }
    ],
    "equipment_details": [
      {
        "aar_car_type": "<string>",
        "carrier_code": "<string>",
        "chassis_initial": "<string>",
        "chassis_number": "<string>",
        "check_digit": 123,
        "description_code": "<string>",
        "dunnage": 123,
        "dunnage_measure": {
          "unit": "<string>",
          "value": 123
        },
        "equipment_initial": "<string>",
        "equipment_name": "<string>",
        "equipment_number": "<string>",
        "equipment_ordered": {
          "aar_car_type": "<string>",
          "cubic_capacity": 123,
          "height_inches": 123,
          "length_inches": 123,
          "weight_capacity": 123
        },
        "gross_weight_lbs": 123,
        "gross_weight_measure": {
          "unit": "<string>",
          "value": 123
        },
        "height_in": 123,
        "height_measure": {
          "unit": "<string>",
          "value": 123
        },
        "interchange_move_authorities": [
          {
            "carrier_code": "<string>",
            "movement_authority_code": "<string>",
            "reject_reason_code": "<string>",
            "state_tariff_application_code": "<string>",
            "terminal_tariff_application_code": "<string>"
          }
        ],
        "iso_container_code": "<string>",
        "length_in": 123,
        "length_measure": {
          "unit": "<string>",
          "value": 123
        },
        "net_weight_lbs": 123,
        "net_weight_measure": {
          "unit": "<string>",
          "value": 123
        },
        "ownership_code": "<string>",
        "owning_carrier_code": "<string>",
        "position": "<string>",
        "seal_numbers": [
          "<string>"
        ],
        "shipment_info": [
          {
            "description": "<string>",
            "extended_reference_info": [
              {
                "description": "<string>",
                "reference_id": "<string>",
                "reference_id_qualifier": "<string>",
                "reference_timestamp": "2023-11-07T05:31:56Z"
              }
            ],
            "line_items": [
              {
                "cbp_barcode_number": "<string>",
                "commodity_code": "<string>",
                "commodity_code_qualifier": "<string>",
                "commodity_description": "<string>",
                "currency_code": "<string>",
                "customs_shipment_value": 123,
                "destination_country_code": "<string>",
                "marks_and_numbers": "<string>",
                "origin_country_code": "<string>",
                "quantity": 123,
                "smallest_exterior_package_type": "<string>",
                "weight": 123,
                "weight_unit_code": "<string>"
              }
            ],
            "reference_id": "<string>",
            "reference_id_qualifier": "<string>"
          }
        ],
        "tare_qualifier_code": "<string>",
        "tare_weight_lbs": 123,
        "tare_weight_measure": {
          "unit": "<string>",
          "value": 123
        },
        "terminals": [
          {
            "location_identifier": "<string>",
            "location_qualifier": "<string>",
            "port_name": "<string>",
            "terminal_function_code": "<string>"
          }
        ],
        "weight_allowance": 123,
        "weight_allowance_measure": {
          "unit": "<string>",
          "value": 123
        },
        "weight_type": "WT_ACTUAL",
        "width_in": 123,
        "width_measure": {
          "unit": "<string>",
          "value": 123
        }
      }
    ],
    "interline_information": [
      {
        "routing_sequence_code": "<string>",
        "scac": "<string>",
        "state_or_province_code": "<string>",
        "transportation_method_type_code": "<string>"
      }
    ],
    "notes": [
      {
        "description": "<string>",
        "note_reference_code": "MUTUALLY_DEFINED"
      }
    ],
    "scac": "<string>",
    "shipment_identification_number": "<string>",
    "shipment_parties": [
      {
        "additional_names": [
          "<string>"
        ],
        "address": [
          "<string>"
        ],
        "administrative_contacts": [
          {
            "communication_numbers": [
              {
                "number": "<string>",
                "qualifier": "<string>"
              }
            ],
            "contact_function_code": "<string>",
            "contact_inquiry_reference": "<string>",
            "name": "<string>"
          }
        ],
        "billing_info": [
          {
            "carrier_codes": [
              "<string>"
            ],
            "destination": {
              "city_name": "<string>",
              "country_code": "<string>",
              "fsac": "<string>",
              "postal_code": "<string>",
              "splc": "<string>",
              "state_or_province": "<string>"
            },
            "origin": {
              "city_name": "<string>",
              "country_code": "<string>",
              "fsac": "<string>",
              "postal_code": "<string>",
              "splc": "<string>",
              "state_or_province": "<string>"
            }
          }
        ],
        "city_name": "<string>",
        "country_code": "<string>",
        "country_subdivision_code": "<string>",
        "entity_sub_identifier_code": "<string>",
        "entity_sub_identifier_relationship_code": "<string>",
        "id_code": "<string>",
        "location_identifier": "<string>",
        "location_qualifier": "<string>",
        "location_uuid": "<string>",
        "name": "<string>",
        "postal_code": "<string>",
        "reference_info": [
          {
            "description": "<string>",
            "reference_id": "<string>",
            "reference_id_qualifier": "<string>"
          }
        ],
        "state_or_province": "<string>"
      }
    ],
    "stop_off_details": [
      {
        "bol_handling_requirements": [
          {
            "special_handling_description": "<string>"
          }
        ],
        "date_time_references": [
          {
            "date": "<string>",
            "time": "<string>",
            "time_code": "<string>",
            "time_qualifier": "<string>"
          }
        ],
        "lading_descriptions": [
          {
            "commodity_code": "<string>",
            "commodity_code_qualifier": "<string>",
            "lading_description": "<string>",
            "lading_line_item_number": "<string>",
            "packaging_code": "<string>"
          }
        ],
        "party": {
          "additional_names": [
            "<string>"
          ],
          "address": [
            "<string>"
          ],
          "administrative_contacts": [
            {
              "communication_numbers": [
                {
                  "number": "<string>",
                  "qualifier": "<string>"
                }
              ],
              "contact_function_code": "<string>",
              "contact_inquiry_reference": "<string>",
              "name": "<string>"
            }
          ],
          "billing_info": [
            {
              "carrier_codes": [
                "<string>"
              ],
              "destination": {
                "city_name": "<string>",
                "country_code": "<string>",
                "fsac": "<string>",
                "postal_code": "<string>",
                "splc": "<string>",
                "state_or_province": "<string>"
              },
              "origin": {
                "city_name": "<string>",
                "country_code": "<string>",
                "fsac": "<string>",
                "postal_code": "<string>",
                "splc": "<string>",
                "state_or_province": "<string>"
              }
            }
          ],
          "city_name": "<string>",
          "country_code": "<string>",
          "country_subdivision_code": "<string>",
          "entity_sub_identifier_code": "<string>",
          "entity_sub_identifier_relationship_code": "<string>",
          "id_code": "<string>",
          "location_identifier": "<string>",
          "location_qualifier": "<string>",
          "location_uuid": "<string>",
          "name": "<string>",
          "postal_code": "<string>",
          "reference_info": [
            {
              "description": "<string>",
              "reference_id": "<string>",
              "reference_id_qualifier": "<string>"
            }
          ],
          "state_or_province": "<string>"
        },
        "shipment_weight_packaging_quantity_data": [
          {
            "lading_quantity": 123,
            "lading_quantity_2": 123,
            "weight": 123,
            "weight_2": 123,
            "weight_qualifier": "<string>",
            "weight_qualifier_2": "<string>"
          }
        ],
        "stop_sequence_number": 123,
        "weight": 123
      }
    ],
    "total_weight": 123,
    "truck_load_tender_id": "<string>"
  }
}
'
import requests

url = "https://api-lg-k.arms.cedarai.com/t/v1/load-tender/update"

payload = { "truck_load_tender": {
"bol_handling_requirements": [{ "special_handling_description": "<string>" }],
"business_instructions": [
{
"description": "<string>",
"reference_identification": "<string>",
"reference_identification_qualifier": "<string>"
}
],
"date_time_references": [
{
"date": "<string>",
"time": "<string>",
"time_code": "<string>",
"time_qualifier": "<string>"
}
],
"equipment_details": [
{
"aar_car_type": "<string>",
"carrier_code": "<string>",
"chassis_initial": "<string>",
"chassis_number": "<string>",
"check_digit": 123,
"description_code": "<string>",
"dunnage": 123,
"dunnage_measure": {
"unit": "<string>",
"value": 123
},
"equipment_initial": "<string>",
"equipment_name": "<string>",
"equipment_number": "<string>",
"equipment_ordered": {
"aar_car_type": "<string>",
"cubic_capacity": 123,
"height_inches": 123,
"length_inches": 123,
"weight_capacity": 123
},
"gross_weight_lbs": 123,
"gross_weight_measure": {
"unit": "<string>",
"value": 123
},
"height_in": 123,
"height_measure": {
"unit": "<string>",
"value": 123
},
"interchange_move_authorities": [
{
"carrier_code": "<string>",
"movement_authority_code": "<string>",
"reject_reason_code": "<string>",
"state_tariff_application_code": "<string>",
"terminal_tariff_application_code": "<string>"
}
],
"iso_container_code": "<string>",
"length_in": 123,
"length_measure": {
"unit": "<string>",
"value": 123
},
"net_weight_lbs": 123,
"net_weight_measure": {
"unit": "<string>",
"value": 123
},
"ownership_code": "<string>",
"owning_carrier_code": "<string>",
"position": "<string>",
"seal_numbers": ["<string>"],
"shipment_info": [
{
"description": "<string>",
"extended_reference_info": [
{
"description": "<string>",
"reference_id": "<string>",
"reference_id_qualifier": "<string>",
"reference_timestamp": "2023-11-07T05:31:56Z"
}
],
"line_items": [
{
"cbp_barcode_number": "<string>",
"commodity_code": "<string>",
"commodity_code_qualifier": "<string>",
"commodity_description": "<string>",
"currency_code": "<string>",
"customs_shipment_value": 123,
"destination_country_code": "<string>",
"marks_and_numbers": "<string>",
"origin_country_code": "<string>",
"quantity": 123,
"smallest_exterior_package_type": "<string>",
"weight": 123,
"weight_unit_code": "<string>"
}
],
"reference_id": "<string>",
"reference_id_qualifier": "<string>"
}
],
"tare_qualifier_code": "<string>",
"tare_weight_lbs": 123,
"tare_weight_measure": {
"unit": "<string>",
"value": 123
},
"terminals": [
{
"location_identifier": "<string>",
"location_qualifier": "<string>",
"port_name": "<string>",
"terminal_function_code": "<string>"
}
],
"weight_allowance": 123,
"weight_allowance_measure": {
"unit": "<string>",
"value": 123
},
"weight_type": "WT_ACTUAL",
"width_in": 123,
"width_measure": {
"unit": "<string>",
"value": 123
}
}
],
"interline_information": [
{
"routing_sequence_code": "<string>",
"scac": "<string>",
"state_or_province_code": "<string>",
"transportation_method_type_code": "<string>"
}
],
"notes": [
{
"description": "<string>",
"note_reference_code": "MUTUALLY_DEFINED"
}
],
"scac": "<string>",
"shipment_identification_number": "<string>",
"shipment_parties": [
{
"additional_names": ["<string>"],
"address": ["<string>"],
"administrative_contacts": [
{
"communication_numbers": [
{
"number": "<string>",
"qualifier": "<string>"
}
],
"contact_function_code": "<string>",
"contact_inquiry_reference": "<string>",
"name": "<string>"
}
],
"billing_info": [
{
"carrier_codes": ["<string>"],
"destination": {
"city_name": "<string>",
"country_code": "<string>",
"fsac": "<string>",
"postal_code": "<string>",
"splc": "<string>",
"state_or_province": "<string>"
},
"origin": {
"city_name": "<string>",
"country_code": "<string>",
"fsac": "<string>",
"postal_code": "<string>",
"splc": "<string>",
"state_or_province": "<string>"
}
}
],
"city_name": "<string>",
"country_code": "<string>",
"country_subdivision_code": "<string>",
"entity_sub_identifier_code": "<string>",
"entity_sub_identifier_relationship_code": "<string>",
"id_code": "<string>",
"location_identifier": "<string>",
"location_qualifier": "<string>",
"location_uuid": "<string>",
"name": "<string>",
"postal_code": "<string>",
"reference_info": [
{
"description": "<string>",
"reference_id": "<string>",
"reference_id_qualifier": "<string>"
}
],
"state_or_province": "<string>"
}
],
"stop_off_details": [
{
"bol_handling_requirements": [{ "special_handling_description": "<string>" }],
"date_time_references": [
{
"date": "<string>",
"time": "<string>",
"time_code": "<string>",
"time_qualifier": "<string>"
}
],
"lading_descriptions": [
{
"commodity_code": "<string>",
"commodity_code_qualifier": "<string>",
"lading_description": "<string>",
"lading_line_item_number": "<string>",
"packaging_code": "<string>"
}
],
"party": {
"additional_names": ["<string>"],
"address": ["<string>"],
"administrative_contacts": [
{
"communication_numbers": [
{
"number": "<string>",
"qualifier": "<string>"
}
],
"contact_function_code": "<string>",
"contact_inquiry_reference": "<string>",
"name": "<string>"
}
],
"billing_info": [
{
"carrier_codes": ["<string>"],
"destination": {
"city_name": "<string>",
"country_code": "<string>",
"fsac": "<string>",
"postal_code": "<string>",
"splc": "<string>",
"state_or_province": "<string>"
},
"origin": {
"city_name": "<string>",
"country_code": "<string>",
"fsac": "<string>",
"postal_code": "<string>",
"splc": "<string>",
"state_or_province": "<string>"
}
}
],
"city_name": "<string>",
"country_code": "<string>",
"country_subdivision_code": "<string>",
"entity_sub_identifier_code": "<string>",
"entity_sub_identifier_relationship_code": "<string>",
"id_code": "<string>",
"location_identifier": "<string>",
"location_qualifier": "<string>",
"location_uuid": "<string>",
"name": "<string>",
"postal_code": "<string>",
"reference_info": [
{
"description": "<string>",
"reference_id": "<string>",
"reference_id_qualifier": "<string>"
}
],
"state_or_province": "<string>"
},
"shipment_weight_packaging_quantity_data": [
{
"lading_quantity": 123,
"lading_quantity_2": 123,
"weight": 123,
"weight_2": 123,
"weight_qualifier": "<string>",
"weight_qualifier_2": "<string>"
}
],
"stop_sequence_number": 123,
"weight": 123
}
],
"total_weight": 123,
"truck_load_tender_id": "<string>"
} }
headers = {
"Carrier": "<carrier>",
"x-arms-api-key": "<api-key>",
"x-arms-assume-user": "<api-key>",
"Content-Type": "application/json"
}

response = requests.put(url, json=payload, headers=headers)

print(response.text)
const options = {
method: 'PUT',
headers: {
Carrier: '<carrier>',
'x-arms-api-key': '<api-key>',
'x-arms-assume-user': '<api-key>',
'Content-Type': 'application/json'
},
body: JSON.stringify({
truck_load_tender: {
bol_handling_requirements: [{special_handling_description: '<string>'}],
business_instructions: [
{
description: '<string>',
reference_identification: '<string>',
reference_identification_qualifier: '<string>'
}
],
date_time_references: [
{
date: '<string>',
time: '<string>',
time_code: '<string>',
time_qualifier: '<string>'
}
],
equipment_details: [
{
aar_car_type: '<string>',
carrier_code: '<string>',
chassis_initial: '<string>',
chassis_number: '<string>',
check_digit: 123,
description_code: '<string>',
dunnage: 123,
dunnage_measure: {unit: '<string>', value: 123},
equipment_initial: '<string>',
equipment_name: '<string>',
equipment_number: '<string>',
equipment_ordered: {
aar_car_type: '<string>',
cubic_capacity: 123,
height_inches: 123,
length_inches: 123,
weight_capacity: 123
},
gross_weight_lbs: 123,
gross_weight_measure: {unit: '<string>', value: 123},
height_in: 123,
height_measure: {unit: '<string>', value: 123},
interchange_move_authorities: [
{
carrier_code: '<string>',
movement_authority_code: '<string>',
reject_reason_code: '<string>',
state_tariff_application_code: '<string>',
terminal_tariff_application_code: '<string>'
}
],
iso_container_code: '<string>',
length_in: 123,
length_measure: {unit: '<string>', value: 123},
net_weight_lbs: 123,
net_weight_measure: {unit: '<string>', value: 123},
ownership_code: '<string>',
owning_carrier_code: '<string>',
position: '<string>',
seal_numbers: ['<string>'],
shipment_info: [
{
description: '<string>',
extended_reference_info: [
{
description: '<string>',
reference_id: '<string>',
reference_id_qualifier: '<string>',
reference_timestamp: '2023-11-07T05:31:56Z'
}
],
line_items: [
{
cbp_barcode_number: '<string>',
commodity_code: '<string>',
commodity_code_qualifier: '<string>',
commodity_description: '<string>',
currency_code: '<string>',
customs_shipment_value: 123,
destination_country_code: '<string>',
marks_and_numbers: '<string>',
origin_country_code: '<string>',
quantity: 123,
smallest_exterior_package_type: '<string>',
weight: 123,
weight_unit_code: '<string>'
}
],
reference_id: '<string>',
reference_id_qualifier: '<string>'
}
],
tare_qualifier_code: '<string>',
tare_weight_lbs: 123,
tare_weight_measure: {unit: '<string>', value: 123},
terminals: [
{
location_identifier: '<string>',
location_qualifier: '<string>',
port_name: '<string>',
terminal_function_code: '<string>'
}
],
weight_allowance: 123,
weight_allowance_measure: {unit: '<string>', value: 123},
weight_type: 'WT_ACTUAL',
width_in: 123,
width_measure: {unit: '<string>', value: 123}
}
],
interline_information: [
{
routing_sequence_code: '<string>',
scac: '<string>',
state_or_province_code: '<string>',
transportation_method_type_code: '<string>'
}
],
notes: [{description: '<string>', note_reference_code: 'MUTUALLY_DEFINED'}],
scac: '<string>',
shipment_identification_number: '<string>',
shipment_parties: [
{
additional_names: ['<string>'],
address: ['<string>'],
administrative_contacts: [
{
communication_numbers: [{number: '<string>', qualifier: '<string>'}],
contact_function_code: '<string>',
contact_inquiry_reference: '<string>',
name: '<string>'
}
],
billing_info: [
{
carrier_codes: ['<string>'],
destination: {
city_name: '<string>',
country_code: '<string>',
fsac: '<string>',
postal_code: '<string>',
splc: '<string>',
state_or_province: '<string>'
},
origin: {
city_name: '<string>',
country_code: '<string>',
fsac: '<string>',
postal_code: '<string>',
splc: '<string>',
state_or_province: '<string>'
}
}
],
city_name: '<string>',
country_code: '<string>',
country_subdivision_code: '<string>',
entity_sub_identifier_code: '<string>',
entity_sub_identifier_relationship_code: '<string>',
id_code: '<string>',
location_identifier: '<string>',
location_qualifier: '<string>',
location_uuid: '<string>',
name: '<string>',
postal_code: '<string>',
reference_info: [
{
description: '<string>',
reference_id: '<string>',
reference_id_qualifier: '<string>'
}
],
state_or_province: '<string>'
}
],
stop_off_details: [
{
bol_handling_requirements: [{special_handling_description: '<string>'}],
date_time_references: [
{
date: '<string>',
time: '<string>',
time_code: '<string>',
time_qualifier: '<string>'
}
],
lading_descriptions: [
{
commodity_code: '<string>',
commodity_code_qualifier: '<string>',
lading_description: '<string>',
lading_line_item_number: '<string>',
packaging_code: '<string>'
}
],
party: {
additional_names: ['<string>'],
address: ['<string>'],
administrative_contacts: [
{
communication_numbers: [{number: '<string>', qualifier: '<string>'}],
contact_function_code: '<string>',
contact_inquiry_reference: '<string>',
name: '<string>'
}
],
billing_info: [
{
carrier_codes: ['<string>'],
destination: {
city_name: '<string>',
country_code: '<string>',
fsac: '<string>',
postal_code: '<string>',
splc: '<string>',
state_or_province: '<string>'
},
origin: {
city_name: '<string>',
country_code: '<string>',
fsac: '<string>',
postal_code: '<string>',
splc: '<string>',
state_or_province: '<string>'
}
}
],
city_name: '<string>',
country_code: '<string>',
country_subdivision_code: '<string>',
entity_sub_identifier_code: '<string>',
entity_sub_identifier_relationship_code: '<string>',
id_code: '<string>',
location_identifier: '<string>',
location_qualifier: '<string>',
location_uuid: '<string>',
name: '<string>',
postal_code: '<string>',
reference_info: [
{
description: '<string>',
reference_id: '<string>',
reference_id_qualifier: '<string>'
}
],
state_or_province: '<string>'
},
shipment_weight_packaging_quantity_data: [
{
lading_quantity: 123,
lading_quantity_2: 123,
weight: 123,
weight_2: 123,
weight_qualifier: '<string>',
weight_qualifier_2: '<string>'
}
],
stop_sequence_number: 123,
weight: 123
}
],
total_weight: 123,
truck_load_tender_id: '<string>'
}
})
};

fetch('https://api-lg-k.arms.cedarai.com/t/v1/load-tender/update', 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/t/v1/load-tender/update",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "PUT",
CURLOPT_POSTFIELDS => json_encode([
'truck_load_tender' => [
'bol_handling_requirements' => [
[
'special_handling_description' => '<string>'
]
],
'business_instructions' => [
[
'description' => '<string>',
'reference_identification' => '<string>',
'reference_identification_qualifier' => '<string>'
]
],
'date_time_references' => [
[
'date' => '<string>',
'time' => '<string>',
'time_code' => '<string>',
'time_qualifier' => '<string>'
]
],
'equipment_details' => [
[
'aar_car_type' => '<string>',
'carrier_code' => '<string>',
'chassis_initial' => '<string>',
'chassis_number' => '<string>',
'check_digit' => 123,
'description_code' => '<string>',
'dunnage' => 123,
'dunnage_measure' => [
'unit' => '<string>',
'value' => 123
],
'equipment_initial' => '<string>',
'equipment_name' => '<string>',
'equipment_number' => '<string>',
'equipment_ordered' => [
'aar_car_type' => '<string>',
'cubic_capacity' => 123,
'height_inches' => 123,
'length_inches' => 123,
'weight_capacity' => 123
],
'gross_weight_lbs' => 123,
'gross_weight_measure' => [
'unit' => '<string>',
'value' => 123
],
'height_in' => 123,
'height_measure' => [
'unit' => '<string>',
'value' => 123
],
'interchange_move_authorities' => [
[
'carrier_code' => '<string>',
'movement_authority_code' => '<string>',
'reject_reason_code' => '<string>',
'state_tariff_application_code' => '<string>',
'terminal_tariff_application_code' => '<string>'
]
],
'iso_container_code' => '<string>',
'length_in' => 123,
'length_measure' => [
'unit' => '<string>',
'value' => 123
],
'net_weight_lbs' => 123,
'net_weight_measure' => [
'unit' => '<string>',
'value' => 123
],
'ownership_code' => '<string>',
'owning_carrier_code' => '<string>',
'position' => '<string>',
'seal_numbers' => [
'<string>'
],
'shipment_info' => [
[
'description' => '<string>',
'extended_reference_info' => [
[
'description' => '<string>',
'reference_id' => '<string>',
'reference_id_qualifier' => '<string>',
'reference_timestamp' => '2023-11-07T05:31:56Z'
]
],
'line_items' => [
[
'cbp_barcode_number' => '<string>',
'commodity_code' => '<string>',
'commodity_code_qualifier' => '<string>',
'commodity_description' => '<string>',
'currency_code' => '<string>',
'customs_shipment_value' => 123,
'destination_country_code' => '<string>',
'marks_and_numbers' => '<string>',
'origin_country_code' => '<string>',
'quantity' => 123,
'smallest_exterior_package_type' => '<string>',
'weight' => 123,
'weight_unit_code' => '<string>'
]
],
'reference_id' => '<string>',
'reference_id_qualifier' => '<string>'
]
],
'tare_qualifier_code' => '<string>',
'tare_weight_lbs' => 123,
'tare_weight_measure' => [
'unit' => '<string>',
'value' => 123
],
'terminals' => [
[
'location_identifier' => '<string>',
'location_qualifier' => '<string>',
'port_name' => '<string>',
'terminal_function_code' => '<string>'
]
],
'weight_allowance' => 123,
'weight_allowance_measure' => [
'unit' => '<string>',
'value' => 123
],
'weight_type' => 'WT_ACTUAL',
'width_in' => 123,
'width_measure' => [
'unit' => '<string>',
'value' => 123
]
]
],
'interline_information' => [
[
'routing_sequence_code' => '<string>',
'scac' => '<string>',
'state_or_province_code' => '<string>',
'transportation_method_type_code' => '<string>'
]
],
'notes' => [
[
'description' => '<string>',
'note_reference_code' => 'MUTUALLY_DEFINED'
]
],
'scac' => '<string>',
'shipment_identification_number' => '<string>',
'shipment_parties' => [
[
'additional_names' => [
'<string>'
],
'address' => [
'<string>'
],
'administrative_contacts' => [
[
'communication_numbers' => [
[
'number' => '<string>',
'qualifier' => '<string>'
]
],
'contact_function_code' => '<string>',
'contact_inquiry_reference' => '<string>',
'name' => '<string>'
]
],
'billing_info' => [
[
'carrier_codes' => [
'<string>'
],
'destination' => [
'city_name' => '<string>',
'country_code' => '<string>',
'fsac' => '<string>',
'postal_code' => '<string>',
'splc' => '<string>',
'state_or_province' => '<string>'
],
'origin' => [
'city_name' => '<string>',
'country_code' => '<string>',
'fsac' => '<string>',
'postal_code' => '<string>',
'splc' => '<string>',
'state_or_province' => '<string>'
]
]
],
'city_name' => '<string>',
'country_code' => '<string>',
'country_subdivision_code' => '<string>',
'entity_sub_identifier_code' => '<string>',
'entity_sub_identifier_relationship_code' => '<string>',
'id_code' => '<string>',
'location_identifier' => '<string>',
'location_qualifier' => '<string>',
'location_uuid' => '<string>',
'name' => '<string>',
'postal_code' => '<string>',
'reference_info' => [
[
'description' => '<string>',
'reference_id' => '<string>',
'reference_id_qualifier' => '<string>'
]
],
'state_or_province' => '<string>'
]
],
'stop_off_details' => [
[
'bol_handling_requirements' => [
[
'special_handling_description' => '<string>'
]
],
'date_time_references' => [
[
'date' => '<string>',
'time' => '<string>',
'time_code' => '<string>',
'time_qualifier' => '<string>'
]
],
'lading_descriptions' => [
[
'commodity_code' => '<string>',
'commodity_code_qualifier' => '<string>',
'lading_description' => '<string>',
'lading_line_item_number' => '<string>',
'packaging_code' => '<string>'
]
],
'party' => [
'additional_names' => [
'<string>'
],
'address' => [
'<string>'
],
'administrative_contacts' => [
[
'communication_numbers' => [
[
'number' => '<string>',
'qualifier' => '<string>'
]
],
'contact_function_code' => '<string>',
'contact_inquiry_reference' => '<string>',
'name' => '<string>'
]
],
'billing_info' => [
[
'carrier_codes' => [
'<string>'
],
'destination' => [
'city_name' => '<string>',
'country_code' => '<string>',
'fsac' => '<string>',
'postal_code' => '<string>',
'splc' => '<string>',
'state_or_province' => '<string>'
],
'origin' => [
'city_name' => '<string>',
'country_code' => '<string>',
'fsac' => '<string>',
'postal_code' => '<string>',
'splc' => '<string>',
'state_or_province' => '<string>'
]
]
],
'city_name' => '<string>',
'country_code' => '<string>',
'country_subdivision_code' => '<string>',
'entity_sub_identifier_code' => '<string>',
'entity_sub_identifier_relationship_code' => '<string>',
'id_code' => '<string>',
'location_identifier' => '<string>',
'location_qualifier' => '<string>',
'location_uuid' => '<string>',
'name' => '<string>',
'postal_code' => '<string>',
'reference_info' => [
[
'description' => '<string>',
'reference_id' => '<string>',
'reference_id_qualifier' => '<string>'
]
],
'state_or_province' => '<string>'
],
'shipment_weight_packaging_quantity_data' => [
[
'lading_quantity' => 123,
'lading_quantity_2' => 123,
'weight' => 123,
'weight_2' => 123,
'weight_qualifier' => '<string>',
'weight_qualifier_2' => '<string>'
]
],
'stop_sequence_number' => 123,
'weight' => 123
]
],
'total_weight' => 123,
'truck_load_tender_id' => '<string>'
]
]),
CURLOPT_HTTPHEADER => [
"Carrier: <carrier>",
"Content-Type: application/json",
"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"
"strings"
"net/http"
"io"
)

func main() {

url := "https://api-lg-k.arms.cedarai.com/t/v1/load-tender/update"

payload := strings.NewReader("{\n \"truck_load_tender\": {\n \"bol_handling_requirements\": [\n {\n \"special_handling_description\": \"<string>\"\n }\n ],\n \"business_instructions\": [\n {\n \"description\": \"<string>\",\n \"reference_identification\": \"<string>\",\n \"reference_identification_qualifier\": \"<string>\"\n }\n ],\n \"date_time_references\": [\n {\n \"date\": \"<string>\",\n \"time\": \"<string>\",\n \"time_code\": \"<string>\",\n \"time_qualifier\": \"<string>\"\n }\n ],\n \"equipment_details\": [\n {\n \"aar_car_type\": \"<string>\",\n \"carrier_code\": \"<string>\",\n \"chassis_initial\": \"<string>\",\n \"chassis_number\": \"<string>\",\n \"check_digit\": 123,\n \"description_code\": \"<string>\",\n \"dunnage\": 123,\n \"dunnage_measure\": {\n \"unit\": \"<string>\",\n \"value\": 123\n },\n \"equipment_initial\": \"<string>\",\n \"equipment_name\": \"<string>\",\n \"equipment_number\": \"<string>\",\n \"equipment_ordered\": {\n \"aar_car_type\": \"<string>\",\n \"cubic_capacity\": 123,\n \"height_inches\": 123,\n \"length_inches\": 123,\n \"weight_capacity\": 123\n },\n \"gross_weight_lbs\": 123,\n \"gross_weight_measure\": {\n \"unit\": \"<string>\",\n \"value\": 123\n },\n \"height_in\": 123,\n \"height_measure\": {\n \"unit\": \"<string>\",\n \"value\": 123\n },\n \"interchange_move_authorities\": [\n {\n \"carrier_code\": \"<string>\",\n \"movement_authority_code\": \"<string>\",\n \"reject_reason_code\": \"<string>\",\n \"state_tariff_application_code\": \"<string>\",\n \"terminal_tariff_application_code\": \"<string>\"\n }\n ],\n \"iso_container_code\": \"<string>\",\n \"length_in\": 123,\n \"length_measure\": {\n \"unit\": \"<string>\",\n \"value\": 123\n },\n \"net_weight_lbs\": 123,\n \"net_weight_measure\": {\n \"unit\": \"<string>\",\n \"value\": 123\n },\n \"ownership_code\": \"<string>\",\n \"owning_carrier_code\": \"<string>\",\n \"position\": \"<string>\",\n \"seal_numbers\": [\n \"<string>\"\n ],\n \"shipment_info\": [\n {\n \"description\": \"<string>\",\n \"extended_reference_info\": [\n {\n \"description\": \"<string>\",\n \"reference_id\": \"<string>\",\n \"reference_id_qualifier\": \"<string>\",\n \"reference_timestamp\": \"2023-11-07T05:31:56Z\"\n }\n ],\n \"line_items\": [\n {\n \"cbp_barcode_number\": \"<string>\",\n \"commodity_code\": \"<string>\",\n \"commodity_code_qualifier\": \"<string>\",\n \"commodity_description\": \"<string>\",\n \"currency_code\": \"<string>\",\n \"customs_shipment_value\": 123,\n \"destination_country_code\": \"<string>\",\n \"marks_and_numbers\": \"<string>\",\n \"origin_country_code\": \"<string>\",\n \"quantity\": 123,\n \"smallest_exterior_package_type\": \"<string>\",\n \"weight\": 123,\n \"weight_unit_code\": \"<string>\"\n }\n ],\n \"reference_id\": \"<string>\",\n \"reference_id_qualifier\": \"<string>\"\n }\n ],\n \"tare_qualifier_code\": \"<string>\",\n \"tare_weight_lbs\": 123,\n \"tare_weight_measure\": {\n \"unit\": \"<string>\",\n \"value\": 123\n },\n \"terminals\": [\n {\n \"location_identifier\": \"<string>\",\n \"location_qualifier\": \"<string>\",\n \"port_name\": \"<string>\",\n \"terminal_function_code\": \"<string>\"\n }\n ],\n \"weight_allowance\": 123,\n \"weight_allowance_measure\": {\n \"unit\": \"<string>\",\n \"value\": 123\n },\n \"weight_type\": \"WT_ACTUAL\",\n \"width_in\": 123,\n \"width_measure\": {\n \"unit\": \"<string>\",\n \"value\": 123\n }\n }\n ],\n \"interline_information\": [\n {\n \"routing_sequence_code\": \"<string>\",\n \"scac\": \"<string>\",\n \"state_or_province_code\": \"<string>\",\n \"transportation_method_type_code\": \"<string>\"\n }\n ],\n \"notes\": [\n {\n \"description\": \"<string>\",\n \"note_reference_code\": \"MUTUALLY_DEFINED\"\n }\n ],\n \"scac\": \"<string>\",\n \"shipment_identification_number\": \"<string>\",\n \"shipment_parties\": [\n {\n \"additional_names\": [\n \"<string>\"\n ],\n \"address\": [\n \"<string>\"\n ],\n \"administrative_contacts\": [\n {\n \"communication_numbers\": [\n {\n \"number\": \"<string>\",\n \"qualifier\": \"<string>\"\n }\n ],\n \"contact_function_code\": \"<string>\",\n \"contact_inquiry_reference\": \"<string>\",\n \"name\": \"<string>\"\n }\n ],\n \"billing_info\": [\n {\n \"carrier_codes\": [\n \"<string>\"\n ],\n \"destination\": {\n \"city_name\": \"<string>\",\n \"country_code\": \"<string>\",\n \"fsac\": \"<string>\",\n \"postal_code\": \"<string>\",\n \"splc\": \"<string>\",\n \"state_or_province\": \"<string>\"\n },\n \"origin\": {\n \"city_name\": \"<string>\",\n \"country_code\": \"<string>\",\n \"fsac\": \"<string>\",\n \"postal_code\": \"<string>\",\n \"splc\": \"<string>\",\n \"state_or_province\": \"<string>\"\n }\n }\n ],\n \"city_name\": \"<string>\",\n \"country_code\": \"<string>\",\n \"country_subdivision_code\": \"<string>\",\n \"entity_sub_identifier_code\": \"<string>\",\n \"entity_sub_identifier_relationship_code\": \"<string>\",\n \"id_code\": \"<string>\",\n \"location_identifier\": \"<string>\",\n \"location_qualifier\": \"<string>\",\n \"location_uuid\": \"<string>\",\n \"name\": \"<string>\",\n \"postal_code\": \"<string>\",\n \"reference_info\": [\n {\n \"description\": \"<string>\",\n \"reference_id\": \"<string>\",\n \"reference_id_qualifier\": \"<string>\"\n }\n ],\n \"state_or_province\": \"<string>\"\n }\n ],\n \"stop_off_details\": [\n {\n \"bol_handling_requirements\": [\n {\n \"special_handling_description\": \"<string>\"\n }\n ],\n \"date_time_references\": [\n {\n \"date\": \"<string>\",\n \"time\": \"<string>\",\n \"time_code\": \"<string>\",\n \"time_qualifier\": \"<string>\"\n }\n ],\n \"lading_descriptions\": [\n {\n \"commodity_code\": \"<string>\",\n \"commodity_code_qualifier\": \"<string>\",\n \"lading_description\": \"<string>\",\n \"lading_line_item_number\": \"<string>\",\n \"packaging_code\": \"<string>\"\n }\n ],\n \"party\": {\n \"additional_names\": [\n \"<string>\"\n ],\n \"address\": [\n \"<string>\"\n ],\n \"administrative_contacts\": [\n {\n \"communication_numbers\": [\n {\n \"number\": \"<string>\",\n \"qualifier\": \"<string>\"\n }\n ],\n \"contact_function_code\": \"<string>\",\n \"contact_inquiry_reference\": \"<string>\",\n \"name\": \"<string>\"\n }\n ],\n \"billing_info\": [\n {\n \"carrier_codes\": [\n \"<string>\"\n ],\n \"destination\": {\n \"city_name\": \"<string>\",\n \"country_code\": \"<string>\",\n \"fsac\": \"<string>\",\n \"postal_code\": \"<string>\",\n \"splc\": \"<string>\",\n \"state_or_province\": \"<string>\"\n },\n \"origin\": {\n \"city_name\": \"<string>\",\n \"country_code\": \"<string>\",\n \"fsac\": \"<string>\",\n \"postal_code\": \"<string>\",\n \"splc\": \"<string>\",\n \"state_or_province\": \"<string>\"\n }\n }\n ],\n \"city_name\": \"<string>\",\n \"country_code\": \"<string>\",\n \"country_subdivision_code\": \"<string>\",\n \"entity_sub_identifier_code\": \"<string>\",\n \"entity_sub_identifier_relationship_code\": \"<string>\",\n \"id_code\": \"<string>\",\n \"location_identifier\": \"<string>\",\n \"location_qualifier\": \"<string>\",\n \"location_uuid\": \"<string>\",\n \"name\": \"<string>\",\n \"postal_code\": \"<string>\",\n \"reference_info\": [\n {\n \"description\": \"<string>\",\n \"reference_id\": \"<string>\",\n \"reference_id_qualifier\": \"<string>\"\n }\n ],\n \"state_or_province\": \"<string>\"\n },\n \"shipment_weight_packaging_quantity_data\": [\n {\n \"lading_quantity\": 123,\n \"lading_quantity_2\": 123,\n \"weight\": 123,\n \"weight_2\": 123,\n \"weight_qualifier\": \"<string>\",\n \"weight_qualifier_2\": \"<string>\"\n }\n ],\n \"stop_sequence_number\": 123,\n \"weight\": 123\n }\n ],\n \"total_weight\": 123,\n \"truck_load_tender_id\": \"<string>\"\n }\n}")

req, _ := http.NewRequest("PUT", url, payload)

req.Header.Add("Carrier", "<carrier>")
req.Header.Add("x-arms-api-key", "<api-key>")
req.Header.Add("x-arms-assume-user", "<api-key>")
req.Header.Add("Content-Type", "application/json")

res, _ := http.DefaultClient.Do(req)

defer res.Body.Close()
body, _ := io.ReadAll(res.Body)

fmt.Println(string(body))

}
HttpResponse<String> response = Unirest.put("https://api-lg-k.arms.cedarai.com/t/v1/load-tender/update")
.header("Carrier", "<carrier>")
.header("x-arms-api-key", "<api-key>")
.header("x-arms-assume-user", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"truck_load_tender\": {\n \"bol_handling_requirements\": [\n {\n \"special_handling_description\": \"<string>\"\n }\n ],\n \"business_instructions\": [\n {\n \"description\": \"<string>\",\n \"reference_identification\": \"<string>\",\n \"reference_identification_qualifier\": \"<string>\"\n }\n ],\n \"date_time_references\": [\n {\n \"date\": \"<string>\",\n \"time\": \"<string>\",\n \"time_code\": \"<string>\",\n \"time_qualifier\": \"<string>\"\n }\n ],\n \"equipment_details\": [\n {\n \"aar_car_type\": \"<string>\",\n \"carrier_code\": \"<string>\",\n \"chassis_initial\": \"<string>\",\n \"chassis_number\": \"<string>\",\n \"check_digit\": 123,\n \"description_code\": \"<string>\",\n \"dunnage\": 123,\n \"dunnage_measure\": {\n \"unit\": \"<string>\",\n \"value\": 123\n },\n \"equipment_initial\": \"<string>\",\n \"equipment_name\": \"<string>\",\n \"equipment_number\": \"<string>\",\n \"equipment_ordered\": {\n \"aar_car_type\": \"<string>\",\n \"cubic_capacity\": 123,\n \"height_inches\": 123,\n \"length_inches\": 123,\n \"weight_capacity\": 123\n },\n \"gross_weight_lbs\": 123,\n \"gross_weight_measure\": {\n \"unit\": \"<string>\",\n \"value\": 123\n },\n \"height_in\": 123,\n \"height_measure\": {\n \"unit\": \"<string>\",\n \"value\": 123\n },\n \"interchange_move_authorities\": [\n {\n \"carrier_code\": \"<string>\",\n \"movement_authority_code\": \"<string>\",\n \"reject_reason_code\": \"<string>\",\n \"state_tariff_application_code\": \"<string>\",\n \"terminal_tariff_application_code\": \"<string>\"\n }\n ],\n \"iso_container_code\": \"<string>\",\n \"length_in\": 123,\n \"length_measure\": {\n \"unit\": \"<string>\",\n \"value\": 123\n },\n \"net_weight_lbs\": 123,\n \"net_weight_measure\": {\n \"unit\": \"<string>\",\n \"value\": 123\n },\n \"ownership_code\": \"<string>\",\n \"owning_carrier_code\": \"<string>\",\n \"position\": \"<string>\",\n \"seal_numbers\": [\n \"<string>\"\n ],\n \"shipment_info\": [\n {\n \"description\": \"<string>\",\n \"extended_reference_info\": [\n {\n \"description\": \"<string>\",\n \"reference_id\": \"<string>\",\n \"reference_id_qualifier\": \"<string>\",\n \"reference_timestamp\": \"2023-11-07T05:31:56Z\"\n }\n ],\n \"line_items\": [\n {\n \"cbp_barcode_number\": \"<string>\",\n \"commodity_code\": \"<string>\",\n \"commodity_code_qualifier\": \"<string>\",\n \"commodity_description\": \"<string>\",\n \"currency_code\": \"<string>\",\n \"customs_shipment_value\": 123,\n \"destination_country_code\": \"<string>\",\n \"marks_and_numbers\": \"<string>\",\n \"origin_country_code\": \"<string>\",\n \"quantity\": 123,\n \"smallest_exterior_package_type\": \"<string>\",\n \"weight\": 123,\n \"weight_unit_code\": \"<string>\"\n }\n ],\n \"reference_id\": \"<string>\",\n \"reference_id_qualifier\": \"<string>\"\n }\n ],\n \"tare_qualifier_code\": \"<string>\",\n \"tare_weight_lbs\": 123,\n \"tare_weight_measure\": {\n \"unit\": \"<string>\",\n \"value\": 123\n },\n \"terminals\": [\n {\n \"location_identifier\": \"<string>\",\n \"location_qualifier\": \"<string>\",\n \"port_name\": \"<string>\",\n \"terminal_function_code\": \"<string>\"\n }\n ],\n \"weight_allowance\": 123,\n \"weight_allowance_measure\": {\n \"unit\": \"<string>\",\n \"value\": 123\n },\n \"weight_type\": \"WT_ACTUAL\",\n \"width_in\": 123,\n \"width_measure\": {\n \"unit\": \"<string>\",\n \"value\": 123\n }\n }\n ],\n \"interline_information\": [\n {\n \"routing_sequence_code\": \"<string>\",\n \"scac\": \"<string>\",\n \"state_or_province_code\": \"<string>\",\n \"transportation_method_type_code\": \"<string>\"\n }\n ],\n \"notes\": [\n {\n \"description\": \"<string>\",\n \"note_reference_code\": \"MUTUALLY_DEFINED\"\n }\n ],\n \"scac\": \"<string>\",\n \"shipment_identification_number\": \"<string>\",\n \"shipment_parties\": [\n {\n \"additional_names\": [\n \"<string>\"\n ],\n \"address\": [\n \"<string>\"\n ],\n \"administrative_contacts\": [\n {\n \"communication_numbers\": [\n {\n \"number\": \"<string>\",\n \"qualifier\": \"<string>\"\n }\n ],\n \"contact_function_code\": \"<string>\",\n \"contact_inquiry_reference\": \"<string>\",\n \"name\": \"<string>\"\n }\n ],\n \"billing_info\": [\n {\n \"carrier_codes\": [\n \"<string>\"\n ],\n \"destination\": {\n \"city_name\": \"<string>\",\n \"country_code\": \"<string>\",\n \"fsac\": \"<string>\",\n \"postal_code\": \"<string>\",\n \"splc\": \"<string>\",\n \"state_or_province\": \"<string>\"\n },\n \"origin\": {\n \"city_name\": \"<string>\",\n \"country_code\": \"<string>\",\n \"fsac\": \"<string>\",\n \"postal_code\": \"<string>\",\n \"splc\": \"<string>\",\n \"state_or_province\": \"<string>\"\n }\n }\n ],\n \"city_name\": \"<string>\",\n \"country_code\": \"<string>\",\n \"country_subdivision_code\": \"<string>\",\n \"entity_sub_identifier_code\": \"<string>\",\n \"entity_sub_identifier_relationship_code\": \"<string>\",\n \"id_code\": \"<string>\",\n \"location_identifier\": \"<string>\",\n \"location_qualifier\": \"<string>\",\n \"location_uuid\": \"<string>\",\n \"name\": \"<string>\",\n \"postal_code\": \"<string>\",\n \"reference_info\": [\n {\n \"description\": \"<string>\",\n \"reference_id\": \"<string>\",\n \"reference_id_qualifier\": \"<string>\"\n }\n ],\n \"state_or_province\": \"<string>\"\n }\n ],\n \"stop_off_details\": [\n {\n \"bol_handling_requirements\": [\n {\n \"special_handling_description\": \"<string>\"\n }\n ],\n \"date_time_references\": [\n {\n \"date\": \"<string>\",\n \"time\": \"<string>\",\n \"time_code\": \"<string>\",\n \"time_qualifier\": \"<string>\"\n }\n ],\n \"lading_descriptions\": [\n {\n \"commodity_code\": \"<string>\",\n \"commodity_code_qualifier\": \"<string>\",\n \"lading_description\": \"<string>\",\n \"lading_line_item_number\": \"<string>\",\n \"packaging_code\": \"<string>\"\n }\n ],\n \"party\": {\n \"additional_names\": [\n \"<string>\"\n ],\n \"address\": [\n \"<string>\"\n ],\n \"administrative_contacts\": [\n {\n \"communication_numbers\": [\n {\n \"number\": \"<string>\",\n \"qualifier\": \"<string>\"\n }\n ],\n \"contact_function_code\": \"<string>\",\n \"contact_inquiry_reference\": \"<string>\",\n \"name\": \"<string>\"\n }\n ],\n \"billing_info\": [\n {\n \"carrier_codes\": [\n \"<string>\"\n ],\n \"destination\": {\n \"city_name\": \"<string>\",\n \"country_code\": \"<string>\",\n \"fsac\": \"<string>\",\n \"postal_code\": \"<string>\",\n \"splc\": \"<string>\",\n \"state_or_province\": \"<string>\"\n },\n \"origin\": {\n \"city_name\": \"<string>\",\n \"country_code\": \"<string>\",\n \"fsac\": \"<string>\",\n \"postal_code\": \"<string>\",\n \"splc\": \"<string>\",\n \"state_or_province\": \"<string>\"\n }\n }\n ],\n \"city_name\": \"<string>\",\n \"country_code\": \"<string>\",\n \"country_subdivision_code\": \"<string>\",\n \"entity_sub_identifier_code\": \"<string>\",\n \"entity_sub_identifier_relationship_code\": \"<string>\",\n \"id_code\": \"<string>\",\n \"location_identifier\": \"<string>\",\n \"location_qualifier\": \"<string>\",\n \"location_uuid\": \"<string>\",\n \"name\": \"<string>\",\n \"postal_code\": \"<string>\",\n \"reference_info\": [\n {\n \"description\": \"<string>\",\n \"reference_id\": \"<string>\",\n \"reference_id_qualifier\": \"<string>\"\n }\n ],\n \"state_or_province\": \"<string>\"\n },\n \"shipment_weight_packaging_quantity_data\": [\n {\n \"lading_quantity\": 123,\n \"lading_quantity_2\": 123,\n \"weight\": 123,\n \"weight_2\": 123,\n \"weight_qualifier\": \"<string>\",\n \"weight_qualifier_2\": \"<string>\"\n }\n ],\n \"stop_sequence_number\": 123,\n \"weight\": 123\n }\n ],\n \"total_weight\": 123,\n \"truck_load_tender_id\": \"<string>\"\n }\n}")
.asString();
require 'uri'
require 'net/http'

url = URI("https://api-lg-k.arms.cedarai.com/t/v1/load-tender/update")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Put.new(url)
request["Carrier"] = '<carrier>'
request["x-arms-api-key"] = '<api-key>'
request["x-arms-assume-user"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"truck_load_tender\": {\n \"bol_handling_requirements\": [\n {\n \"special_handling_description\": \"<string>\"\n }\n ],\n \"business_instructions\": [\n {\n \"description\": \"<string>\",\n \"reference_identification\": \"<string>\",\n \"reference_identification_qualifier\": \"<string>\"\n }\n ],\n \"date_time_references\": [\n {\n \"date\": \"<string>\",\n \"time\": \"<string>\",\n \"time_code\": \"<string>\",\n \"time_qualifier\": \"<string>\"\n }\n ],\n \"equipment_details\": [\n {\n \"aar_car_type\": \"<string>\",\n \"carrier_code\": \"<string>\",\n \"chassis_initial\": \"<string>\",\n \"chassis_number\": \"<string>\",\n \"check_digit\": 123,\n \"description_code\": \"<string>\",\n \"dunnage\": 123,\n \"dunnage_measure\": {\n \"unit\": \"<string>\",\n \"value\": 123\n },\n \"equipment_initial\": \"<string>\",\n \"equipment_name\": \"<string>\",\n \"equipment_number\": \"<string>\",\n \"equipment_ordered\": {\n \"aar_car_type\": \"<string>\",\n \"cubic_capacity\": 123,\n \"height_inches\": 123,\n \"length_inches\": 123,\n \"weight_capacity\": 123\n },\n \"gross_weight_lbs\": 123,\n \"gross_weight_measure\": {\n \"unit\": \"<string>\",\n \"value\": 123\n },\n \"height_in\": 123,\n \"height_measure\": {\n \"unit\": \"<string>\",\n \"value\": 123\n },\n \"interchange_move_authorities\": [\n {\n \"carrier_code\": \"<string>\",\n \"movement_authority_code\": \"<string>\",\n \"reject_reason_code\": \"<string>\",\n \"state_tariff_application_code\": \"<string>\",\n \"terminal_tariff_application_code\": \"<string>\"\n }\n ],\n \"iso_container_code\": \"<string>\",\n \"length_in\": 123,\n \"length_measure\": {\n \"unit\": \"<string>\",\n \"value\": 123\n },\n \"net_weight_lbs\": 123,\n \"net_weight_measure\": {\n \"unit\": \"<string>\",\n \"value\": 123\n },\n \"ownership_code\": \"<string>\",\n \"owning_carrier_code\": \"<string>\",\n \"position\": \"<string>\",\n \"seal_numbers\": [\n \"<string>\"\n ],\n \"shipment_info\": [\n {\n \"description\": \"<string>\",\n \"extended_reference_info\": [\n {\n \"description\": \"<string>\",\n \"reference_id\": \"<string>\",\n \"reference_id_qualifier\": \"<string>\",\n \"reference_timestamp\": \"2023-11-07T05:31:56Z\"\n }\n ],\n \"line_items\": [\n {\n \"cbp_barcode_number\": \"<string>\",\n \"commodity_code\": \"<string>\",\n \"commodity_code_qualifier\": \"<string>\",\n \"commodity_description\": \"<string>\",\n \"currency_code\": \"<string>\",\n \"customs_shipment_value\": 123,\n \"destination_country_code\": \"<string>\",\n \"marks_and_numbers\": \"<string>\",\n \"origin_country_code\": \"<string>\",\n \"quantity\": 123,\n \"smallest_exterior_package_type\": \"<string>\",\n \"weight\": 123,\n \"weight_unit_code\": \"<string>\"\n }\n ],\n \"reference_id\": \"<string>\",\n \"reference_id_qualifier\": \"<string>\"\n }\n ],\n \"tare_qualifier_code\": \"<string>\",\n \"tare_weight_lbs\": 123,\n \"tare_weight_measure\": {\n \"unit\": \"<string>\",\n \"value\": 123\n },\n \"terminals\": [\n {\n \"location_identifier\": \"<string>\",\n \"location_qualifier\": \"<string>\",\n \"port_name\": \"<string>\",\n \"terminal_function_code\": \"<string>\"\n }\n ],\n \"weight_allowance\": 123,\n \"weight_allowance_measure\": {\n \"unit\": \"<string>\",\n \"value\": 123\n },\n \"weight_type\": \"WT_ACTUAL\",\n \"width_in\": 123,\n \"width_measure\": {\n \"unit\": \"<string>\",\n \"value\": 123\n }\n }\n ],\n \"interline_information\": [\n {\n \"routing_sequence_code\": \"<string>\",\n \"scac\": \"<string>\",\n \"state_or_province_code\": \"<string>\",\n \"transportation_method_type_code\": \"<string>\"\n }\n ],\n \"notes\": [\n {\n \"description\": \"<string>\",\n \"note_reference_code\": \"MUTUALLY_DEFINED\"\n }\n ],\n \"scac\": \"<string>\",\n \"shipment_identification_number\": \"<string>\",\n \"shipment_parties\": [\n {\n \"additional_names\": [\n \"<string>\"\n ],\n \"address\": [\n \"<string>\"\n ],\n \"administrative_contacts\": [\n {\n \"communication_numbers\": [\n {\n \"number\": \"<string>\",\n \"qualifier\": \"<string>\"\n }\n ],\n \"contact_function_code\": \"<string>\",\n \"contact_inquiry_reference\": \"<string>\",\n \"name\": \"<string>\"\n }\n ],\n \"billing_info\": [\n {\n \"carrier_codes\": [\n \"<string>\"\n ],\n \"destination\": {\n \"city_name\": \"<string>\",\n \"country_code\": \"<string>\",\n \"fsac\": \"<string>\",\n \"postal_code\": \"<string>\",\n \"splc\": \"<string>\",\n \"state_or_province\": \"<string>\"\n },\n \"origin\": {\n \"city_name\": \"<string>\",\n \"country_code\": \"<string>\",\n \"fsac\": \"<string>\",\n \"postal_code\": \"<string>\",\n \"splc\": \"<string>\",\n \"state_or_province\": \"<string>\"\n }\n }\n ],\n \"city_name\": \"<string>\",\n \"country_code\": \"<string>\",\n \"country_subdivision_code\": \"<string>\",\n \"entity_sub_identifier_code\": \"<string>\",\n \"entity_sub_identifier_relationship_code\": \"<string>\",\n \"id_code\": \"<string>\",\n \"location_identifier\": \"<string>\",\n \"location_qualifier\": \"<string>\",\n \"location_uuid\": \"<string>\",\n \"name\": \"<string>\",\n \"postal_code\": \"<string>\",\n \"reference_info\": [\n {\n \"description\": \"<string>\",\n \"reference_id\": \"<string>\",\n \"reference_id_qualifier\": \"<string>\"\n }\n ],\n \"state_or_province\": \"<string>\"\n }\n ],\n \"stop_off_details\": [\n {\n \"bol_handling_requirements\": [\n {\n \"special_handling_description\": \"<string>\"\n }\n ],\n \"date_time_references\": [\n {\n \"date\": \"<string>\",\n \"time\": \"<string>\",\n \"time_code\": \"<string>\",\n \"time_qualifier\": \"<string>\"\n }\n ],\n \"lading_descriptions\": [\n {\n \"commodity_code\": \"<string>\",\n \"commodity_code_qualifier\": \"<string>\",\n \"lading_description\": \"<string>\",\n \"lading_line_item_number\": \"<string>\",\n \"packaging_code\": \"<string>\"\n }\n ],\n \"party\": {\n \"additional_names\": [\n \"<string>\"\n ],\n \"address\": [\n \"<string>\"\n ],\n \"administrative_contacts\": [\n {\n \"communication_numbers\": [\n {\n \"number\": \"<string>\",\n \"qualifier\": \"<string>\"\n }\n ],\n \"contact_function_code\": \"<string>\",\n \"contact_inquiry_reference\": \"<string>\",\n \"name\": \"<string>\"\n }\n ],\n \"billing_info\": [\n {\n \"carrier_codes\": [\n \"<string>\"\n ],\n \"destination\": {\n \"city_name\": \"<string>\",\n \"country_code\": \"<string>\",\n \"fsac\": \"<string>\",\n \"postal_code\": \"<string>\",\n \"splc\": \"<string>\",\n \"state_or_province\": \"<string>\"\n },\n \"origin\": {\n \"city_name\": \"<string>\",\n \"country_code\": \"<string>\",\n \"fsac\": \"<string>\",\n \"postal_code\": \"<string>\",\n \"splc\": \"<string>\",\n \"state_or_province\": \"<string>\"\n }\n }\n ],\n \"city_name\": \"<string>\",\n \"country_code\": \"<string>\",\n \"country_subdivision_code\": \"<string>\",\n \"entity_sub_identifier_code\": \"<string>\",\n \"entity_sub_identifier_relationship_code\": \"<string>\",\n \"id_code\": \"<string>\",\n \"location_identifier\": \"<string>\",\n \"location_qualifier\": \"<string>\",\n \"location_uuid\": \"<string>\",\n \"name\": \"<string>\",\n \"postal_code\": \"<string>\",\n \"reference_info\": [\n {\n \"description\": \"<string>\",\n \"reference_id\": \"<string>\",\n \"reference_id_qualifier\": \"<string>\"\n }\n ],\n \"state_or_province\": \"<string>\"\n },\n \"shipment_weight_packaging_quantity_data\": [\n {\n \"lading_quantity\": 123,\n \"lading_quantity_2\": 123,\n \"weight\": 123,\n \"weight_2\": 123,\n \"weight_qualifier\": \"<string>\",\n \"weight_qualifier_2\": \"<string>\"\n }\n ],\n \"stop_sequence_number\": 123,\n \"weight\": 123\n }\n ],\n \"total_weight\": 123,\n \"truck_load_tender_id\": \"<string>\"\n }\n}"

response = http.request(request)
puts response.read_body
{
  "truck_load_tender": {
    "bol_handling_requirements": [
      {
        "special_handling_description": "<string>"
      }
    ],
    "business_instructions": [
      {
        "description": "<string>",
        "reference_identification": "<string>",
        "reference_identification_qualifier": "<string>"
      }
    ],
    "date_time_references": [
      {
        "date": "<string>",
        "time": "<string>",
        "time_code": "<string>",
        "time_qualifier": "<string>"
      }
    ],
    "equipment_details": [
      {
        "aar_car_type": "<string>",
        "carrier_code": "<string>",
        "chassis_initial": "<string>",
        "chassis_number": "<string>",
        "check_digit": 123,
        "description_code": "<string>",
        "dunnage": 123,
        "dunnage_measure": {
          "unit": "<string>",
          "value": 123
        },
        "equipment_initial": "<string>",
        "equipment_name": "<string>",
        "equipment_number": "<string>",
        "equipment_ordered": {
          "aar_car_type": "<string>",
          "cubic_capacity": 123,
          "height_inches": 123,
          "length_inches": 123,
          "weight_capacity": 123
        },
        "gross_weight_lbs": 123,
        "gross_weight_measure": {
          "unit": "<string>",
          "value": 123
        },
        "height_in": 123,
        "height_measure": {
          "unit": "<string>",
          "value": 123
        },
        "interchange_move_authorities": [
          {
            "carrier_code": "<string>",
            "movement_authority_code": "<string>",
            "reject_reason_code": "<string>",
            "state_tariff_application_code": "<string>",
            "terminal_tariff_application_code": "<string>"
          }
        ],
        "iso_container_code": "<string>",
        "length_in": 123,
        "length_measure": {
          "unit": "<string>",
          "value": 123
        },
        "net_weight_lbs": 123,
        "net_weight_measure": {
          "unit": "<string>",
          "value": 123
        },
        "ownership_code": "<string>",
        "owning_carrier_code": "<string>",
        "position": "<string>",
        "seal_numbers": [
          "<string>"
        ],
        "shipment_info": [
          {
            "description": "<string>",
            "extended_reference_info": [
              {
                "description": "<string>",
                "reference_id": "<string>",
                "reference_id_qualifier": "<string>",
                "reference_timestamp": "2023-11-07T05:31:56Z"
              }
            ],
            "line_items": [
              {
                "cbp_barcode_number": "<string>",
                "commodity_code": "<string>",
                "commodity_code_qualifier": "<string>",
                "commodity_description": "<string>",
                "currency_code": "<string>",
                "customs_shipment_value": 123,
                "destination_country_code": "<string>",
                "marks_and_numbers": "<string>",
                "origin_country_code": "<string>",
                "quantity": 123,
                "smallest_exterior_package_type": "<string>",
                "weight": 123,
                "weight_unit_code": "<string>"
              }
            ],
            "reference_id": "<string>",
            "reference_id_qualifier": "<string>"
          }
        ],
        "tare_qualifier_code": "<string>",
        "tare_weight_lbs": 123,
        "tare_weight_measure": {
          "unit": "<string>",
          "value": 123
        },
        "terminals": [
          {
            "location_identifier": "<string>",
            "location_qualifier": "<string>",
            "port_name": "<string>",
            "terminal_function_code": "<string>"
          }
        ],
        "weight_allowance": 123,
        "weight_allowance_measure": {
          "unit": "<string>",
          "value": 123
        },
        "weight_type": "WT_ACTUAL",
        "width_in": 123,
        "width_measure": {
          "unit": "<string>",
          "value": 123
        }
      }
    ],
    "interline_information": [
      {
        "routing_sequence_code": "<string>",
        "scac": "<string>",
        "state_or_province_code": "<string>",
        "transportation_method_type_code": "<string>"
      }
    ],
    "notes": [
      {
        "description": "<string>",
        "note_reference_code": "MUTUALLY_DEFINED"
      }
    ],
    "scac": "<string>",
    "shipment_identification_number": "<string>",
    "shipment_parties": [
      {
        "additional_names": [
          "<string>"
        ],
        "address": [
          "<string>"
        ],
        "administrative_contacts": [
          {
            "communication_numbers": [
              {
                "number": "<string>",
                "qualifier": "<string>"
              }
            ],
            "contact_function_code": "<string>",
            "contact_inquiry_reference": "<string>",
            "name": "<string>"
          }
        ],
        "billing_info": [
          {
            "carrier_codes": [
              "<string>"
            ],
            "destination": {
              "city_name": "<string>",
              "country_code": "<string>",
              "fsac": "<string>",
              "postal_code": "<string>",
              "splc": "<string>",
              "state_or_province": "<string>"
            },
            "origin": {
              "city_name": "<string>",
              "country_code": "<string>",
              "fsac": "<string>",
              "postal_code": "<string>",
              "splc": "<string>",
              "state_or_province": "<string>"
            }
          }
        ],
        "city_name": "<string>",
        "country_code": "<string>",
        "country_subdivision_code": "<string>",
        "entity_sub_identifier_code": "<string>",
        "entity_sub_identifier_relationship_code": "<string>",
        "id_code": "<string>",
        "location_identifier": "<string>",
        "location_qualifier": "<string>",
        "location_uuid": "<string>",
        "name": "<string>",
        "postal_code": "<string>",
        "reference_info": [
          {
            "description": "<string>",
            "reference_id": "<string>",
            "reference_id_qualifier": "<string>"
          }
        ],
        "state_or_province": "<string>"
      }
    ],
    "stop_off_details": [
      {
        "bol_handling_requirements": [
          {
            "special_handling_description": "<string>"
          }
        ],
        "date_time_references": [
          {
            "date": "<string>",
            "time": "<string>",
            "time_code": "<string>",
            "time_qualifier": "<string>"
          }
        ],
        "lading_descriptions": [
          {
            "commodity_code": "<string>",
            "commodity_code_qualifier": "<string>",
            "lading_description": "<string>",
            "lading_line_item_number": "<string>",
            "packaging_code": "<string>"
          }
        ],
        "party": {
          "additional_names": [
            "<string>"
          ],
          "address": [
            "<string>"
          ],
          "administrative_contacts": [
            {
              "communication_numbers": [
                {
                  "number": "<string>",
                  "qualifier": "<string>"
                }
              ],
              "contact_function_code": "<string>",
              "contact_inquiry_reference": "<string>",
              "name": "<string>"
            }
          ],
          "billing_info": [
            {
              "carrier_codes": [
                "<string>"
              ],
              "destination": {
                "city_name": "<string>",
                "country_code": "<string>",
                "fsac": "<string>",
                "postal_code": "<string>",
                "splc": "<string>",
                "state_or_province": "<string>"
              },
              "origin": {
                "city_name": "<string>",
                "country_code": "<string>",
                "fsac": "<string>",
                "postal_code": "<string>",
                "splc": "<string>",
                "state_or_province": "<string>"
              }
            }
          ],
          "city_name": "<string>",
          "country_code": "<string>",
          "country_subdivision_code": "<string>",
          "entity_sub_identifier_code": "<string>",
          "entity_sub_identifier_relationship_code": "<string>",
          "id_code": "<string>",
          "location_identifier": "<string>",
          "location_qualifier": "<string>",
          "location_uuid": "<string>",
          "name": "<string>",
          "postal_code": "<string>",
          "reference_info": [
            {
              "description": "<string>",
              "reference_id": "<string>",
              "reference_id_qualifier": "<string>"
            }
          ],
          "state_or_province": "<string>"
        },
        "shipment_weight_packaging_quantity_data": [
          {
            "lading_quantity": 123,
            "lading_quantity_2": 123,
            "weight": 123,
            "weight_2": 123,
            "weight_qualifier": "<string>",
            "weight_qualifier_2": "<string>"
          }
        ],
        "stop_sequence_number": 123,
        "weight": 123
      }
    ],
    "total_weight": 123,
    "truck_load_tender_id": "<string>"
  }
}
{
"code": 123,
"details": [
{
"@type": "<string>"
}
],
"message": "<string>"
}

Authorizations

x-arms-api-key
string
header
required
x-arms-assume-user
string
header
required

Headers

Carrier
string
required

Carrier ID

Body

application/json
truck_load_tender
object

Truck Load Tender.

Response

A successful response.

truck_load_tender
object

Truck Load Tender.