/api/customers/K0002/devices/operator-panel/01-23-45-67-89-ab HTTP/1.1 204 No Content
/api/customers/K0002/devices/operator-panel/01-23-45-67-89-ab should result with HTTP/1.1 404 Not Found
/api/customers/K0002/devices/operator-panel/01-23-45-67-89-ab HTTP/1.1 400 Bad Request with body
{
"title": "Device cannot be deleted",
"detail": "Cannot delete device when it is active.",
"described_by": "http://api.nfon.net/probs/cannot-delete-device"
}
/api/customers/K0002/devices/operator-panel/01-23-45-67-89-ab should result with HTTP/1.1 200 OK
/api/customers/K0002/devices/operator-panel/404
Then I should get HTTP/1.1 404 Not Found with body
{
"title": "Device not found",
"detail": "Device with unique identifier 404 has not been found",
"described_by": "http://api.nfon.net/probs/device-not-found"
}
/api/customers/K0404/devices/devices/operator-panel/01-23-45-67-89-ab HTTP/1.1 404 Not Found {
"described_by": "http://api.nfon.net/probs/customer-not-found",
"title": "Customer not found",
"detail": "Customer with identifier K0404 has not been found"
}
/api/customers/K0002/devices/operator-panel/01-23-45-67-89-ab HTTP/1.1 403 Forbidden {
"title": "Access forbidden",
"detail": "Access denied to [Customer] with id [K0002]",
"described_by": "http://api.nfon.net/probs/invalid-authorization"
}
/api/customers/K0003/devices/operator-panel/01-23-45-67-89-ab HTTP/1.1 403 Forbidden {
"title": "Access forbidden",
"detail": "Access denied to [Customer] with id [K0003]",
"described_by": "http://api.nfon.net/probs/invalid-authorization"
}
/api/customers/K0003/devices/operator-panel/01-23-45-67-89-ab HTTP/1.1 403 Forbidden {
"title": "Access forbidden",
"detail": "Access denied to [Customer] with id [K0003]",
"described_by": "http://api.nfon.net/probs/invalid-authorization"
}