Managed Phone Lines
This request lists the phone lines managed by the user.
A managed phone line is a phone line the user can edit. The user can edit the following attributes:
-
Switch auto-attendant on/off
-
Switch night-mode on/off or schedule an overrided switch time
-
Change the user’s managed routing: forwarding, caller-id, voicemail, fallback line
-
Change the user status: status, don’t disturb, location, message
Resource
GET /me/managed_lines
Parameters
Name | Type | Description |
---|---|---|
|
[String] |
Include fields to the result. |
Payload
None
Response
Context
Authorization |
User |
Errors
Example
Request
GET https://xelion.nl/api/v1/master/me/managed_lines
Response
{
"data": [
{
"object": {
"commonName": "Telefoonaansluiting Support",
"oid": "1426116",
"objectType": "XCCPhoneLine"
},
"links": [
{
"rel": "self",
"href": "http://xelion.nl/api/v1/master/phonelines/1426116",
"method": "GET"
}
]
},
{
"object": {
"commonName": "Telefoonaansluiting Sales",
"oid": "1426178",
"objectType": "XCCPhoneLine"
},
"links": [
{
"rel": "self",
"href": "http://xelion.nl/api/v1/master/phonelines/1426178",
"method": "GET"
}
]
}
],
"meta": {
"links": [
{
"rel": "refresh",
"href": "http://xelion.nl/api/v1/master/me/managed_lines",
"method": "GET"
}
]
}
}