This API provides either Pick-up charges, Delivery charges, or both Pick-up and Delivery charges in the API response. Depending on the type of Rate search (Pick-up, Delivery, or Pick-up and Delivery), users are required to send only the relevant fields in the API request to WWA.
Staging API URL: https://apistaging.wwalliance.com/inlandrate/inlandCharges
Production API URL: https://api.wwalliance.com/inlandrate/inlandCharges
Request Formats:
Response Formats:
Method: POST
Header Authorization: Token value (valid for 30 mins if left idle)
{
"InlandRateRequest": {
"type": "InlandRate_Request",
"version": "3.0.1",
"senderID": "s ravindran",
"receiverID": "wwa",
"requestID": 123,
"inlandRateRequestDetails": {
"customer": "STANDARD",
"pickupType": "ZONE",
"pickupZip": "BA22",
"pickupCountry": "GB",
"deliveryType": "ZONE",
"deliveryZip": "315000",
"deliveryCountry": "CN",
"pickupLocation": "GBLON",
"deliveryLocation": "CNNGB",
"uom": "M",
"weight": 11,
"cube": 11,
"pieces": 2
}
}
}
{
"InlandRatesResponse": {
"type": "InlandRate_Request",
"version": "3.0.1",
"senderID": "s ravindran",
"receiverID": "wwa",
"requestID": 123,
"inlandRatesResponseDetails": {
"pickupRates": {
"customer": "STANDARD",
"total": 217.35,
"currency": "GBP",
"charges": [
{
"chargeID": 408417,
"chargeCode": "PKP",
"chargeName": "Pickup Rate",
"currency": "GBP",
"baseRate": 0.1,
"basis": "W3CBM",
"basisName": "1000 kg or 3 cbm",
"minimum": 217.35,
"maximum": "",
"cubeFrom": 3501,
"cubeTo": 4000,
"rangeBasis": "W",
"uom": "m",
"weight": 11,
"cube": 11,
"pieces": 2,
"notes": "Subject to general terms and conditions",
"effectiveDate": "0000-00-00",
"expirationDate": "0000-00-00",
"mandatory": "",
"calculatedRate": 217.35,
"calculatedRatemin": 217.35,
"calculatedRatemax": "0.000"
}
]
},
"deliveryRates": {
"total": 1250,
"customer": "STANDARD",
"currency": "CNY",
"charges": [
{
"chargeID": 328974,
"chargeCode": "DLVR",
"chargeName": "Delivery Rate",
"currency": "CNY",
"baseRate": 0.1,
"basis": "M33",
"basisName": "1 cbm or 333 kgs",
"minimum": 1250,
"maximum": "",
"cubeFrom": 2000.01,
"cubeTo": 5000,
"rangeBasis": "W",
"uom": "m",
"weight": 11,
"cube": 11,
"pieces": 2,
"notes": "1. 1cbm=250kgs; door address subject to h/c fee CNY300/SET 2.General cargo 3.Over-Length 2.5m and weight over 5ton rate and Bonded transit case by case checking 4.Subject to unloading fee: CNY42/WM+Register fee:CNY50/SET 5. MEISHAN CFS subject to other charge CNY300/LS.",
"effectiveDate": "0000-00-00",
"expirationDate": "0000-00-00",
"mandatory": "",
"calculatedRate": 1250,
"calculatedRatemin": 1250,
"calculatedRatemax": "0.000"
}
]
}
}
}
}