List Trunks
This request returns a list of the tenant’s telephone trunks.
Resource
GET /trunks[?parameters]
Parameters
Payload
None
Response
List Response < Trunk >
Context
Authorization |
Administrator |
Errors
Example
Request
GET https://xelion.nl/api/v1/master/trunks
Response
{
"data": [
{
"object": {
"commonName": "trunk",
"oid": "1033697",
"objectType": "XCCTrunk"
},
"links": [
{
"rel": "self",
"href": "http://www.xelion.nl/api/v1/master/trunks/1033697",
"method": "GET"
}
]
}
],
"meta": {
"links": [
{
"rel": "refresh",
"href": "http://www.xelion.nl/api/v1/master/trunks",
"method": "GET"
},
{
"rel": "next",
"href": "http://www.xelion.nl/api/v1/master/trunks?after=1033697",
"method": "GET"
},
{
"rel": "previous",
"href": "http://www.xelion.nl/api/v1/master/trunks?before=1033697",
"method": "GET"
}
],
"paging": {
"previousId": "1033697",
"nextId": "1033697"
}
}
}