/api/customers/K0002/targets/phone-extensions/345/skills/login-status
and flagged as internal requestapplication/json; charset=UTF-8
with following body:
{
"data": [{
"name": "status",
"value": true
}]
}
Then I should receive HTTP/1.1 204 No Content /api/customers/K0002/targets/phone-extensions/345/skills/login-statusHTTP/1.1 200 OK {
"data": [{
"name": "status",
"value": true
}]
}
/api/customers/K0002/targets/phone-extensions/345/skills/login-status
as application/json; charset=UTF-8
with following body:
{
"data": [{
"name": "status",
"value": false
}]
}
Then I should receive HTTP/1.1 204 No Content /api/customers/K0002/targets/phone-extensions/345/skills/login-statusHTTP/1.1 200 OK {
"data": [{
"name": "status",
"value": false
}]
}
/api/customers/K404/targets/phone-extensions/345/skills/login-status
as application/json; charset=UTF-8
with following body:
{
"data": [{
"name": "status",
"value": false
}]
}
Then I should receive HTTP/1.1 404 Not Found application/api-problem+json {
"title": "Customer not found",
"detail": "Customer with identifier K404 has not been found",
"described_by": "http://api.nfon.net/probs/customer-not-found"
}
/api/customers/K0002/targets/phone-extensions/404/skills/login-status
as application/json; charset=UTF-8
with following body:
{
"data": [{
"name": "status",
"value": false
}]
}
Then I should receive HTTP/1.1 404 Not Found application/api-problem+json {
"title": "Extension not found",
"detail": "Extension with extension number 404 has not been found",
"described_by": "http://api.nfon.net/probs/extension-not-found"
}