POST Channels/ChannelsApi/CreateChannel
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": "7eaaacdf-9978-43ed-936b-7ff776eebbad",
"OwnerId": "7b94ab78-3c4d-4781-afe9-ea539281c964",
"ChannelName": "sample string 1",
"ChannelImage": "sample string 2",
"IsDeleted": true,
"IsInsert": true,
"ChannelMembers": [
{
"ChannelMemberId": "c3ea8286-6fe3-495d-9d04-1c7015316f95",
"IsReadOnly": true
},
{
"ChannelMemberId": "c3ea8286-6fe3-495d-9d04-1c7015316f95",
"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>c3ea8286-6fe3-495d-9d04-1c7015316f95</ChannelMemberId>
<IsReadOnly>true</IsReadOnly>
</ChannelMemberModel>
<ChannelMemberModel>
<ChannelMemberId>c3ea8286-6fe3-495d-9d04-1c7015316f95</ChannelMemberId>
<IsReadOnly>true</IsReadOnly>
</ChannelMemberModel>
</ChannelMembers>
<ChannelName>sample string 1</ChannelName>
<Id>7eaaacdf-9978-43ed-936b-7ff776eebbad</Id>
<IsDeleted>true</IsDeleted>
<IsInsert>true</IsInsert>
<IsLeft>true</IsLeft>
<OwnerId>7b94ab78-3c4d-4781-afe9-ea539281c964</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.