POST api/CreateUserTracking
Request Information
URI Parameters
None.
Body Parameters
CreateUserTrackingVm| Name | Description | Type | Additional information |
|---|---|---|---|
| Latitude | string |
None. |
|
| Longitude | string |
None. |
|
| Address | string |
None. |
|
| Timestamp | decimal number |
None. |
Request Formats
application/json, text/json
Sample:
{
"Latitude": "sample string 1",
"Longitude": "sample string 2",
"Address": "sample string 3",
"Timestamp": 4.1
}
application/xml, text/xml
Sample:
<CreateUserTrackingVm xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BrokerServer.Services.User"> <Address>sample string 3</Address> <Latitude>sample string 1</Latitude> <Longitude>sample string 2</Longitude> <Timestamp>4.1</Timestamp> </CreateUserTrackingVm>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
Response| Name | Description | Type | Additional information |
|---|---|---|---|
| Success | boolean |
None. |
|
| Message | string |
None. |
|
| Description | string |
None. |
|
| Data | Object |
None. |
|
| Count | integer |
None. |
Response Formats
application/json, text/json
Sample:
{
"Success": true,
"Message": "sample string 2",
"Description": "sample string 3",
"Data": {},
"Count": 5
}
application/xml, text/xml
Sample:
<Response xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BrokerServer.Models"> <Count>5</Count> <Data /> <Description>sample string 3</Description> <Message>sample string 2</Message> <Success>true</Success> </Response>