Get User Primary Line


This request returns the current primary/outgoing/identity line of the user.
When the system is based on phones in the phone line, the primary line is determined by the first line in the list of lines.

Resource

GET /me/primary_line

Parameters

None

Payload

None

Context

Authorization

User

Errors

Example

Request
GET https://xelion.nl/api/v1/master/me/primary_line
Response
{
    "object": {
        "callerName": "",
        "commonName": "Support",
        "oid": "1057453",
        "objectType": "XCCPhoneLine"
    },
    "links": [
        {
            "rel": "self",
            "href": "https://xelion.nl/api/v1/master/me/primary_line",
            "method": "GET"
        }
    ]
}