/api/customers/K0002/targets/phone-extensions/201/lync HTTP/1.1 200 OK {
"href": "/api/customers/K0002/targets/phone-extensions/201/lync",
"items": [{
"href": "/api/customers/K0002/targets/phone-extensions/201/lync/134",
"links": [{
"rel": "lyncSite",
"href": "/api/customers/K0002/lync/sites/500"
}, {
"rel": "inboundTrunkNumber",
"href": "/api/customers/K0002/targets/phone-extensions/201/inbound-trunk-numbers/0048.22.1111-119"
}],
"data": [{
"name": "extensionNumber",
"value": "201"
}, {
"name": "inboundNumber",
"value": "+48 (22) 1111-119"
}, {
"name": "lync",
"value": "Lync Site"
}]
}]
}
/api/customers/K0002/targets/phone-extensions/201/lync HTTP/1.1 200 OK {
"href": "/api/customers/K0002/targets/phone-extensions/201/lync",
"items": [{
"href": "/api/customers/K0002/targets/phone-extensions/201/lync/134",
"links": [{
"rel": "lyncSite",
"href": "/api/customers/K0002/lync/sites/500"
}, {
"rel": "inboundTrunkNumber",
"href": "/api/customers/K0002/targets/phone-extensions/201/inbound-trunk-numbers/0048.22.1111-119"
}],
"data": [{
"name": "extensionNumber",
"value": "201"
}, {
"name": "inboundNumber",
"value": "+48 (22) 1111-119"
}, {
"name": "lync",
"value": "Lync Site"
}]
}]
}
/api/customers/K0404/targets/phone-extensions/201/lync HTTP/1.1 404 Not Found application/api-problem+json {
"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/phone-extensions/201/lync HTTP/1.1 403 Forbidden application/api-problem+json {
"title": "Access forbidden",
"detail": "Access denied to [Customer] with id [K0002]",
"described_by": "http://api.nfon.net/probs/invalid-authorization"
}
/api/customers/K0002/targets/phone-extensions/345/lync HTTP/1.1 404 Not Found application/api-problem+json {
"title": "Extension not found",
"detail": "Extension with extension number 345 has not been found",
"described_by": "http://api.nfon.net/probs/extension-not-found"
}
/api/customers/K0003/targets/phone-extensions/201/lync 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/phone-extensions/201/lync 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"
}