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": "b59d91fe-cdf0-44ca-ae95-c6a3a25a5a5c", "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.