Get Specific Custom Location Detail API
Require Authentication
This API is used to get specific custom location detailed information for the company based on combination of deviceID and token.
URL
api/manageassets/customlocationdetail/:customlocationID
Required parameter (in URL)
- :customlocationID «contains customlocationID that want to be looked for. It must be put in the URL, e.g: api/manageassets/customlocationdetail/1»
Required parameter (POST)
- deviceID
- token
Optional parameter
Example JSON Payload
{ "deviceID": "ABCD-EFGH-IJKL-MNOP", "token": "bb602ab13b8090268cd6e3bb9dfa39e2" }
Possible return HTTP status code
- 200
- 401
- 404
- 405
Return message
{ "status": "success", "message": { "customlocationID": 1, "locationName": "test location API", "locationAddress1": "", "locationAddress2": "", "locationCity": "", "locationState": "", "locationCountry": "", "locationPostCode": "", "locationLat": -6.202101230621, "locationLong": 106.77919006348, "locationRadius": 500, "createdDate": 1453481345, "createdByUserID": 3, "total_projectpins": 0 } }