Create New Gateway
Adding new gateway
Gateway Type = BLE,RFID,BARCODE,GPS
Parameters
Type
Description
gatewayType(Mandatory)
String(36)
Gateway type
gatewayMacID(Mandatory)
String(36)
Gateway MacID
gatewayName(Mandatory)
String(36)
Gateway Name
floorplanUUID(Mandatory)
String(36)
Floorplan UUID
manufacturer(Mandatory)
String(36)
Gateway manufacturer
Gateway Type = VirtualBeacon
Parameters
Type
Description
gatewayType(Mandatory)
String(36)
Gateway type
gatewayMacID(Mandatory)
String(36)
Gateway MacID
gatewayName(Mandatory)
String(36)
Gateway Name
floorplanUUID(Mandatory)
String(36)
Floorplan UUID
virtualmanufacturer(Mandatory)
String(36)
Gateway manufacturer
virtualBeaconUUID(Mandatory)
String(36)
Virtual beacon UUID
virtualBeaconMinor(Mandatory)
INT
Virtual Beacon minor
virtualBeaconMajor(Mandatory)
INT
Virtual Beacon major
URL Parameters:
clientUUID
New Gateway
POST
https://<baseurl>/v1/organization/gateway/add/@clientUUID
Path Parameters
clientUUID
string
Client UUID
Headers
Authentication
string
Authentication token
#########################################################################
## success
#########################################################################
{
"message": "success",
"status": 200
}
#########################################################################
## Error:Unable to save data
#########################################################################
{
"message": "error",
"status": 400,
}
#########################################################################
## Gateway MacID already exists!
#########################################################################
{
"message": "error",
"status": 401,
"description": "Gateway MacID already exists!"
}
#########################################################################
## Beacon already exists
#########################################################################
{
"message": "error",
"status": 402,
"description": "Beacon already exists!"
}
#########################################################################
## Invalid Beacon UUID
#########################################################################
{
"message": "error",
"status": 403,
"description": "Invalid Beacon UUID"
}
#########################################################################
## Invalid Data
#########################################################################
{
"message": "error",
"status": 404,
"description": "Invalid data"
}
Last updated
Was this helpful?