POST api/Booking/UpdateDriverLocation
Request Information
URI Parameters
None.
Body Parameters
ClsUpdateLocation| Name | Description | Type | Additional information |
|---|---|---|---|
| DriverID | integer |
None. |
|
| Password | string |
None. |
|
| Latitude | decimal number |
None. |
|
| Longitude | decimal number |
None. |
|
| Speed | decimal number |
None. |
Request Formats
application/json, text/json
Sample:
{
"DriverID": 1,
"Password": "sample string 2",
"Latitude": 3.1,
"Longitude": 4.1,
"Speed": 5.1
}
application/xml, text/xml
Sample:
<ClsUpdateLocation xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DriverDbContext.MetaData"> <DriverID>1</DriverID> <Latitude>3.1</Latitude> <Longitude>4.1</Longitude> <Password>sample string 2</Password> <Speed>5.1</Speed> </ClsUpdateLocation>
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. |