POST api/LocationUpdate
Accepts driver's LocatorId, Latitude and Longitude, and updates database with values
Request Information
URI Parameters
None.
Body Parameters
LocationUpdateDTOName | Description | Type | Additional information |
---|---|---|---|
LocatorId | globally unique identifier |
None. |
|
Latitude | decimal number |
None. |
|
Longitude | decimal number |
None. |
Request Formats
application/json, text/json
Sample:
{ "LocatorId": "698591f4-a543-4d52-87c6-2d1e0c1bb2c5", "Latitude": 2.1, "Longitude": 3.1 }
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json
Sample:
Sample not available.