Get todo lines of user
This request returns a list of todo phone lines the current user can see.
Resource
GET /me/todo_lines
Parameters
Payload
None
Response
Context
Authorization |
User |
Errors
Example
Request
GET https://xelion.nl/api/v1/master/me/todo_lines?include=activeTodoListItemsCount
Response
{
"data": [
{
"object": {
"activeTodoListItemsCount": 0,
"commonName": "Telefoonaansluiting Wesley",
"oid": "1651226",
"objectType": "XCCPhoneLine"
},
"links": [
{
"rel": "self",
"href": "https://xelion.nl/api/v1/master/phonelines/1651226",
"method": "GET"
}
]
},
{
"object": {
"activeTodoListItemsCount": 0,
"commonName": "Support",
"x1syncid": "Support",
"x1syncsource": "csv",
"oid": "1651614",
"objectType": "XCCPhoneLine"
},
"links": [
{
"rel": "self",
"href": "https://xelion.nl/api/v1/master/phonelines/1651614",
"method": "GET"
}
]
}
],
"meta": {
"links": [
{
"rel": "refresh",
"href": "https://xelion.nl/api/v1/master/me/todo_lines",
"method": "GET"
},
{
"rel": "next",
"href": "https://xelion.nl/api/v1/master/me/todo_lines?after=1651614",
"method": "GET"
},
{
"rel": "previous",
"href": "https://xelion.nl/api/v1/master/me/todo_lines?before=1651226",
"method": "GET"
}
],
"paging": {
"previousId": "1651226",
"nextId": "1651614"
}
}
}