POST api/box/orders/calculate/delivery
Request Information
URI Parameters
None.
Body Parameters
TransportDeliveryQuotationDTO| Name | Description | Type | Additional information |
|---|---|---|---|
| Partner | integer |
Required |
|
| Vehicle | string |
Required |
|
| Terminal | integer |
Required |
|
| Lat | decimal number |
Required |
|
| Lon | decimal number |
Required |
|
| Customer | string |
Required |
|
| Mobile | string |
Required |
|
| Remarks | string |
Required |
|
| IsFirstMile | boolean |
Required |
|
| TotalKm | decimal number |
None. |
Request Formats
application/json, text/json
Sample:
{
"Partner": 1,
"Vehicle": "sample string 2",
"Terminal": 3,
"Lat": 4.1,
"Lon": 5.1,
"Customer": "sample string 6",
"Mobile": "sample string 7",
"Remarks": "sample string 8",
"IsFirstMile": true,
"TotalKm": 10.1
}
application/xml, text/xml
Sample:
<TransportDeliveryQuotationDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Shipping_API.Models.DTO"> <Customer>sample string 6</Customer> <IsFirstMile>true</IsFirstMile> <Lat>4.1</Lat> <Lon>5.1</Lon> <Mobile>sample string 7</Mobile> <Partner>1</Partner> <Remarks>sample string 8</Remarks> <Terminal>3</Terminal> <TotalKm>10.1</TotalKm> <Vehicle>sample string 2</Vehicle> </TransportDeliveryQuotationDTO>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.