The below API is used to get User Location.
Request: GET
Signature: /api/mobile/GetUserLoc?Token={Login_Token}&UserID={User_ID}&SkipCount={Skip_count}
Sample: /api/mobile/GetUserLoc?Token=P7pT6gzvdPWzxvmYCQ==&UserID=11&SkipCount=0
Response:
{
"Code": 1,
"Info": "",
"RowsAffected": 1,
"Scalar": null,
"Identity": 0,
"RetInfo": [
{
"Latitude": 28.57425,
"Longitude": 77.353883333333329,
"LocTime": "13:34, 24 Apr 2019",
"Speed": 0,
"Direction": 0,
"Batt": 59
}
]
}
Things to know about this API: