PUT Message/MessageApi/UpsertReaction
Request Information
URI Parameters
None.
Body Parameters
MessageUpsertInputModelName | Description | Type | Additional information |
---|---|---|---|
Id | globally unique identifier |
None. |
|
ChannelId | globally unique identifier |
None. |
|
SenderId | globally unique identifier |
None. |
|
ReceiverId | globally unique identifier |
None. |
|
Message | string |
None. |
|
IsDeleted | boolean |
None. |
|
IsEdited | boolean |
None. |
|
MessageDateTime | date |
None. |
|
UpdatedDateTime | date |
None. |
|
MessageType | MessageTypes |
None. |
|
Files | Collection of FileModel |
None. |
|
FilesXml | string |
None. |
|
SenderName | string |
None. |
|
ReceiverName | string |
None. |
|
ChannelName | string |
None. |
|
IsPinned | boolean |
None. |
|
IsStarred | boolean |
None. |
|
IsRead | boolean |
None. |
|
PinnedByUserId | globally unique identifier |
None. |
|
ReactedByUserId | globally unique identifier |
None. |
|
ReportMessage | string |
None. |
|
TaggedMembers | Collection of globally unique identifier |
None. |
|
TaggedMembersIds | string |
None. |
|
ParentMessageId | globally unique identifier |
None. |
|
FromUserId | globally unique identifier |
None. |
|
IsChannel | boolean |
None. |
|
IsGroupChat | boolean |
None. |
|
IsArchieved | boolean |
None. |
|
SharedMessage | SharedMessageModel |
None. |
|
SharedMessageId | globally unique identifier |
None. |
Request Formats
application/json, text/json
Sample:
{ "Id": "ff76378d-4a4e-4b40-9d9a-7143b0ae1d44", "ChannelId": "d7f1d24c-1089-4fe1-8273-f5a5965012aa", "SenderId": "9f712f09-5334-4f25-951f-2da69a700ce6", "ReceiverId": "97db2786-d7d7-47f7-9883-3fc5f84949b0", "Message": "sample string 2", "IsDeleted": true, "IsEdited": true, "MessageDateTime": "2025-04-04T02:55:35.5367859+01:00", "UpdatedDateTime": "2025-04-04T02:55:35.5367859+01:00", "MessageType": 1, "Files": [ { "FilePath": "sample string 1", "FileName": "sample string 2" }, { "FilePath": "sample string 1", "FileName": "sample string 2" } ], "FilesXml": "sample string 3", "SenderName": "sample string 4", "ReceiverName": "sample string 5", "ChannelName": "sample string 6", "IsPinned": true, "IsStarred": true, "IsRead": true, "PinnedByUserId": "2efd89ff-220b-423b-b41e-e1b44dc30405", "ReactedByUserId": "e9d9fb9d-4043-407f-9c8a-82903cd38828", "ReportMessage": "sample string 7", "TaggedMembers": [ "73d12c82-76f3-4ae2-9d67-8f77d9e7837f", "15fe0696-2f5f-4694-aa48-bc5b77093efc" ], "TaggedMembersIds": "sample string 8", "ParentMessageId": "32774532-89ff-448e-8dd7-6afed83f15b8", "FromUserId": "8b68fdc9-f352-4b79-ae65-8cce2bf9570b", "IsChannel": true, "IsGroupChat": true, "IsArchieved": true, "SharedMessage": { "Id": "45f89ad4-d461-458d-8f2c-015496da2aa8", "ChannelId": "a1837154-d381-42cd-bdba-ad5a1990bf57", "SenderId": "c9af8b7f-8f73-4741-8c96-7c968c7ae01f", "ReceiverId": "2f99514e-19e1-4d58-afc7-7e5fb3555a27", "Message": "sample string 2", "MessageDateTime": "2025-04-04T02:55:35.5367859+01:00", "MessageType": 1, "Files": [ { "FilePath": "sample string 1", "FileName": "sample string 2" }, { "FilePath": "sample string 1", "FileName": "sample string 2" } ], "ReportMessage": "sample string 4", "TaggedMembers": [ "30b6922f-19a2-4054-a749-bab58d6e74e2", "664c632b-8152-465f-8392-705ee8e5f35e" ], "ParentMessageId": "d77875ad-07a4-4f1d-8e8a-e36a647c9058" }, "SharedMessageId": "ca9b65ae-7ca8-417f-b001-19894f23240c" }
application/xml, text/xml
Sample:
<MessageUpsertInputModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Communicator.Models.Messages"> <ChannelId>d7f1d24c-1089-4fe1-8273-f5a5965012aa</ChannelId> <ChannelName>sample string 6</ChannelName> <Files> <FileModel> <FileName>sample string 2</FileName> <FilePath>sample string 1</FilePath> </FileModel> <FileModel> <FileName>sample string 2</FileName> <FilePath>sample string 1</FilePath> </FileModel> </Files> <FilesXml>sample string 3</FilesXml> <FromUserId>8b68fdc9-f352-4b79-ae65-8cce2bf9570b</FromUserId> <Id>ff76378d-4a4e-4b40-9d9a-7143b0ae1d44</Id> <IsArchieved>true</IsArchieved> <IsDeleted>true</IsDeleted> <IsEdited>true</IsEdited> <IsGroupChat>true</IsGroupChat> <IsPinned>true</IsPinned> <IsRead>true</IsRead> <IsStarred>true</IsStarred> <Message>sample string 2</Message> <MessageDateTime>2025-04-04T02:55:35.5367859+01:00</MessageDateTime> <MessageType>Text</MessageType> <ParentMessageId>32774532-89ff-448e-8dd7-6afed83f15b8</ParentMessageId> <PinnedByUserId>2efd89ff-220b-423b-b41e-e1b44dc30405</PinnedByUserId> <ReactedByUserId>e9d9fb9d-4043-407f-9c8a-82903cd38828</ReactedByUserId> <ReceiverId>97db2786-d7d7-47f7-9883-3fc5f84949b0</ReceiverId> <ReceiverName>sample string 5</ReceiverName> <ReportMessage>sample string 7</ReportMessage> <SenderId>9f712f09-5334-4f25-951f-2da69a700ce6</SenderId> <SenderName>sample string 4</SenderName> <SharedMessage> <ChannelId>a1837154-d381-42cd-bdba-ad5a1990bf57</ChannelId> <Files> <FileModel> <FileName>sample string 2</FileName> <FilePath>sample string 1</FilePath> </FileModel> <FileModel> <FileName>sample string 2</FileName> <FilePath>sample string 1</FilePath> </FileModel> </Files> <Id>45f89ad4-d461-458d-8f2c-015496da2aa8</Id> <Message>sample string 2</Message> <MessageDateTime>2025-04-04T02:55:35.5367859+01:00</MessageDateTime> <MessageType>Text</MessageType> <ParentMessageId>d77875ad-07a4-4f1d-8e8a-e36a647c9058</ParentMessageId> <ReceiverId>2f99514e-19e1-4d58-afc7-7e5fb3555a27</ReceiverId> <ReportMessage>sample string 4</ReportMessage> <SenderId>c9af8b7f-8f73-4741-8c96-7c968c7ae01f</SenderId> <TaggedMembers xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d3p1:guid>30b6922f-19a2-4054-a749-bab58d6e74e2</d3p1:guid> <d3p1:guid>664c632b-8152-465f-8392-705ee8e5f35e</d3p1:guid> </TaggedMembers> </SharedMessage> <SharedMessageId>ca9b65ae-7ca8-417f-b001-19894f23240c</SharedMessageId> <TaggedMembers xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:guid>73d12c82-76f3-4ae2-9d67-8f77d9e7837f</d2p1:guid> <d2p1:guid>15fe0696-2f5f-4694-aa48-bc5b77093efc</d2p1:guid> </TaggedMembers> <TaggedMembersIds>sample string 8</TaggedMembersIds> <UpdatedDateTime>2025-04-04T02:55:35.5367859+01:00</UpdatedDateTime> </MessageUpsertInputModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
JsonResultOfCommunicatorJsonResultName | Description | Type | Additional information |
---|---|---|---|
Content | CommunicatorJsonResult |
None. |
|
SerializerSettings | JsonSerializerSettings |
None. |
|
Encoding | Encoding |
None. |
|
Request | HttpRequestMessage |
None. |
Response Formats
application/json, text/json
Sample:
Sample not available.