/api/pbx-groups HTTP/1.1 200 OK
with following body:
{
"href": "/api/pbx-groups?_offset=0&_pagesize=16&_orderBy=name&_order=ASC",
"offset": 0,
"total": 3,
"size": 3,
"links": [],
"items": [{
"href": "/api/pbx-groups/pbx%20name%201",
"links": [],
"data": [{
"name": "name",
"value": "pbx name 1"
}]
}, {
"href": "/api/pbx-groups/pbx%20name%202",
"links": [],
"data": [{
"name": "name",
"value": "pbx name 2"
}]
}, {
"href": "/api/pbx-groups/Pbx1",
"links": [],
"data": [{
"name": "name",
"value": "Pbx1"
}]
}]
}
/api/pbx-groups?_q=1 HTTP/1.1 200 OK
with following body:
{
"href": "/api/pbx-groups?_offset=0&_pagesize=16&_q=1&_orderBy=name&_order=ASC",
"offset": 0,
"total": 2,
"size": 2,
"links": [],
"items": [{
"href": "/api/pbx-groups/pbx%20name%201",
"links": [],
"data": [{
"name": "name",
"value": "pbx name 1"
}]
}, {
"href": "/api/pbx-groups/Pbx1",
"links": [],
"data": [{
"name": "name",
"value": "Pbx1"
}]
}]
}
/api/pbx-groups HTTP/1.1 403 Forbidden application/api-problem+json {
"detail": "Required role is missing",
"title": "Access forbidden",
"described_by": "http://api.nfon.net/probs/invalid-authorization"
}
/api/pbx-groups HTTP/1.1 403 Forbidden {
"detail": "Required role is missing",
"title": "Access forbidden",
"described_by": "http://api.nfon.net/probs/invalid-authorization"
}
/api/pbx-groups HTTP/1.1 403 Forbidden {
"detail": "Required role is missing",
"title": "Access forbidden",
"described_by": "http://api.nfon.net/probs/invalid-authorization"
}