PUT Message/MessageApi/UpsertReaction
Request Information
URI Parameters
None.
Body Parameters
MessageUpsertInputModel| Name | 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. |
|
| StarredByUserId | globally unique identifier |
None. |
Request Formats
application/json, text/json
Sample:
{
"Id": "9642582b-68b4-48a5-a3bc-5cb62125beda",
"ChannelId": "d195d59b-ea96-4b3b-9240-9af01c387585",
"SenderId": "a2bfc772-b264-4f5a-9781-0383e1f33ad3",
"ReceiverId": "a912ae0d-b217-4b89-b471-50ef1c5120fd",
"Message": "sample string 2",
"IsDeleted": true,
"IsEdited": true,
"MessageDateTime": "2025-12-14T01:26:16.0739019+00:00",
"UpdatedDateTime": "2025-12-14T01:26:16.0739019+00:00",
"MessageType": 1,
"Files": [
{
"FilePath": "sample string 1",
"FileName": "sample string 2",
"FileDuration": "sample string 3"
},
{
"FilePath": "sample string 1",
"FileName": "sample string 2",
"FileDuration": "sample string 3"
}
],
"FilesXml": "sample string 3",
"SenderName": "sample string 4",
"ReceiverName": "sample string 5",
"ChannelName": "sample string 6",
"IsPinned": true,
"IsStarred": true,
"IsRead": true,
"PinnedByUserId": "12641135-9eb3-48e9-ac93-2a0955f7dd60",
"ReactedByUserId": "af41af56-403d-4c86-a506-807bcdf6c8a1",
"ReportMessage": "sample string 7",
"TaggedMembers": [
"f488c04f-ed65-4cc9-a008-fb5374b1c8cb",
"6aafe5a4-daf2-4b61-bb5c-1e567d21e65d"
],
"TaggedMembersIds": "sample string 8",
"ParentMessageId": "431e5686-54f6-4ab0-b63c-ae10fab4197d",
"FromUserId": "09dc9da9-e568-41c2-9da9-5ac2e49069cf",
"IsChannel": true,
"IsGroupChat": true,
"IsArchieved": true,
"SharedMessage": {
"Id": "c93a598d-1ff2-4a57-b35e-4ed81a6b36b4",
"ChannelId": "3e57cf44-303f-42da-b160-66b4e803b955",
"SenderId": "035325d5-4313-44de-830f-2c0c7b3cea86",
"ReceiverId": "c7d09786-45fe-4291-b686-c3501f1bc58c",
"Message": "sample string 2",
"MessageDateTime": "2025-12-14T01:26:16.0739019+00:00",
"MessageType": 1,
"Files": [
{
"FilePath": "sample string 1",
"FileName": "sample string 2",
"FileDuration": "sample string 3"
},
{
"FilePath": "sample string 1",
"FileName": "sample string 2",
"FileDuration": "sample string 3"
}
],
"ReportMessage": "sample string 4",
"TaggedMembersList": [
{
"MemberId": "f25b6d3e-13a2-42ce-ae3e-2f873261c72f",
"FullName": "sample string 2"
},
{
"MemberId": "f25b6d3e-13a2-42ce-ae3e-2f873261c72f",
"FullName": "sample string 2"
}
],
"TaggedMembers": [
"3fd04c79-58a9-4679-a3ca-bd96b7d5243f",
"df0e7241-cf8c-473d-a805-e9e3aa11f3ec"
],
"ParentMessageId": "d020819a-c9de-459d-af28-eeddb47ebcc1",
"SenderName": "sample string 5"
},
"SharedMessageId": "70385074-bb52-4b57-8bbb-54c701ffa2a1",
"StarredByUserId": "0a0e5eba-8cbd-40ca-9670-52b09abd3310"
}
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>d195d59b-ea96-4b3b-9240-9af01c387585</ChannelId>
<ChannelName>sample string 6</ChannelName>
<Files>
<FileModel>
<FileDuration>sample string 3</FileDuration>
<FileName>sample string 2</FileName>
<FilePath>sample string 1</FilePath>
</FileModel>
<FileModel>
<FileDuration>sample string 3</FileDuration>
<FileName>sample string 2</FileName>
<FilePath>sample string 1</FilePath>
</FileModel>
</Files>
<FilesXml>sample string 3</FilesXml>
<FromUserId>09dc9da9-e568-41c2-9da9-5ac2e49069cf</FromUserId>
<Id>9642582b-68b4-48a5-a3bc-5cb62125beda</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-12-14T01:26:16.0739019+00:00</MessageDateTime>
<MessageType>Text</MessageType>
<ParentMessageId>431e5686-54f6-4ab0-b63c-ae10fab4197d</ParentMessageId>
<PinnedByUserId>12641135-9eb3-48e9-ac93-2a0955f7dd60</PinnedByUserId>
<ReactedByUserId>af41af56-403d-4c86-a506-807bcdf6c8a1</ReactedByUserId>
<ReceiverId>a912ae0d-b217-4b89-b471-50ef1c5120fd</ReceiverId>
<ReceiverName>sample string 5</ReceiverName>
<ReportMessage>sample string 7</ReportMessage>
<SenderId>a2bfc772-b264-4f5a-9781-0383e1f33ad3</SenderId>
<SenderName>sample string 4</SenderName>
<SharedMessage>
<ChannelId>3e57cf44-303f-42da-b160-66b4e803b955</ChannelId>
<Files>
<FileModel>
<FileDuration>sample string 3</FileDuration>
<FileName>sample string 2</FileName>
<FilePath>sample string 1</FilePath>
</FileModel>
<FileModel>
<FileDuration>sample string 3</FileDuration>
<FileName>sample string 2</FileName>
<FilePath>sample string 1</FilePath>
</FileModel>
</Files>
<Id>c93a598d-1ff2-4a57-b35e-4ed81a6b36b4</Id>
<Message>sample string 2</Message>
<MessageDateTime>2025-12-14T01:26:16.0739019+00:00</MessageDateTime>
<MessageType>Text</MessageType>
<ParentMessageId>d020819a-c9de-459d-af28-eeddb47ebcc1</ParentMessageId>
<ReceiverId>c7d09786-45fe-4291-b686-c3501f1bc58c</ReceiverId>
<ReportMessage>sample string 4</ReportMessage>
<SenderId>035325d5-4313-44de-830f-2c0c7b3cea86</SenderId>
<SenderName>sample string 5</SenderName>
<TaggedMembers xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d3p1:guid>3fd04c79-58a9-4679-a3ca-bd96b7d5243f</d3p1:guid>
<d3p1:guid>df0e7241-cf8c-473d-a805-e9e3aa11f3ec</d3p1:guid>
</TaggedMembers>
<TaggedMembersList>
<TaggedOutputModel>
<FullName>sample string 2</FullName>
<MemberId>f25b6d3e-13a2-42ce-ae3e-2f873261c72f</MemberId>
</TaggedOutputModel>
<TaggedOutputModel>
<FullName>sample string 2</FullName>
<MemberId>f25b6d3e-13a2-42ce-ae3e-2f873261c72f</MemberId>
</TaggedOutputModel>
</TaggedMembersList>
</SharedMessage>
<SharedMessageId>70385074-bb52-4b57-8bbb-54c701ffa2a1</SharedMessageId>
<StarredByUserId>0a0e5eba-8cbd-40ca-9670-52b09abd3310</StarredByUserId>
<TaggedMembers xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:guid>f488c04f-ed65-4cc9-a008-fb5374b1c8cb</d2p1:guid>
<d2p1:guid>6aafe5a4-daf2-4b61-bb5c-1e567d21e65d</d2p1:guid>
</TaggedMembers>
<TaggedMembersIds>sample string 8</TaggedMembersIds>
<UpdatedDateTime>2025-12-14T01:26:16.0739019+00:00</UpdatedDateTime>
</MessageUpsertInputModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
JsonResultOfCommunicatorJsonResult| Name | 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.