Create a BLE controller
|
POST /api/v1/billing/ble-controllers |
Creates a BLE controller (Openy). The title and model fields are set automatically (model = OPENYLOCK v.3, title = OPENYLOCK v.3 | <random code>). The type is used only for validation and isn't stored.
{
"type": "openy",
"sid": "EFGH5678",
"pid": "ABCD1234",
"master": "AABBCCDDEEFF00"
}
Method parameters
string type required , Device type (validation only, not stored). Allowed values: `openy`, `generic`.
string sid required , Device system identifier (System ID). At least 8 characters. Must be unique.
string pid required , Device identifier (Product ID). At least 8 characters.
string master required , Device master key. At least 12 characters.
|
200 |
|
BLE controller created successfully JSON
|
|
422 |
|
Validation error.
JSON
|