/
endAllContacts
endAllContacts
Terminates all active chats for the domain specified.
HTTP POST /livechat/:domain/endAllContacts
Path Variables:
Name | Mandatory | Type | Description |
---|---|---|---|
domain | NO | STRING | Unique domain identifier |
Authorization: see Authentication mechanisms
Response:
Type: JSON
Name | Type | Description |
---|---|---|
result | BOOLEAN | If true, the service response was performed correctly |
contacts | array | contains the list of the IDs of the chat terminated |
error | NULL / STRING | Contains the error description if an error has occurred in the request |
Example:
Request
http://<hostname>:<port>/livechat/default/endAllContacts
Response
{
"result": true,
"contacts": [
"CHAT_DEFAULT_72d65373-16af-46ed-a419-65bfd6c8e378",
"CHAT_DEFAULT_b1b0817c-c357-409f-b05d-98c4ac7b162b",
"CHAT_DEFAULT_7ab61240-7063-404f-8cef-ca12ae9aed76"
],
"error": null
}
, multiple selections available,
Related content
endContactByChatID
endContactByChatID
More like this
getContactByChatID
getContactByChatID
More like this
getActiveContactsID
getActiveContactsID
More like this
getChatHistory
getChatHistory
More like this
getDataCollectionByChatID
getDataCollectionByChatID
More like this
getContactTranscriptByChatID
getContactTranscriptByChatID
More like this