Recent contacts
This request returns a list of colleagues that recently had a contact with the specified person.
The result is always ordered in descending order of the last communication date.
Resource
GET /addressables/<OID>/contacts[?parameters]
Where OID
is the object ID of the person.
Parameters
Name | Type | Description |
---|---|---|
|
Integer |
The maximum number of objects to return. Default: 15. |
Payload
None
Response
List Response < Contact >
Context
Authorization |
User |
Errors
Example
Request
GET https://xelion.nl/api/v1/master/addressables/1636216/contacts?limit=2
Response
{
"data": [
{
"object": {
"addressable": {
"commonName": "Support",
"oid": "1567406",
"objectType": "X1Object"
},
"notificationsCount": 0,
"lastCommunicationDate": "2016-10-29 08:31:55"
},
"links": [
{
"rel": "self",
"href": "http://www.xelion.nl/api/v1/master/addressables/1567406",
"method": "GET"
}
]
},
{
"object": {
"addressable": {
"commonName": "Arnon Ron",
"oid": "1557797",
"objectType": "Person"
},
"notificationsCount": 0,
"lastCommunicationDate": "2016-11-18 11:17:27"
},
"links": [
{
"rel": "self",
"href": "http://www.xelion.nl/api/v1/master/addressables/1557797",
"method": "GET"
}
]
}
],
"meta": {
"links": [
{
"rel": "refresh",
"href": "http://localhost:8080/api/v1/master/addressables/1650975/contacts",
"method": "GET"
},
{
"rel": "previous",
"href": "http://localhost:8080/api/v1/master/addressables/1650975/contacts?before=2018-10-12+09%3A13%3A25_1651011",
"method": "GET"
}
],
"paging": {
"previousId": "2018-10-12 09:13:25_1651011"
}
}
}