POST api/GroupChat/AddMembers
Request Information
URI Parameters
None.
Body Parameters
GroupChatUpsertInputModelName | Description | Type | Additional information |
---|---|---|---|
Id | globally unique identifier |
None. |
|
GroupName | string |
None. |
|
GroupImage | string |
None. |
|
GroupMembers | Collection of GroupMemberCollectionModel |
None. |
Request Formats
application/json, text/json
Sample:
{ "Id": "bd0fc32a-e1ca-46ad-9787-50f98053678c", "GroupName": "sample string 1", "GroupImage": "sample string 2", "GroupMembers": [ { "MemberId": "70a50bb6-3166-4cee-bcc0-5629ddd39335", "IsLeft": true }, { "MemberId": "70a50bb6-3166-4cee-bcc0-5629ddd39335", "IsLeft": true } ] }
application/xml, text/xml
Sample:
<GroupChatUpsertInputModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Communicator.Models.GroupChat"> <GroupImage>sample string 2</GroupImage> <GroupMembers> <GroupMemberCollectionModel> <IsLeft>true</IsLeft> <MemberId>70a50bb6-3166-4cee-bcc0-5629ddd39335</MemberId> </GroupMemberCollectionModel> <GroupMemberCollectionModel> <IsLeft>true</IsLeft> <MemberId>70a50bb6-3166-4cee-bcc0-5629ddd39335</MemberId> </GroupMemberCollectionModel> </GroupMembers> <GroupName>sample string 1</GroupName> <Id>bd0fc32a-e1ca-46ad-9787-50f98053678c</Id> </GroupChatUpsertInputModel>
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.