PUT Channels/ChannelsApi/UpdateChannel
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": "2708d74a-50a9-437a-9831-cec78d436107",
"OwnerId": "10f29732-06d6-4632-922a-e4d8ea1baf71",
"ChannelName": "sample string 1",
"ChannelImage": "sample string 2",
"IsDeleted": true,
"IsInsert": true,
"ChannelMembers": [
{
"ChannelMemberId": "09fd9e92-7a5e-412d-8176-d5d735829e86",
"IsReadOnly": true
},
{
"ChannelMemberId": "09fd9e92-7a5e-412d-8176-d5d735829e86",
"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>09fd9e92-7a5e-412d-8176-d5d735829e86</ChannelMemberId>
<IsReadOnly>true</IsReadOnly>
</ChannelMemberModel>
<ChannelMemberModel>
<ChannelMemberId>09fd9e92-7a5e-412d-8176-d5d735829e86</ChannelMemberId>
<IsReadOnly>true</IsReadOnly>
</ChannelMemberModel>
</ChannelMembers>
<ChannelName>sample string 1</ChannelName>
<Id>2708d74a-50a9-437a-9831-cec78d436107</Id>
<IsDeleted>true</IsDeleted>
<IsInsert>true</IsInsert>
<IsLeft>true</IsLeft>
<OwnerId>10f29732-06d6-4632-922a-e4d8ea1baf71</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.