Get Specific Zone Detail API
Require Authentication
This API is used to get specific zone detailed information for the company based on combination of deviceID and token.
URL
api/projects/detail/:projectID
Required parameter (in URL)
- :projectID «contains projectID that want to be looked for. It must be put in the URL, e.g: api/projects/detail/5»
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": {
"projectID": 5,
"projectName": "test zone API",
"projectDescription": "description zone API",
"projectIconURL": "http:\/\/localhost\/mapmybins\/assets\/uploads\/customicons\/1\/appsize\/6a7c58395eeff2be6569867317cf0e3f.png",
"projectAddress1": "Anggrek Cakra 12",
"projectAddress2": "Kemanggisan",
"projectCity": "Jakarta Barat",
"projectState": "Jakarta",
"projectCountry": "Indonesia",
"projectZipCode": "11530",
"projectLatitude": -6.20242357254,
"projectLongitude": 106.77906036377,
"projectCreatedDate": 1449582720,
"projectModifiedDate": 1449582720,
"projectCreatorUserID": 3,
"projectModifiedByUserID": 3,
"total_projectpins": 0,
"total_projectgroup": 0
}
}