Create new gateway.
POST/api/v1/gateway
This endpoint allows us to add a gateway's mac address to whitelist.
Request
- application/json
Body
required
macAddress stringrequired
operationsArea
object
required
id int64required
Responses
- 200
Success
- application/json
- Schema
- Example (from schema)
Schema
id int64
macAddress string
operationsArea
object
id int64
name string
latitude double
longitude double
altitude double
radius double
{
"id": 0,
"macAddress": "string",
"operationsArea": {
"id": 0,
"name": "string",
"latitude": 0,
"longitude": 0,
"altitude": 0,
"radius": 0
}
}
Loading...