PUT api/Village/{village}/Conversation/{conversationId}/Member

Add one or more members to an existing Group conversation

Request Information

URI Parameters

NameDescriptionTypeAdditional information
conversationId

ID of the conversation

globally unique identifier

Required

village

string

None.

Body Parameters

List of User Ids to add to the conversation

Collection of globally unique identifier

Request Formats

application/json, text/json

Sample:
[
  "2d82c89e-1ba6-410a-be7d-2c11ecdf7696",
  "c3ab8f3c-2a40-44fd-8693-55b2e7237baa"
]

application/xml, text/xml

Sample:
<ArrayOfguid xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
  <guid>2d82c89e-1ba6-410a-be7d-2c11ecdf7696</guid>
  <guid>c3ab8f3c-2a40-44fd-8693-55b2e7237baa</guid>
</ArrayOfguid>

multipart/form-data

Sample:

Failed to generate the sample for media type 'multipart/form-data'. Cannot use formatter 'MultipartMediaTypeFormatter' to write type 'List`1'.

Response Information

Resource Description

Collection of ConversationMemberModel
NameDescriptionTypeAdditional information
VillagerId

The unique Villager ID of the conversation member

globally unique identifier

None.

Name

The abbreviated full name (First L.) of the conversation member

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "VillagerId": "a684a715-1b8c-4a85-a806-cd04b5974dd4",
    "Name": "sample string 2"
  },
  {
    "VillagerId": "a684a715-1b8c-4a85-a806-cd04b5974dd4",
    "Name": "sample string 2"
  }
]

application/xml, text/xml

Sample:
<ArrayOfConversationMemberModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CaringVillage.Shared.Implementation.Models">
  <ConversationMemberModel>
    <Name>sample string 2</Name>
    <VillagerId>a684a715-1b8c-4a85-a806-cd04b5974dd4</VillagerId>
  </ConversationMemberModel>
  <ConversationMemberModel>
    <Name>sample string 2</Name>
    <VillagerId>a684a715-1b8c-4a85-a806-cd04b5974dd4</VillagerId>
  </ConversationMemberModel>
</ArrayOfConversationMemberModel>