/api/customers/K0002/announcements/15 HTTP/1.1 204 No Content
And there should be no announcement with id 15
/api/customers/K0002/announcements/15 HTTP/1.1 204 No Content
And there should be no announcement with id 15
/api/customers/K0404/announcements/15HTTP/1.1 404 Not Found
with following body:
{
"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/announcements/404 HTTP/1.1 404 Not Found
with following body:
{
"title": "Announcement not found",
"detail": "Announcement with id 404 has not been found",
"described_by": "http://api.nfon.net/probs/announcement-not-found"
}
/api/customers/K0002/announcements/15 HTTP/1.1 403 Forbidden
with following body:
{
"title": "Access forbidden",
"detail": "Access denied to [Customer] with id [K0002]",
"described_by": "http://api.nfon.net/probs/invalid-authorization"
}
/api/customers/K0003/announcements/15 HTTP/1.1 403 Forbidden
With following body
{
"title": "Access forbidden",
"detail": "Access denied to [Customer] with id [K0003]",
"described_by": "http://api.nfon.net/probs/invalid-authorization"
}
/api/customers/K0003/announcements/15 HTTP/1.1 403 Forbidden
With following body
{
"title": "Access forbidden",
"detail": "Access denied to [Customer] with id [K0003]",
"described_by": "http://api.nfon.net/probs/invalid-authorization"
}