/api/customers/K0002/targets/time-control-services/345 HTTP/1.1 200 OK application/vnd.collection.next+json {
"href": "/api/customers/K0002/targets/time-control-services/345",
"links": [{
"rel": "destinationIfAllowed",
"href": "/api/customers/K0002/targets/BUSY"
}, {
"rel": "destinationIfDenied",
"href": "/api/customers/K0002/targets/BUSY"
}, {
"rel": "inboundTrunkNumbers",
"href": "/api/customers/K0002/targets/time-control-services/345/inbound-trunk-numbers"
}, {
"rel": "availableDestinations",
"href": "/api/customers/K0002/targets/time-control-services/available-destinations"
}, {
"rel": "timezone",
"href": "INHERIT"
}],
"data": [{
"name": "displayName",
"value": "time control name"
}, {
"name": "extensionNumber",
"value": "576"
}, {
"name": "evaluationStrategy",
"value": "AUTO"
}, {
"name": "fromDay",
"value": "MONDAY"
}, {
"name": "fromTimeOfDay",
"value": "02:00 PM"
}, {
"name": "toDay",
"value": "FRIDAY"
}, {
"name": "toTimeOfDay",
"value": "04:00 PM"
}, {
"name": "referralAllowed",
"value": ["Feb 26, 2012"]
}, {
"name": "referralDenied",
"value": ["Feb 27, 2012"]
}]
}
/api/customers/K0002/targets/time-control-services/345 HTTP/1.1 200 OK {
"href": "/api/customers/K0002/targets/time-control-services/345",
"data": []
}
/api/customers/K0002/targets/time-control-services/404 HTTP/1.1 404 Not Found {
"title": "Time Control Service not found",
"detail": "Time Control Service with service number 404 not found",
"described_by": "http://api.nfon.net/probs/time-control-service-not-found"
}
/api/customers/K0404/targets/time-control-services/404 HTTP/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/time-control-services/345 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/time-control-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/time-control-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"
}