POST api/driver/update-location
Request Information
URI Parameters
None.
Body Parameters
DriverLocation| Name | Description | Type | Additional information |
|---|---|---|---|
| DriverID | integer |
None. |
|
| Latitude | decimal number |
None. |
|
| Longitude | decimal number |
None. |
|
| Accuracy | decimal number |
None. |
|
| Speed | decimal number |
None. |
|
| Heading | decimal number |
None. |
Request Formats
application/json, text/json
Sample:
{
"DriverID": 1,
"Latitude": 2.0,
"Longitude": 3.0,
"Accuracy": 1.0,
"Speed": 1.0,
"Heading": 1.0
}
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json
Sample:
Sample not available.