/api/operators/C0002/softswitches/100 HTTP/1.1 200 OK
with following body:
{
"href": "/api/operators/C0002/softswitches/100",
"links": [{
"rel": "failoverSoftswitch",
"href": "/api/operators/C0002/softswitches/200"
}, {
"rel": "availableFailoverSoftswitches",
"href": "/api/operators/C0002/softswitches"
}],
"data": [{
"name": "name",
"value": "SoftswitchName1"
}, {
"name": "identifier",
"value": "dns"
}, {
"name": "cidType",
"value": "ENUM_164_00"
}, {
"name": "dialType",
"value": "ENUM_164_PLUS"
}, {
"name": "failoverSoftswitch",
"value": "softswitch200"
}, {
"name": "selectableByOperator",
"value": false
}, {
"name": "privacyType",
"value": "ANONYMOUS"
}, {
"name": "trunkExtensionAvailable",
"value": true
}, {
"name": "privateUse",
"value": true
}, {
"name": "primaryCodec",
"value": "codec"
}]
}
/api/operators/C0002/softswitches/100 HTTP/1.1 200 OK
with following body:
{
"href": "/api/operators/C0002/softswitches/100",
"links": [{
"rel": "failoverSoftswitch",
"href": null
}]
}
/api/operators/C0404/softswitches/100 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/100 HTTP/1.1 404 Not Found
with following body:
{
"detail": "Softswitch with ID 100 has not been found",
"title": "Softswitch not found",
"described_by": "http://api.nfon.net/probs/softswitch-not-found"
}
/api/operators/C0002/softswitches/404 HTTP/1.1 404 Not Found
with following body:
{
"detail": "Softswitch with ID 404 has not been found",
"title": "Softswitch not found",
"described_by": "http://api.nfon.net/probs/softswitch-not-found"
}
/api/operators/C0002/softswitches/100 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/100 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"
}