PUT (Update)

This API sends a chat event to the chat room. Currently, the only chat event that can be sent from the client is a chat message of the form:


<Message> 
	<body>body of message </body>
</Message>
Note
Because there is no identifier to specify which chat we are getting events for, API calls only work with a valid session cookie. The session cookie returned from the POST or GET should be provided on subsequent chat proxy API calls.

URL:

https://<ServerIP>:<Port>/ccp/rest/chat

HTTPS method:

PUT

Example response payload:


<ChatEvents>
	<PresenceEvent>
		<id>1</id>
		<from>Steve</from>
		<status>joined</status>
	</Presence>
	<MessageEvent>
		<id>2</id>
		<from>Steve</from>
		<body>Hi There</body>
	</Message>
	<MessageEvent>
		<id>3</id>
		<from>Steve</from>
		<body>How can I help you?</body>
	</Message>
</ChatEvents>

Responses:

200 (Succeeded) or 400/500 (Failed).

See HTTPS Responses.