Rеserve a device
The method and parameters
Reserve a device so that it becomes unavailable for adding.
If a device is reserved, it cannot be added without additionally sending the skip_reserve_check parameter to the activation request.
{
"type": "mediaagent",
"mac": "fake_mac_5",
"serial_number": "sn"
}
Possible error codes:
33600 - Device not found
33603 - Device already activated
33610 - Device in the process of deactivation
33622 - Device in initialization (just registered in the system and will be available soon)
33599 - Device reserved
POST /api/v1/billing/devices/reserve |
string
type REQUIRED – a device type
string
mac – a device Mac address
string
serial_number – a device serial number
200 |
Successful response
JSON
|
400 |
Reservation Error
JSON
|
422 |
Returns a JSON object with an error. See Validation.
JSON
|