Get All Notification

Get the notifications against the beacon

POST URL https://api.beaconwatcher.com/index.php?action=getAllNotifications

key must be sent with all client requests. The api_key (key) helps the server to validate the request source..

Parameter Type Description Demo Values
key string API Key Demo App: M19fV2F0Y2hJdA==
userID integer Optional Parameter  
cat_id string Optional Parameter. You can send the comma separated multiple category ids. The list of categories are available using Get Categories API call  
API Live Test URL https://beaconwatcher.3scale.net/docs

Response

Status Response
200

{

"status": 1,

"message": "Notification"

data": [

{

"nt_id": "1",

"nt_name": "Nearby",

"nt_title": "Nearby",

"nt_details": "This promotional notification is shown upon

reaching 'Nearby' Zone",

"zone": "1",

"template": null

},

{

"nt_id": "2",

"nt_name": "In Middle",

"nt_title": "In Middle",

"nt_details": "This promotional notification is shown upon

reaching 'In Middle' Zone.",

"template": null

},

{

"nt_id": "3",

"nt_name": "Far",

"nt_title": "Far",

"nt_details": "This promotional notification is shown upon

"reaching 'Far' Zone.",

"zone": "3",

"template": null

}

]

}