/api/customers/K0002/contracts/800D0000003ARnKIAW HTTP/1.1 200 OK
with application/vnd.collection.next+json
and following body:
{
"href": "/api/customers/K0002/contracts/800D0000003ARnKIAW",
"data": [{
"name": "name",
"value": "New Contract"
}, {
"name": "salesForceId",
"value": "800D0000003ARnKIAW"
}, {
"name": "subId",
"value": 2
}]
}
/api/customers/K0002/contracts/404 HTTP/1.1 404 Not Found
and following body:
{
"title": "Customer contract not found",
"detail": "Customer contract with salesForceId 404 has not been found for Customer K0002",
"described_by": "http://api.nfon.net/probs/customer-contract-not-found"
}
/api/customers/K0404/contracts/800D0000003ARnKIAW HTTP/1.1 404 Not Found {
"described_by": "http://api.nfon.net/probs/customer-not-found",
"title": "Customer not found",
"detail": "Customer with identifier K0404 has not been found"
}
/api/customers/K0003/contracts/800D0000003ARnKIAW 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/contracts/800D0000003ARnKIAW 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/contracts/800D0000003ARnKIAW 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"
}