Get Specific Image on a Pin API
Require Authentication
This API is used to get specific image on a pin for the company based on combination of deviceID and token.
URL
api/projects/pinimagedetail/:projectpinimageID
Required parameter (in URL)
- :projectpinimageID «contains projectpinimageID that want to be looked for. It must be put in the URL, e.g: api/projects/pinimagedetail/1. To get available projectpinimageID, please visit Get Available Images on a Pin»
Required parameter (POST)
- deviceID
- token
Optional paramete (GET)r
Example JSON Payload
{
"deviceID": "ABCD-EFGH-IJKL-MNOP",
"token": "bb602ab13b8090268cd6e3bb9dfa39e2"
}
Possible return HTTP status code
- 200
- 401
- 405
Return message
{
"status": "success",
"message": {
"lists": {
"projectpinimageID": 7,
"imageTitle": "asd",
"imageDescription": "",
"imageURL": "http://localhost/sswebdash/assets/uploads/projectpinimages/5/appsize/41d9eea7af8877b5c625f8c32b4f4c30.png",
"imageOriginalFileName": "mmb.png",
"createdDate": 1479877444,
"creatorUserInformation": {
"userID": 3,
"username": "indr4_winata@yahoo.com",
"firstName": "Indra",
"lastName": "Winata"
}
}
}
}