Get Beacon List

This web service is used to get the List of Beacon aganst any site OR get default beacons added against any App.

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

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==
site_id integer 0 to get the default beacons otherwise send the site id. You can get the site list with ids using Get Sites API 0
API Live Test URL https://beaconwatcher.3scale.net/docs

Response

Status Response
200

{

"status": 1,

"message": "Beacon details",

data": [

{

"msb_id": "4",

"msb_name": "Default_4",

"msb_location": "",

"msb_uuid": "b9407f30f5f8466eaff925556b57fe6d",

"msb_minor": "59235",

"msb_major": "44435",

"msb_mac_address": null,

"site_id": null,

"site_title": null,

"company": null

},

{

"msb_id": "3",

"msb_name": "Default_3",

"msb_uuid": "e2c56db5dffb48d2b060d0f5a71096e0",

"msb_minor": "0",

"msb_major": "0",

"msb_mac_address": null,

"site_id": null,

"site_title": null,

}"company": null

},

{

"msb_id": "2",

"msb_name": "Default_2",

"msb_location": "",

"msb_uuid": "00000000000000000000000000000000",

"msb_minor": "1",

"msb_major": "1",

"msb_mac_address": null,

"site_id": null,

"site_id": null,

"company": null

}]

}