GET (Events) Parameters
GET takes two parameters:
-
all (default = false)—if true, all events since eventid are returned. If false, MessageEvents sent from the consumer (by the PUT call) are omitted from the returned events list.
For example:
https://<ServerIP>:<Port>/ccp/rest/chat?eventid=0&all=false
-
eventid (default = 0)— When first called, eventid is set to 0. Subsequent calls identify the eventid of the last processed event. The call will return events that occurred since the specified eventid. It is normal for there to be gaps in the eventids that are returned.
Event |
Description and child events | ||
---|---|---|---|
MessageEvent |
A chat message sent from the agent:
| ||
PresenceEvent |
A user joined or left the session:
| ||
TypingEvent |
| ||
StatusEvent |
Chat session status:
|