POST api/Shipment/CostEstimation
Request Information
URI Parameters
None.
Body Parameters
ShipmentCostEstimationRequestModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Weight | decimal number |
None. |
|
| Height | decimal number |
None. |
|
| Depth | decimal number |
None. |
|
| Width | decimal number |
None. |
|
| TargetLocationId | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"Weight": 1.1,
"Height": 2.1,
"Depth": 3.1,
"Width": 4.1,
"TargetLocationId": 5
}
application/xml, text/xml
Sample:
<ShipmentCostEstimationRequestModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Boomex.WebService.Models"> <Depth>3.1</Depth> <Height>2.1</Height> <TargetLocationId>5</TargetLocationId> <Weight>1.1</Weight> <Width>4.1</Width> </ShipmentCostEstimationRequestModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |