Get Chat Session Available Users


This request returns a list of users that are available for chatting in this chat session (external session / phone line session).
A user can be reassigned to the chatsession.

Resource

GET /chats/<OID>/available_users

Parameters

None

Payload

None

Response

Context

Authorization

User

Errors

Example

Request
GET https://xelion.nl/api/v1/master/chats/2043474/available_users
Response
{
    "data": [
        {
            "object": {
                "person": {
                    "commonName": "Arno",
                    "oid": "1650938",
                    "objectType": "Person"
                },
                "commonName": "arno",
                "oid": "1651120",
                "objectType": "UserProfile"
            },
            "links": [
                {
                    "rel": "self",
                    "href": "https://sip.xelion.nl/api/v1/master/users/1651120",
                    "method": "GET"
                }
            ]
        },
        {
            "object": {
                "person": {
                    "commonName": "Wesley",
                    "oid": "1650975",
                    "objectType": "Person"
                },
                "commonName": "wes",
                "oid": "1651218",
                "objectType": "UserProfile"
            },
            "links": [
                {
                    "rel": "self",
                    "href": "https://sip.xelion.nl/api/v1/master/users/1651218",
                    "method": "GET"
                }
            ]
        }
    ],
    "meta": {
        "links": [
            {
                "rel": "refresh",
                "href": "https://sip.xelion.nl/api/v1/master/chats/2043474/available_users",
                "method": "GET"
            }
        ]
    }
}