URL
https://devwebapi.leadmaster.com/api/LMAPI/TrackLocation
Description
Logs the location information (latitude and longitude) of particular user.
HttpMethod
POST
Request Information
Parameters
Name | Description | Additional information |
---|---|---|
objmodel | The objmodel which contains information of latitude and longitude. |
Define this parameter in the request body. |
Request body formats
application/json, text/json
Sample:
{ "latitude": "sample string 1", "longitude": "sample string 2" }
application/xml, text/xml
Sample:
<TrackLocationModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BusinessObjects.ViewModel"> <latitude>sample string 1</latitude> <longitude>sample string 2</longitude> </TrackLocationModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Response body formats
application/json, text/json
Sample:
{ "StatusCode": 100, "IsSuccess": true, "Message": "sample string 2", "Result": true }
application/xml, text/xml
Sample:
<APIResponseBaseOfboolean xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BusinessObjects.ViewModel"> <IsSuccess>true</IsSuccess> <Message>sample string 2</Message> <Result>true</Result> <StatusCode>Continue</StatusCode> </APIResponseBaseOfboolean>