×
The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.
I am back into the office and need to get this working.
They are deprecating their old system on Friday! Lots of notice.
Here is what I have. Notice the multi dem array on revenueDetails.
I am ignoring this part for now.
Json
{
"order_number": "Q0355983",
"bill_to_account_number": "52557",
"billto": {
"name": "WALZCRAFT INDUSTRIES INC",
"address1": "2600 HEMSTOCK ST",
"address2": "PO BOX 1748",
"city": "LA CROSSE",
"state_id": "WI",
"zip_code": "54602"
},
"collection_method": "P",
"pieces": 1,
"weight": 292,
"weight_um": "LB",
"customer_name": "WALZCRAFT INDUSTRIES INC",
"bill_distance": 82,
"bill_distance_um": "MI",
"freight_charge": 97,
"otherchargetotal": 32.01,
"total_charge": 129.01,
"rate": 97,
"rate_type": "F",
"rate_unit_desc": "FLAT",
"rate_units": 1,
"total_spots": 1,
"total_cubic_volume": 136080,
"transit_days": 1,
"freightGroupItems": [
{
"description": "Container: Quote-28647-001",
"hazmat": false,
"hazmat_is_residue": false,
"height": 36,
"length": 90,
"width": 42,
"nmfc_class_code": "70",
"spots": 1,
"pieces": 1,
"weight": 292,
"weight_uom_type_code": "LBS"
}
],
"revenueDetails": [
[
{
"name": "Fuel Surc",
"description": "Fuel Surcharge",
"calc_rate": 0.33,
"revenue_amount": 32.01,
"freight_class_code": "70",
"id": 68
},
{
"name": "Minimum B",
"description": "MINIMUM CHARGE",
"calc_rate": 97,
"revenue_amount": 97,
"freight_class_code": "70",
"id": 170
}
]
],
"shipper": {
"name": "WalzCraft",
"address": "2600 Hemstock St",
"city_name": "LA CROSSE",
"state": "WI",
"zip_code": "54603",
"sched_arrive_early": "20251216080000-0600",
"sched_arrive_late": "20251216170000-0600"
},
"consignee": {
"name": "ELIAS CONSTRUCTION LLC",
"address": "1207 FRONTAGE RD NW",
"city_name": "BYRON",
"state": "MN",
"zip_code": "55920",
"sched_arrive_early": "20251217080000-0600",
"sched_arrive_late": "20251217170000-0600"
},
"notice": "Quote is only valid for the customer specified in the quote and is valid for ten (10) days.\nThe rates may increase if another customer is invoiced for the shipment.\nFuel surcharges on the final invoice will reflect the fuel surcharge in place for the customer on the ship date, regardless of the amount provided in this quote.\nThe final charge may also change if the shipment’s physical characteristics are not accurately reflected in the quote; such as being heavier, larger or belonging to a different freight class than what was provided."
}
My code
// Rate Results From API Call
Dcl-ds RateResponse Qualified;
order_number Char(10);
bill_to_account_number Char(10);
Dcl-ds billto;
name Char(50);
address1 Char(50);
address2 Char(50);
city Char(50);
state_id Char(20);
zip_code Char(10);
End-Ds;
This mailing list archive is Copyright 1997-2026 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact
[javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.