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

include

[String]

Include fields to the result.
-The field status/icon/busy supported for presence information: include=status → combine this with the include=associatedAddressable field, because the associatedAddressable field holds the status.

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"
            }
        ]
    }
}