URL

https://devwebapi.leadmaster.com/api/LMAPI/GetLocationDetails

Description

Gets the location information (latitude and longitude) of particular Record.

HttpMethod

POST

Request Information

Parameters

NameDescriptionAdditional information
model
The model which contains information of Record Id.

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "RecordID": 1
}

application/xml, text/xml

Sample:
<GetLocationModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BusinessObjects.ViewModel">
  <RecordID>1</RecordID>
</GetLocationModel>

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": {
    "latitude": "sample string 1",
    "longitude": "sample string 2"
  }
}

application/xml, text/xml

Sample:
<APIResponseBaseOfTrackLocationModel6ZPUqztj 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>
    <latitude>sample string 1</latitude>
    <longitude>sample string 2</longitude>
  </Result>
  <StatusCode>Continue</StatusCode>
</APIResponseBaseOfTrackLocationModel6ZPUqztj>