Update List of Beacons for a Device
The Update List of Beacons for a Device API updates the list of beacons for a device. There are two ways to update the list of beacons for a device:
- Through ksid
- Through a combination of ufid and appid
URL
The HTTP URL for Update List of Beacons for a Device API is:
http://<<host>>:<<port>>/api/v1/beaconupdate
This service implements Gateway Filter for Authentication to authenticate access of the service by a user.
Method
POST
Header
The payload's request header includes Content-Type as application/json
Input Parameters
The following fields are input parameters:
Sample Request
Updating List of Beacons through ksid
{ "ksid": "5976328003246374004", "ufid": "", "appid": "", "beacons": { "beacon": { "uuid": "Beacon-Create-UUID", "major": "500", "minor": "100" } } }
Updating List of Beacons through a combination of ufid and appid
{ "ksid": "5976328003246374004", "ufid": "admin@kony.com", "appid": "AppForAll", "beacons": { "beacon": { "uuid": "Beacon-Create-UUID786IUJHG", "major": "600", "minor": "200" } } }
Sample Response
{ "id" : "", "message" : "Updated Successfully" }
Response Status
Code | Description |
---|---|
Status 200 | Beacons updated successfully |
Status 400 | Invalid request format |
Status 500 | Server failure to process request |