Search Phone Lines
This request lists phone lines. Phone Line object links phone numbers with phones and contains call routing logic.
Resource
GET /phonelines[?parameters]
Payload
None
Response
Context
Authorization |
User |
Errors
Example
Request
GET https://xelion.nl/api/v1/master/phonelines?limit=2
Response
{
"data": [
{
"object": {
"commonName": "Hoofdaansluiting",
"oid": "1030585",
"objectType": "XCCPhoneLine"
},
"links": [
{
"rel": "self",
"href": "http://www.xelion.nl/api/v1/master/phonelines/1030585",
"method": "GET"
}
]
},
{
"object": {
"commonName": "Antwoordapparaat",
"oid": "1057453",
"objectType": "XCCPhoneLine"
},
"links": [
{
"rel": "self",
"href": "http://www.xelion.nl/api/v1/master/phonelines/1057453",
"method": "GET"
}
]
}
],
"meta": {
"links": [
{
"rel": "refresh",
"href": "http://www.xelion.nl/api/v1/master/phonelines",
"method": "GET"
},
{
"rel": "next",
"href": "http://www.xelion.nl/api/v1/master/phonelines?after=1590777",
"method": "GET"
},
{
"rel": "previous",
"href": "http://www.xelion.nl/api/v1/master/phonelines?before=1030585",
"method": "GET"
}
],
"paging": {
"previousId": "1030585",
"nextId": "1590777"
}
}
}