GET api/GetCurrentLocation/{id}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
GetCurrentLocationVm| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| Latitude | string |
None. |
|
| Longitude | string |
None. |
|
| Timestamp | decimal number |
None. |
|
| Address | string |
None. |
|
| Date | string |
None. |
|
| UserId | integer |
None. |
|
| UserName | string |
None. |
|
| Count | integer |
None. |
Response Formats
application/json, text/json
Sample:
{
"Id": 1,
"Latitude": "sample string 2",
"Longitude": "sample string 3",
"Timestamp": 4.1,
"Address": "sample string 5",
"Date": "sample string 6",
"UserId": 7,
"UserName": "sample string 8",
"Count": 9
}
application/xml, text/xml
Sample:
<GetCurrentLocationVm xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BrokerServer.Services.User"> <Address>sample string 5</Address> <Count>9</Count> <Date>sample string 6</Date> <Id>1</Id> <Latitude>sample string 2</Latitude> <Longitude>sample string 3</Longitude> <Timestamp>4.1</Timestamp> <UserId>7</UserId> <UserName>sample string 8</UserName> </GetCurrentLocationVm>