Get Site

This operation is used to get the site.

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

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==
isadmin boolean (0/1) This represents either the user is an admin or not? The value 1 represents that the user is an admin.   
site_id      
API Live Test URL https://beaconwatcher.3scale.net/docs
 

Response

Status Response
200

{

"status": 1,

"message": "Site Details",

"data": [

{

"site_id": "28",

"apk_id": "5",

"mem_id": "14",

"site_name": "MAISON JONATHAN",

"site_details": "Cafe Home",

"site_phone": "",

"site_mobile": "",

"site_address": "Derech Beit Lehem 85, Jerusalem, Israel",

"site_street1": "Derech Beit Lehem",

"site_street2": "85",

"site_city": "Jerusalem",

"site_state": "",

"postal_code": "",

"site_country": "Israel",

"countries_id": "104",

"site_long": "35.2192115",

"site_lat": "31.7529738",

"status_id": "1",

"cat_id": "1",

"site_facebook": null,

"site_instagram": null,

"site_googleplus": null,

"site_mail": null,

}

]

}