Price method
GET /v2/PriceCalculator
Uri parameters
Name | Description | Type | Additional description |
---|---|---|---|
customer_nr | Required. Schenker customer number | String | Required |
sender_zip | Required. From zip code | String | Required |
receiver_zip | Required. To zip code | String | Required |
volume_d3 | Parcel volume - use dm3 (cubic decimetres). At least one of the properties volume_d3, weight, number_of_load_meters or number_of_pallet_spaces must be provided. If all is null you will get an error. | Int32 | |
weight | Parcel weight. At least one of the properties weight, number_of_load_meters, number_of_pallet_spaces or volume_d3 must be provided. If all is null you will get an error. | Int32 | |
pickup_date | When to pick up the shipment, e.g. 2019-01-24 | DateTime | |
unit_code | Default: KL. Use if weight or volume is not used. Weight and number_of_units must be provided together with unit_code. Depending on custom customer agreements - you may use the special code. Special customer code: 51..99, Kolli: KL, Paller: PL | String | |
number_of_units | Number of units. Default 1. | Int32 | |
number_of_load_meters | Number of load meters. At least one of these properties, number_of_load_meters, number_of_pallet_spaces, weight or volume_d3, must be provided. | Int32 | |
number_of_pallet_spaces | Number of pallet spaces. At least one of these properties, number_of_pallet_spaces, weight, number_of_load_meters or volume_d3, must be provided. | Int32 | |
product_type | Product code. Request the Product API for details of all alternatives. Examples: '43' (System), '44' (System premium) | String | Required |
service | Service types, List of strings. Note, to send a list in the URL, repeat them. E.g: ?service=1&service=2. Request the Product API for details of all alternatives. Example: '16' (Pre-notice e-mail), '35' (Fix Day) | List`1 | |
parcels | List of parcels in the shipment with weight, length, height and width. Providing this information will enable the API to provide more accurate pricing | Collection of ParcelModel |
Body parameters
None
Request body sample:
None
Response sample:
{ "Freight": { "FreightCost": 1.1, "Details": [ { "Description": "sample string 1", "Cost": 1.1 } ] }, "Services": [ { "ServiceDescription": "sample string 1", "ServiceCost": 1.1 } ], "Total": 1.1 }