/api/operators/C0002/softswitches HTTP/1.1 200 OK
with following body:
{
"href": "/api/operators/C0002/softswitches?_offset=0&_pagesize=16&_orderBy=name&_order=ASC",
"offset": 0,
"total": 2,
"size": 2,
"links": [{
"rel": "availableFailoverSoftswitches",
"href": "/api/operators/C0002/softswitches"
}],
"items": [{
"href": "/api/operators/C0002/softswitches/100",
"links": [],
"data": [{
"name": "name",
"value": "SoftswitchName1"
}, {
"name": "identifier",
"value": "softswitch100"
}, {
"name": "cidType",
"value": "ENUM_164_00"
}, {
"name": "dialType",
"value": "ENUM_164_PLUS"
}, {
"name": "failoverSoftswitch",
"value": null
}, {
"name": "selectableByOperator",
"value": false
}]
}, {
"href": "/api/operators/C0002/softswitches/200",
"links": [],
"data": [{
"name": "name",
"value": "SoftswitchName2"
}, {
"name": "identifier",
"value": "softswitch200"
}, {
"name": "cidType",
"value": "ENUM_164_00"
}, {
"name": "dialType",
"value": "ENUM_164_MINUS"
}, {
"name": "failoverSoftswitch",
"value": "SoftswitchName1"
}, {
"name": "selectableByOperator",
"value": false
}]
}]
}
/api/operators/C0002/softswitches?_q=2 HTTP/1.1 200 OK
with following body:
{
"href": "/api/operators/C0002/softswitches?_offset=0&_pagesize=16&_q=2&_orderBy=name&_order=ASC",
"offset": 0,
"total": 1,
"size": 1,
"links": [{
"rel": "availableFailoverSoftswitches",
"href": "/api/operators/C0002/softswitches"
}],
"items": [{
"href": "/api/operators/C0002/softswitches/200",
"links": [],
"data": [{
"name": "name",
"value": "SoftswitchName2"
}, {
"name": "identifier",
"value": "softswitch200"
}, {
"name": "cidType",
"value": "ENUM_164_00"
}, {
"name": "dialType",
"value": "ENUM_164_MINUS"
}, {
"name": "failoverSoftswitch",
"value": "SoftswitchName1"
}, {
"name": "selectableByOperator",
"value": false
}]
}]
}
/api/operators/C0404/softswitches HTTP/1.1 404 Not Found
with following body:
{
"detail": "Operator C0404 has not been found",
"title": "Operator not found",
"described_by": "http://api.nfon.net/probs/operator-not-found"
}
/api/operators/C0002/softswitches HTTP/1.1 403 Forbidden application/api-problem+json {
"title": "Access forbidden",
"detail": "Access denied to [Operator] with id [C0002]",
"described_by": "http://api.nfon.net/probs/invalid-authorization"
}
/api/operators/C0002/softswitches HTTP/1.1 403 Forbidden {
"title": "Access forbidden",
"detail": "Access denied to [Operator] with id [C0002]",
"described_by": "http://api.nfon.net/probs/invalid-authorization"
}