/api/customers/K0002/phone-books/100 HTTP/1.1 200 OK {
"href": "/api/customers/K0002/phone-books/100",
"links": [{
"rel": "phoneBookVisibilities",
"href": "/api/customers/K0002/phone-books/100/visibilities"
}],
"data": [{
"name": "displayName",
"value": "Phone Book"
}, {
"name": "displayNumber",
"value": "+49 (66) 1234-555"
}]
}
/api/customers/K0002/phone-books/100 HTTP/1.1 200 OK {
"href": "/api/customers/K0002/phone-books/100",
"links": [{
"rel": "phoneBookVisibilities",
"href": "/api/customers/K0002/phone-books/100/visibilities"
}],
"data": [{
"name": "displayName",
"value": "Phone Book"
}, {
"name": "displayNumber",
"value": "+49 (66) 1234-555"
}]
}
/api/customers/K0002/phone-books/404 HTTP/1.1 404 Not Found {
"detail": "Phone Book with ID 404 has not been found",
"title": "Phone Book not found",
"described_by": "http://api.nfon.net/probs/phone-book-not-found"
}
/api/customers/K0404/phone-books/100 HTTP/1.1 404 Not Found {
"detail": "Customer with identifier K0404 has not been found",
"title": "Customer not found",
"described_by": "http://api.nfon.net/probs/customer-not-found"
}
/api/customers/K0002/targets/phone-books/100 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/targets/phone-books/100 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-books/100 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"
}