Given I am
authenticated as customer
K0002
and
there is a Phone Extension
with
- extension number 17
- and display name Phone Extension
- and there is a phoneextension subscription
- and there is a mobility-option subscription
- and there is a minute-pack subscription
When I send
/api/customers/K0002/targets/license-subscriptions
Then I should receive
HTTP/1.1 200 OK
with following body:
{
"href": "/api/customers/K0002/targets/license-subscriptions?_offset=0&_pagesize=16",
"offset": 0,
"total": 3,
"size": 3,
"links": [],
"items": [{
"href": "/api/customers/K0002/targets/license-subscriptions/6d7eec8c255bed0231665d558132",
"links": [{
"rel": "afd",
"href": "/api/customers/K0002/targets/phone-extensions/17"
}],
"data": [{
"name": "licenseType",
"value": "phoneextension"
}, {
"name": "uuid",
"value": "6d7eec8c255bed0231665d558132"
}]
}, {
"href": "/api/customers/K0002/targets/license-subscriptions/6d7eec8c255bed0231665d558132",
"links": [{
"rel": "afd",
"href": "/api/customers/K0002/targets/phone-extensions/17"
}],
"data": [{
"name": "licenseType",
"value": "mobility-option"
}, {
"name": "uuid",
"value": "6d7eec8c255bed0231665d558132"
}]
}, {
"href": "/api/customers/K0002/targets/license-subscriptions/6d7eec8c255bed0231665d558132",
"links": [{
"rel": "afd",
"href": "/api/customers/K0002/targets/phone-extensions/17"
}],
"data": [{
"name": "licenseType",
"value": "minute-pack"
}, {
"name": "uuid",
"value": "6d7eec8c255bed0231665d558132"
}]
}]
}