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": "7066f08c-52f4-4544-b7d0-1fee664b912f", "ChannelId": "aa45b21f-b2a3-4bb5-ad5c-836aed979b76", "SenderId": "4c730bb8-9655-4642-aad3-6383f585250a", "ReceiverId": "b775495b-aaf8-45b3-a3d0-37065be133d5", "Message": "sample string 2", "IsDeleted": true, "IsEdited": true, "MessageDateTime": "2024-09-19T09:45:11.3203573+01:00", "UpdatedDateTime": "2024-09-19T09:45:11.3203573+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": "b73ae6b1-81c8-406b-8c46-0cd84ff73472", "ReactedByUserId": "26393032-3664-4e98-84bc-8a0eaf357c2b", "ReportMessage": "sample string 7", "TaggedMembers": [ "4f34840d-2888-4960-8ef4-14ff3ad152e9", "55cd5fbd-6b30-4b56-b9ec-c8e7a6b5e9cb" ], "TaggedMembersIds": "sample string 8", "ParentMessageId": "2760c890-7939-4f80-95cb-d68fac86275e", "FromUserId": "5f42f0b3-3b86-494d-922e-fa3dfb8ba86e", "IsChannel": true, "IsGroupChat": true, "IsArchieved": true, "SharedMessage": { "Id": "98a6d98d-c6d3-4e2e-aafd-8e6c83528018", "ChannelId": "83a7faef-317f-404e-9a29-013ede9cdd83", "SenderId": "4c0dd4ab-8ac6-4012-b148-3f61cc82ee07", "ReceiverId": "2a082095-30ee-4b03-b80b-1096aa052e3d", "Message": "sample string 2", "MessageDateTime": "2024-09-19T09:45:11.3203573+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": [ "87cb37ee-64a1-4122-be46-e26f16c5cf6d", "91cb6b94-4865-456c-9045-39429be982dc" ], "ParentMessageId": "d1753a10-eee1-4c43-915b-a0063e4191a2" }, "SharedMessageId": "b3b8face-0456-4861-b72d-5ca756445e29" }
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>aa45b21f-b2a3-4bb5-ad5c-836aed979b76</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>5f42f0b3-3b86-494d-922e-fa3dfb8ba86e</FromUserId> <Id>7066f08c-52f4-4544-b7d0-1fee664b912f</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>2024-09-19T09:45:11.3203573+01:00</MessageDateTime> <MessageType>Text</MessageType> <ParentMessageId>2760c890-7939-4f80-95cb-d68fac86275e</ParentMessageId> <PinnedByUserId>b73ae6b1-81c8-406b-8c46-0cd84ff73472</PinnedByUserId> <ReactedByUserId>26393032-3664-4e98-84bc-8a0eaf357c2b</ReactedByUserId> <ReceiverId>b775495b-aaf8-45b3-a3d0-37065be133d5</ReceiverId> <ReceiverName>sample string 5</ReceiverName> <ReportMessage>sample string 7</ReportMessage> <SenderId>4c730bb8-9655-4642-aad3-6383f585250a</SenderId> <SenderName>sample string 4</SenderName> <SharedMessage> <ChannelId>83a7faef-317f-404e-9a29-013ede9cdd83</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>98a6d98d-c6d3-4e2e-aafd-8e6c83528018</Id> <Message>sample string 2</Message> <MessageDateTime>2024-09-19T09:45:11.3203573+01:00</MessageDateTime> <MessageType>Text</MessageType> <ParentMessageId>d1753a10-eee1-4c43-915b-a0063e4191a2</ParentMessageId> <ReceiverId>2a082095-30ee-4b03-b80b-1096aa052e3d</ReceiverId> <ReportMessage>sample string 4</ReportMessage> <SenderId>4c0dd4ab-8ac6-4012-b148-3f61cc82ee07</SenderId> <TaggedMembers xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d3p1:guid>87cb37ee-64a1-4122-be46-e26f16c5cf6d</d3p1:guid> <d3p1:guid>91cb6b94-4865-456c-9045-39429be982dc</d3p1:guid> </TaggedMembers> </SharedMessage> <SharedMessageId>b3b8face-0456-4861-b72d-5ca756445e29</SharedMessageId> <TaggedMembers xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:guid>4f34840d-2888-4960-8ef4-14ff3ad152e9</d2p1:guid> <d2p1:guid>55cd5fbd-6b30-4b56-b9ec-c8e7a6b5e9cb</d2p1:guid> </TaggedMembers> <TaggedMembersIds>sample string 8</TaggedMembersIds> <UpdatedDateTime>2024-09-19T09:45:11.3203573+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.