/api/customers/K0002/targets/phone-extensions/201/devices/ABCDEF012345 HTTP/1.1 204 No Content /api/customers/K0002/targets/phone-extensions/201/devices HTTP/1.1 200 OK {
"items": []
}
/api/customers/K0002/targets/phone-extensions/201/devices/ABCDEF000001 HTTP/1.1 204 No Content /api/customers/K0002/targets/phone-extensions/17/devices/1-48223333 HTTP/1.1 404 Not Found {
"detail": "A softphone device with unique identifier 1-48223333 cannot be removed from the PhoneExtension 17.",
"title": "Softphone Device cannot be removed from the phone extension",
"described_by": "http://api.nfon.net/probs/device-cannot-be-removed"
}
/api/customers/K0002/targets/phone-extensions/201/devices/ABCDEF012346 HTTP/1.1 400 Bad Request {
"errors": [{
"message": "Please define a new primary device before removal"
}]
}
/api/customers/K0002/targets/phone-extensions/201/devices/ABCDEF012345 HTTP/1.1 204 No Content /api/customers/K0002/targets/phone-extensions/201/devices HTTP/1.1 200 OK {
"items": []
}
/api/customers/K0404/targets/phone-extensions/201/devices/404 HTTP/1.1 404 Not Found application/api-problem+json {
"title": "Customer not found",
"detail": "Customer with identifier K0404 has not been found",
"described_by": "http://api.nfon.net/probs/customer-not-found"
}
/api/customers/K0002/targets/phone-extensions/404/devices/404 HTTP/1.1 404 Not Found application/api-problem+json {
"described_by": "http://api.nfon.net/probs/extension-not-found",
"title": "Extension not found",
"detail": "Extension with extension number 404 has not been found"
}
/api/customers/K0002/targets/phone-extensions/201/devices/404 HTTP/1.1 403 Forbidden application/api-problem+json {
"title": "Access forbidden",
"detail": "Access denied to [Customer] with id [K0002]",
"described_by": "http://api.nfon.net/probs/invalid-authorization"
}
/api/customers/K0002/targets/phone-extensions/201/devices/404 HTTP/1.1 404 Not Found application/api-problem+json {
"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/K0002/targets/phone-extensions/201/devices/ABCDEF012345 HTTP/1.1 404 Not Found application/api-problem+json {
"title": "Device not found",
"detail": "Device with unique identifier ABCDEF012345 has not been found",
"described_by": "http://api.nfon.net/probs/device-not-found"
}
/api/customers/K0002/targets/phone-extensions/201/devices/ABCDEF012345 HTTP/1.1 404 Not Found {
"title": "Device not associated to phone extension",
"detail": "A device with unique identifier ABCDEF012345 is not associated to PhoneExtension 201",
"described_by": "http://api.nfon.net/probs/device-not-associated"
}
/api/customers/K0003/targets/phone-extensions/201/devices/ABCDEF012345 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/targets/phone-extensions/201/devices/ABCDEF012345 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"
}