Get Phone Line Groups
This request returns a list of phone line groups.
These are also known as call pickup groups.
Resource
GET /phonelinesgroups
Parameters
Payload
None
Response
Context
Authorization |
Administrator |
Errors
Example
Request
GET https://xelion.nl/api/v1/master/phonelinesgroups
Response
{
"data": [
{
"object": {
"commonName": "pickupgroup1",
"oid": "1738229",
"objectType": "XCCPhoneLinesGroup"
},
"links": [
{
"rel": "self",
"href": "https://xelion.nl/api/v1/master/phonelinesgroups/1738229",
"method": "GET"
}
]
},
{
"object": {
"commonName": "pickupgroup2",
"oid": "1738560",
"objectType": "XCCPhoneLinesGroup"
},
"links": [
{
"rel": "self",
"href": "https://xelion.nl/api/v1/master/phonelinesgroups/1738560",
"method": "GET"
}
]
}
],
"meta": {
"links": [
{
"rel": "refresh",
"href": "https://xelion.nl/api/v1/master/phonelinesgroups",
"method": "GET"
},
{
"rel": "next",
"href": "https://xelion.nl/api/v1/master/phonelinesgroups?after=1738560",
"method": "GET"
},
{
"rel": "previous",
"href": "https://xelion.nl/api/v1/master/phonelinesgroups?before=1738229",
"method": "GET"
}
],
"paging": {
"previousId": "1738229",
"nextId": "1738560"
}
}
}