From Bright Pattern Documentation
(Created new topic from branched topic Documentation:ServicePattern:mobile-web-api-specification:SendEvents:5.1) |
(Updated via BpDeleteTranslateTags script) |
||
Line 1: | Line 1: | ||
− | + | = Send Events = | |
''Send Events'' sends [[mobile-web-api-specification/ClientEvents|events from the client]] to the server side and returns [[mobile-web-api-specification/ServerEvents|events from the server]]. | ''Send Events'' sends [[mobile-web-api-specification/ClientEvents|events from the client]] to the server side and returns [[mobile-web-api-specification/ServerEvents|events from the server]]. | ||
Line 40: | Line 40: | ||
<center>[[mobile-web-api-specification/GetActiveChat|< Previous]] | [[mobile-web-api-specification/GetChatHistory|Next >]]</center> | <center>[[mobile-web-api-specification/GetActiveChat|< Previous]] | [[mobile-web-api-specification/GetChatHistory|Next >]]</center> | ||
− |
Latest revision as of 04:32, 29 May 2024
Send Events
Send Events sends events from the client to the server side and returns events from the server.
URL
http[s]://<host>:<port>/clientweb/api/v1/chats/{chatId}/events?tenantUrl=<tenantUrl>
Method
POST
Request Body
Array of chat events (content type: application/json)
Example
{
} |
Returns
200 – Array of new chat events from the server side (content type: application/json)
Example
{
"events":[<array of new chat events from server>] } |
Errors
401 – Unauthorized
404 – Not found