/api/customers/K0002/devices/standard/00041323B577/site-options
with application/json; charset=UTF-8{
"data": [{
"name": "language",
"value": "en"
}]
}
Then I should receive HTTP/1.1 204 No Content /api/customers/K0002/devices/standard/00041323B577/site-options
Then I should receive HTTP/1.1 200 OK {
"href": "/api/customers/K0002/devices/standard/00041323B577/site-options"
}
And Device should have the same Site Options as Site /api/customers/K0002/devices/standard/00041323B577
Then I should receive HTTP/1.1 200 OK {
"data": [{
"name": "useSiteOptionsFromSite",
"value": true
}]
}
/api/customers/K0002/devices/standard/00041323B577/site-options HTTP/1.1 200 OK {
"href": "/api/customers/K0002/devices/standard/00041323B577/site-options"
}
/api/customers/K0002/devices/fmc/123456789012345/site-options HTTP/1.1 400 Bad Request {
"detail": "Site Options for Device with type [fmc] are not available",
"title": "Site Options are not available",
"described_by": "http://api.nfon.net/probs/site-options-not-available"
}
/api/customers/K0002/devices/lync/1-48223333/site-options HTTP/1.1 400 Bad Request {
"detail": "Site Options for Device with type [lync] are not available",
"title": "Site Options are not available",
"described_by": "http://api.nfon.net/probs/site-options-not-available"
}
/api/customers/K0002/devices/media-gateway/123456789ABC/site-options HTTP/1.1 400 Bad Request {
"detail": "Site Options for Device with type [media-gateway] are not available",
"title": "Site Options are not available",
"described_by": "http://api.nfon.net/probs/site-options-not-available"
}
/api/customers/K0002/devices/operator-panel/01-23-45-67-89-ab/site-options HTTP/1.1 400 Bad Request {
"detail": "Site Options for Device with type [operator-panel] are not available",
"title": "Site Options are not available",
"described_by": "http://api.nfon.net/probs/site-options-not-available"
}
/api/customers/K0002/devices/base/device123/site-options
with application/json; charset=UTF-8{
"data": [{
"name": "language",
"value": "en"
}]
}
Then I should receive HTTP/1.1 204 No Content /api/customers/K0002/devices/base/device123/site-options HTTP/1.1 200 OK /api/customers/K0002/devices/base/123456789ABC/site-options
with application/json; charset=UTF-8{
"data": [{
"name": "language",
"value": "en"
}]
}
Then I should receive HTTP/1.1 204 No Content /api/customers/K0002/devices/base/123456789ABC/site-options HTTP/1.1 200 OK /api/customers/K0002/devices/standard/123456789ABC/site-options
with application/json; charset=UTF-8{
"data": [{
"name": "language",
"value": "en"
}]
}
Then I should receive HTTP/1.1 204 No Content /api/customers/K0002/devices/standard/123456789ABC/site-options HTTP/1.1 200 OK /api/customers/K0002/devices/unprovisioned-sip/123456789ABC/site-options
with application/json; charset=UTF-8{
"data": [{
"name": "language",
"value": "en"
}]
}
Then I should receive HTTP/1.1 204 No Content /api/customers/K0002/devices/unprovisioned-sip/123456789ABC/site-options HTTP/1.1 200 OK /api/customers/K0002/devices/xcapi/123456789ABC/site-options
with application/json; charset=UTF-8{
"data": [{
"name": "language",
"value": "en"
}]
}
Then I should receive HTTP/1.1 204 No Content /api/customers/K0002/devices/xcapi/123456789ABC/site-options HTTP/1.1 200 OK /api/customers/K0002/devices/standard/404/site-options
Then I should receive HTTP/1.1 404 Not Found {
"detail": "Device with unique identifier 404 has not been found",
"title": "Device not found",
"described_by": "http://api.nfon.net/probs/device-not-found"
}
/api/customers/K0404/devices/standard/00041323B577/site-options
Then I should receive 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/devices/standard/00041323B577/site-options
Then I should receive 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/K0003/devices/standard/00041323B577/site-options
Then I should receive 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/devices/standard/00041323B577/site-options
Then I should receive 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"
}