/api/customers/K0002/lync/sites/500 HTTP/1.1 200 OK {
"href": "/api/customers/K0002/lync/sites/500",
"links": [{
"rel": "gateway",
"href": "/api/customers/K0002/lync/gateways/200"
}],
"data": [{
"name": "serverName",
"value": "Lync Gateway A"
}, {
"name": "domain",
"value": "nfon.net"
}, {
"name": "description",
"value": "Lync Site"
}]
}
/api/customers/K0002/lync/sites/500 HTTP/1.1 200 OK {
"href": "/api/customers/K0002/lync/sites/500",
"links": [],
"data": [{
"name": "serverName",
"value": "Lync Gateway A"
}, {
"name": "domain",
"value": "nfon.net"
}, {
"name": "description",
"value": "Lync Site"
}]
}
/api/customers/K0002/lync/sites/500/used-in HTTP/1.1 200 OK {
"href": "/api/customers/K0002/lync/sites/500/used-in?_offset=0&_pagesize=16",
"offset": 0,
"total": 2,
"size": 2,
"links": [],
"items": [{
"href": "/api/customers/K0002/targets/phone-extensions/17/inbound-trunk-numbers/0048.22.1111-119",
"data": [{
"name": "trunkNumber",
"value": "+48 (22) 1111(0-9)"
}, {
"name": "extension",
"value": "119"
}]
}, {
"href": "/api/customers/K0002/targets/phone-extensions/302/inbound-trunk-numbers/0048.22.1234-6",
"data": [{
"name": "trunkNumber",
"value": "+48 (22) 1234(0-9)"
}, {
"name": "extension",
"value": "6"
}]
}]
}`
/api/customers/K0002/lync/sites/500/used-in?_q=234 HTTP/1.1 200 OK {
"href": "/api/customers/K0002/lync/sites/500/used-in?_offset=0&_pagesize=16&_q=234",
"offset": 0,
"total": 1,
"size": 1,
"links": [],
"items": [{
"href": "/api/customers/K0002/targets/phone-extensions/302/inbound-trunk-numbers/0048.22.1234-6",
"data": [{
"name": "trunkNumber",
"value": "+48 (22) 1234(0-9)"
}, {
"name": "extension",
"value": "6"
}]
}]
}`
/api/customers/K0404/lync/sites/500 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/K0003/lync/sites/500 HTTP/1.1 403 Forbidden application/api-problem+json {
"title": "Access forbidden",
"detail": "Access denied to [Customer] with id [K0003]",
"described_by": "http://api.nfon.net/probs/invalid-authorization"
}
/api/customers/K0003/lync/sites/500 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/lync/sites/500 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"
}