createSiteBeacons
POST https://{{host}}/api/v1/sites/:site_id/beacons
Create Beacon #### Body Parameters Parameter|Type|Description :-------------: |:-------------: |:-------------: type|string|default is eddystone-uid ibeaconuuid|string|bluetooth tag UUID ibeaconmajor|int|bluetooth tag major ibeaconminor|int|bluetooth tag minor eddystonenamespace|string|Eddystone-UID namespace (10 bytes) in hexstring format eddystoneinstance|string|Eddystone-UID instance (6 bytes) in hexstring format eddystoneurl|string|Eddystone-URL url power|int|in dBm, default is -12 name|string|name / label of the device map_id|string|map where the device belongs to x|float|x in pixel y|float|y in pixel mac|string|optiona, MAC of the beacon, currently used only to identify battery voltage
Request Body
{"type"=>"ibeacon", "ibeacon_uuid"=>"31375aeb-b8d3-1ea6-83bf-a31eb04e1c38", "ibeacon_major"=>1356, "ibeacon_minor"=>21, "power"=>4, "name"=>"conference room", "map_id"=>"63eda950-c6da-11e4-a628-60f81dd250cc", "x"=>53.5, "y"=>173.1}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Accept | string | ||
X-CSRFToken | string | ||
Content-Type | string |