Given I am
authenticated as customer
K0002
and
there is a Phone Book
with
- id: 100
- number: +49 (66) 1234-555
- name: Phone Book
And it is visible for:
-
a Phone Extension
with extension number 555
and display name Extension1
When I send
/api/customers/K0002/phone-books/100/visibilities/555
Then I should receive
HTTP/1.1 200 OK
with following body:
{
"href": "/api/customers/K0002/phone-books/100/visibilities/555",
"links": [{
"rel": "phoneExtension",
"href": "/api/customers/K0002/targets/phone-extensions/555"
}],
"data": [{
"name": "displayName",
"value": "Extension1"
}, {
"name": "extensionNumber",
"value": "555"
}]
}