PUT Channels/ChannelsApi/UpdateChannel
Request Information
URI Parameters
None.
Body Parameters
ChannelUpsertInputModelName | 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. |
Request Formats
application/json, text/json
Sample:
{ "Id": "0d33473c-774e-4d4b-9375-0c0646f78a58", "OwnerId": "aa34e269-a9e3-48a3-a9e4-2fd77403e40a", "ChannelName": "sample string 1", "ChannelImage": "sample string 2", "IsDeleted": true, "IsInsert": true, "ChannelMembers": [ { "ChannelMemberId": "215bb939-6659-4e41-9426-87d1652d70fe", "IsReadOnly": true }, { "ChannelMemberId": "215bb939-6659-4e41-9426-87d1652d70fe", "IsReadOnly": 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>215bb939-6659-4e41-9426-87d1652d70fe</ChannelMemberId> <IsReadOnly>true</IsReadOnly> </ChannelMemberModel> <ChannelMemberModel> <ChannelMemberId>215bb939-6659-4e41-9426-87d1652d70fe</ChannelMemberId> <IsReadOnly>true</IsReadOnly> </ChannelMemberModel> </ChannelMembers> <ChannelName>sample string 1</ChannelName> <Id>0d33473c-774e-4d4b-9375-0c0646f78a58</Id> <IsDeleted>true</IsDeleted> <IsInsert>true</IsInsert> <OwnerId>aa34e269-a9e3-48a3-a9e4-2fd77403e40a</OwnerId> </ChannelUpsertInputModel>
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.