Lines Of User Phones
This request returns a list of phone lines where 1 of the current user phones is part of.
Resource
GET /me/lines
Parameters
Payload
None
Response
Context
Authorization |
User |
Errors
Example
Request
GET https://xelion.nl/api/v1/master/me/lines
Response
{
"data": [
{
"object": {
"commonName": "Telefoonaansluiting Arno",
"oid": "1651130",
"objectType": "XCCPhoneLine"
},
"links": [
{
"rel": "self",
"href": "https://xelion.nl/api/v1/master/phonelines/1651130",
"method": "GET"
}
]
},
{
"object": {
"commonName": "Support",
"oid": "1651614",
"objectType": "XCCPhoneLine"
},
"links": [
{
"rel": "self",
"href": "https://xelion.nl/api/v1/master/phonelines/1651614",
"method": "GET"
}
]
},
{
"object": {
"commonName": "Sales",
"oid": "1651626",
"objectType": "XCCPhoneLine"
},
"links": [
{
"rel": "self",
"href": "https://xelion.nl/api/v1/master/phonelines/1651626",
"method": "GET"
}
]
}
],
"meta": {
"links": [
{
"rel": "refresh",
"href": "https://xelion.nl/api/v1/master/me/lines",
"method": "GET"
},
{
"rel": "next",
"href": "https://xelion.nl/api/v1/master/me/lines?after=1651626",
"method": "GET"
},
{
"rel": "previous",
"href": "https://xelion.nl/api/v1/master/me/lines?before=1651130",
"method": "GET"
}
],
"paging": {
"previousId": "1651130",
"nextId": "1651626"
}
}
}