/api/customers/K0002/category HTTP/1.1 200 OK {
"href": "/api/customers/K0002/category",
"items": [{
"href": null,
"links": [],
"data": [{
"name": "name",
"value": "A"
}]
}, {
"href": null,
"links": [],
"data": [{
"name": "name",
"value": "B"
}]
}, {
"href": null,
"links": [],
"data": [{
"name": "name",
"value": "C"
}]
}, {
"href": null,
"links": [],
"data": [{
"name": "name",
"value": "D"
}]
}],
"links": null
}
/api/customers/K404/category HTTP/1.1 404 Not Found application/api-problem+json {
"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/K0002/category HTTP/1.1 403 Forbidden application/api-problem+json {
"detail": "Required role is missing",
"title": "Access forbidden",
"described_by": "http://api.nfon.net/probs/invalid-authorization"
}