POST api/v1/Users/UpdateUserLocation
Request Information
URI Parameters
None.
Body Parameters
InputUserLocation| Name | Description | Type | Additional information |
|---|---|---|---|
| UserID | integer |
Required |
|
| DeviceLat | decimal number |
Required |
|
| DeviceLong | decimal number |
Required |
Request Formats
application/json, text/json
Sample:
{
"UserID": 1,
"DeviceLat": 1.0,
"DeviceLong": 1.0
}
application/xml, text/xml
Sample:
<InputUserLocation xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TruckSpot.Models.API.Input"> <DeviceLat>1</DeviceLat> <DeviceLong>1</DeviceLong> <UserID>1</UserID> </InputUserLocation>
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. |