/api/customers/K0002/targets/group-services/345 HTTP/1.1 200 OK with body including
{
"data": [{
"name": "displayName",
"value": "Group Service"
}, {
"name": "extensionNumber",
"value": "2"
}, {
"name": "serviceNumber",
"value": 345
}, {
"name": "pickUpGroup",
"value": false
}]
}
/api/customers/K0002/targets/group-services/345 HTTP/1.1 200 OK with body including
{
"href": "/api/customers/K0002/targets/group-services/345",
"links": [{
"rel": "inboundTrunkNumbers",
"href": "/api/customers/K0002/targets/group-services/345/inbound-trunk-numbers"
}, {
"rel": "members",
"href": "/api/customers/K0002/targets/group-services/345/members"
}, {
"rel": "timeout",
"href": "/api/customers/K0002/targets/group-services/345/timeout"
}, {
"rel": "availableTimeoutDestinations",
"href": "/api/customers/K0002/targets/group-services/available-destinations-on-timeout"
}]
}
/api/customers/K0002/targets/group-services/404 HTTP/1.1 404 Not Found with body including
{
"title": "Group not found",
"detail": "Group with serviceNumber 404 not found",
"described_by": "http://api.nfon.net/probs/group-not-found"
}
/api/customers/K0404/targets/group-services/345HTTP/1.1 404 Not Found{
"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/targets/group-services/345HTTP/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/group-services/345 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/group-services/345 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"
}