/api/customers/K0002/targets/ivr-services/123
Then the response code should be equal
HTTP/1.1 204 No Content
/api/customers/K0002/targets/ivr-services/555
Then the response code should be equal
HTTP/1.1 400 Bad Request
{
"detail": "IVR Service[555] is still referenced as a Fallback target on Frontdesk Service: displayName[123]",
"title": "Deletion of service/phone extension failed",
"described_by": "http://api.nfon.net/probs/method-not-allowed"
}
/api/customers/K404/targets/ivr-services/123
Then the response code should be equal
HTTP/1.1 404 Not Found
{
"title": "Customer not found",
"detail": "Customer with identifier K404 has not been found",
"described_by": "http://api.nfon.net/probs/customer-not-found"
}
/api/customers/K0003/targets/ivr-services/123 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/ivr-services/123 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/ivr-services/123 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"
}