Get Phones
This request returns a list of phone accounts
Resource
GET /phones
Parameters
Name | Type | Description |
---|---|---|
|
[String] |
Additional search fields. The field user is supported: where=user=[OID of UserProfile] |
|
String |
Include fields to the result. include=[included fields] |
Payload
None
Response
Context
Authorization |
User |
Errors
Example
GET https://xelion.nl/api/v1/master/phones
{
"data": [
{
"object": {
"active": false,
"commonName": "Toestel (3)",
"oid": "1932823",
"objectType": "XCCPhone"
},
"links": [
{
"rel": "self",
"href": "http://localhost:8080/api/v1/master/phones/1932823",
"method": "GET"
}
]
},
{
"object": {
"active": false,
"commonName": "Toestel (4)",
"oid": "1932835",
"objectType": "XCCPhone"
},
"links": [
{
"rel": "self",
"href": "http://localhost:8080/api/v1/master/phones/1932835",
"method": "GET"
}
]
},
{
"object": {
"active": false,
"commonName": "Toestel (5)",
"oid": "1932840",
"objectType": "XCCPhone"
},
"links": [
{
"rel": "self",
"href": "http://localhost:8080/api/v1/master/phones/1932840",
"method": "GET"
}
]
},
{
"object": {
"active": false,
"commonName": "Toestel (6)",
"oid": "1932845",
"objectType": "XCCPhone"
},
"links": [
{
"rel": "self",
"href": "http://localhost:8080/api/v1/master/phones/1932845",
"method": "GET"
}
]
},
{
"object": {
"active": false,
"commonName": "HELP",
"oid": "1932872",
"objectType": "XCCPhone"
},
"links": [
{
"rel": "self",
"href": "http://localhost:8080/api/v1/master/phones/1932872",
"method": "GET"
}
]
},
{
"object": {
"active": true,
"commonName": "Softphone beheerder",
"oid": "1057482",
"objectType": "XCCPhone"
},
"links": [
{
"rel": "self",
"href": "http://localhost:8080/api/v1/master/phones/1057482",
"method": "GET"
}
]
},
{
"object": {
"active": true,
"commonName": "Softphone van Haas Henk",
"oid": "1626799",
"objectType": "XCCPhone"
},
"links": [
{
"rel": "self",
"href": "http://localhost:8080/api/v1/master/phones/1626799",
"method": "GET"
}
]
},
{
"object": {
"active": true,
"commonName": "Yealink",
"oid": "1626929",
"objectType": "XCCPhone"
},
"links": [
{
"rel": "self",
"href": "http://localhost:8080/api/v1/master/phones/1626929",
"method": "GET"
}
]
},
{
"object": {
"active": true,
"commonName": "Toestel",
"oid": "1659352",
"objectType": "XCCPhone"
},
"links": [
{
"rel": "self",
"href": "http://localhost:8080/api/v1/master/phones/1659352",
"method": "GET"
}
]
},
{
"object": {
"active": true,
"commonName": "Toestel (2)",
"oid": "1659357",
"objectType": "XCCPhone"
},
"links": [
{
"rel": "self",
"href": "http://localhost:8080/api/v1/master/phones/1659357",
"method": "GET"
}
]
},
{
"object": {
"active": false,
"commonName": "Haas Henk (smartphone)",
"oid": "1626817",
"objectType": "XCCExternalPhone"
},
"links": [
{
"rel": "self",
"href": "http://localhost:8080/api/v1/master/phones/1626817",
"method": "GET"
}
]
},
{
"object": {
"active": false,
"commonName": "Jules de Tank (smartphone)",
"oid": "1626868",
"objectType": "XCCExternalPhone"
},
"links": [
{
"rel": "self",
"href": "http://localhost:8080/api/v1/master/phones/1626868",
"method": "GET"
}
]
},
{
"object": {
"active": true,
"commonName": "Toestel (7)",
"oid": "1934874",
"objectType": "XCCPhone"
},
"links": [
{
"rel": "self",
"href": "http://localhost:8080/api/v1/master/phones/1934874",
"method": "GET"
}
]
}
],
"meta": {
"links": [
{
"rel": "refresh",
"href": "http://localhost:8080/api/v1/master/phones",
"method": "GET"
}
]
}
}