PUT Channels/ChannelsApi/UpsertConversation
Request Information
URI Parameters
None.
Body Parameters
ConversationUpsertInputModelName | Description | Type | Additional information |
---|---|---|---|
ConversationId | globally unique identifier |
None. |
|
UserId | globally unique identifier |
None. |
|
IsChannel | boolean |
None. |
|
Mute | boolean |
None. |
|
Star | boolean |
None. |
|
Hide | boolean |
None. |
|
MuteTime | integer |
None. |
|
MutedOn | date |
None. |
|
MessageDateTime | date |
None. |
Request Formats
application/json, text/json
Sample:
{ "ConversationId": "0964e5ea-3ed8-423f-b1e6-05b746d731f7", "UserId": "d4a7dbed-074b-4e80-9667-b71ed011fcf3", "IsChannel": true, "Mute": true, "Star": true, "Hide": true, "MuteTime": 1, "MutedOn": "2024-09-19T09:37:16.3559286+01:00", "MessageDateTime": "2024-09-19T09:37:16.3559286+01:00" }
application/xml, text/xml
Sample:
<ConversationUpsertInputModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Communicator.Models.Channels"> <ConversationId>0964e5ea-3ed8-423f-b1e6-05b746d731f7</ConversationId> <Hide>true</Hide> <IsChannel>true</IsChannel> <MessageDateTime>2024-09-19T09:37:16.3559286+01:00</MessageDateTime> <Mute>true</Mute> <MuteTime>1</MuteTime> <MutedOn>2024-09-19T09:37:16.3559286+01:00</MutedOn> <Star>true</Star> <UserId>d4a7dbed-074b-4e80-9667-b71ed011fcf3</UserId> </ConversationUpsertInputModel>
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.