POST Users/UsersApi/UpsertFavouriteChat
Request Information
URI Parameters
None.
Body Parameters
FavouriteChatModel| Name | Description | Type | Additional information |
|---|---|---|---|
| ChannelId | globally unique identifier |
None. |
|
| UserId | globally unique identifier |
None. |
|
| IsFavourite | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"ChannelId": "bffa01fe-a03b-4c2f-9caa-8039f2f71193",
"UserId": "7030da03-71bb-4500-86db-5fd0f454affa",
"IsFavourite": true
}
application/xml, text/xml
Sample:
<FavouriteChatModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Communicator.Models.Common"> <ChannelId>bffa01fe-a03b-4c2f-9caa-8039f2f71193</ChannelId> <IsFavourite>true</IsFavourite> <UserId>7030da03-71bb-4500-86db-5fd0f454affa</UserId> </FavouriteChatModel>
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.