GET api/Vehicle/GetRoute?pickupLat={pickupLat}&pickupLng={pickupLng}&dropLat={dropLat}&dropLng={dropLng}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| pickupLat | decimal number |
Required |
|
| pickupLng | decimal number |
Required |
|
| dropLat | decimal number |
Required |
|
| dropLng | decimal number |
Required |
Body Parameters
None.
Response Information
Resource Description
RouteResult| Name | Description | Type | Additional information |
|---|---|---|---|
| DistanceKm | decimal number |
None. |
|
| DurationMinutes | decimal number |
None. |
Response Formats
application/json, text/json
Sample:
{
"DistanceKm": 1.1,
"DurationMinutes": 2.1
}