POST Channels/ChannelsApi/AddMembersToChannel
Request Information
URI Parameters
None.
Body Parameters
ChannelUpsertInputModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | globally unique identifier |
None. |
|
| OwnerId | globally unique identifier |
None. |
|
| ChannelName | string |
None. |
|
| ChannelImage | string |
None. |
|
| IsDeleted | boolean |
None. |
|
| IsInsert | boolean |
None. |
|
| ChannelMembers | Collection of ChannelMemberModel |
None. |
|
| IsLeft | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"Id": "f9489cdd-f43e-42f7-b296-c8c6412136ae",
"OwnerId": "d5dc5f73-e180-439b-840d-a508954af6a7",
"ChannelName": "sample string 1",
"ChannelImage": "sample string 2",
"IsDeleted": true,
"IsInsert": true,
"ChannelMembers": [
{
"ChannelMemberId": "66efd8de-7e13-4f04-af1d-19a834a1cfc3",
"IsReadOnly": true
},
{
"ChannelMemberId": "66efd8de-7e13-4f04-af1d-19a834a1cfc3",
"IsReadOnly": true
}
],
"IsLeft": true
}
application/xml, text/xml
Sample:
<ChannelUpsertInputModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Communicator.Models.Channels">
<ChannelImage>sample string 2</ChannelImage>
<ChannelMembers>
<ChannelMemberModel>
<ChannelMemberId>66efd8de-7e13-4f04-af1d-19a834a1cfc3</ChannelMemberId>
<IsReadOnly>true</IsReadOnly>
</ChannelMemberModel>
<ChannelMemberModel>
<ChannelMemberId>66efd8de-7e13-4f04-af1d-19a834a1cfc3</ChannelMemberId>
<IsReadOnly>true</IsReadOnly>
</ChannelMemberModel>
</ChannelMembers>
<ChannelName>sample string 1</ChannelName>
<Id>f9489cdd-f43e-42f7-b296-c8c6412136ae</Id>
<IsDeleted>true</IsDeleted>
<IsInsert>true</IsInsert>
<IsLeft>true</IsLeft>
<OwnerId>d5dc5f73-e180-439b-840d-a508954af6a7</OwnerId>
</ChannelUpsertInputModel>
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.