PUT Message/MessageApi/UpdateMessage
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": "5f8f72c6-1361-431c-b75c-e8a394d51b62", "ChannelId": "8ab20a61-6cbd-4e16-bd24-22e67c439f30", "SenderId": "1068c910-f17b-4427-9b59-9c833ce9bd08", "ReceiverId": "814e86ab-3991-4d5e-8b60-daba32b71e5f", "Message": "sample string 2", "IsDeleted": true, "IsEdited": true, "MessageDateTime": "2025-04-04T02:48:52.647149+01:00", "UpdatedDateTime": "2025-04-04T02:48:52.647149+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": "4a2bb992-3242-48c8-982a-913037f66095", "ReactedByUserId": "132a18b2-c69f-418a-ae2b-d2d201209988", "ReportMessage": "sample string 7", "TaggedMembers": [ "9eadd39d-dda8-433b-a389-326d772d7d2a", "08800cfd-a09a-4cd1-a401-38243a88b4fe" ], "TaggedMembersIds": "sample string 8", "ParentMessageId": "3d3a5e24-d171-403a-a590-75cd7a2fc8cd", "FromUserId": "07e0fd18-3cf3-40d8-b213-a10ff4e64c93", "IsChannel": true, "IsGroupChat": true, "IsArchieved": true, "SharedMessage": { "Id": "65533d84-885d-43b1-a172-2a53ab73c47e", "ChannelId": "e5c496a3-0a30-4f7a-b96e-b9dde168cf39", "SenderId": "98ff71b7-b2bd-4dd0-be5b-93b5ea5c91af", "ReceiverId": "9b26b1ad-54ef-41e6-8692-fc4c50c4259a", "Message": "sample string 2", "MessageDateTime": "2025-04-04T02:48:52.6511355+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": [ "f63333e6-0854-4b19-a02f-b28686aaf4fc", "385d77c5-9cbe-44a1-9291-75caec141fe3" ], "ParentMessageId": "6a45843f-3a35-4f10-ae24-36c76cdca473" }, "SharedMessageId": "815d37af-a017-47a1-aa6d-13a0dcba0783" }
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>8ab20a61-6cbd-4e16-bd24-22e67c439f30</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>07e0fd18-3cf3-40d8-b213-a10ff4e64c93</FromUserId> <Id>5f8f72c6-1361-431c-b75c-e8a394d51b62</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:48:52.647149+01:00</MessageDateTime> <MessageType>Text</MessageType> <ParentMessageId>3d3a5e24-d171-403a-a590-75cd7a2fc8cd</ParentMessageId> <PinnedByUserId>4a2bb992-3242-48c8-982a-913037f66095</PinnedByUserId> <ReactedByUserId>132a18b2-c69f-418a-ae2b-d2d201209988</ReactedByUserId> <ReceiverId>814e86ab-3991-4d5e-8b60-daba32b71e5f</ReceiverId> <ReceiverName>sample string 5</ReceiverName> <ReportMessage>sample string 7</ReportMessage> <SenderId>1068c910-f17b-4427-9b59-9c833ce9bd08</SenderId> <SenderName>sample string 4</SenderName> <SharedMessage> <ChannelId>e5c496a3-0a30-4f7a-b96e-b9dde168cf39</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>65533d84-885d-43b1-a172-2a53ab73c47e</Id> <Message>sample string 2</Message> <MessageDateTime>2025-04-04T02:48:52.6511355+01:00</MessageDateTime> <MessageType>Text</MessageType> <ParentMessageId>6a45843f-3a35-4f10-ae24-36c76cdca473</ParentMessageId> <ReceiverId>9b26b1ad-54ef-41e6-8692-fc4c50c4259a</ReceiverId> <ReportMessage>sample string 4</ReportMessage> <SenderId>98ff71b7-b2bd-4dd0-be5b-93b5ea5c91af</SenderId> <TaggedMembers xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d3p1:guid>f63333e6-0854-4b19-a02f-b28686aaf4fc</d3p1:guid> <d3p1:guid>385d77c5-9cbe-44a1-9291-75caec141fe3</d3p1:guid> </TaggedMembers> </SharedMessage> <SharedMessageId>815d37af-a017-47a1-aa6d-13a0dcba0783</SharedMessageId> <TaggedMembers xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:guid>9eadd39d-dda8-433b-a389-326d772d7d2a</d2p1:guid> <d2p1:guid>08800cfd-a09a-4cd1-a401-38243a88b4fe</d2p1:guid> </TaggedMembers> <TaggedMembersIds>sample string 8</TaggedMembersIds> <UpdatedDateTime>2025-04-04T02:48:52.647149+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.