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

Change the title/subject of a group conversation

Request Information

URI Parameters

NameDescriptionTypeAdditional information
conversationId

ID of the conversation

globally unique identifier

Required

village

string

None.

Body Parameters

The new title/subject

UpdateSubjectModel
NameDescriptionTypeAdditional information
value

New Title/Subject of the conversation

string

Required

String length: inclusive between 0 and 80

Request Formats

application/json, text/json

Sample:
{
  "value": "sample string 1"
}

application/xml, text/xml

Sample:
<UpdateSubjectModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CaringVillage.Shared.Implementation.Models">
  <value>sample string 1</value>
</UpdateSubjectModel>

multipart/form-data

Sample:

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

Response Information

Resource Description

PrimitiveOfBoolean
NameDescriptionTypeAdditional information
value

boolean

Required

Response Formats

application/json, text/json

Sample:
{
  "value": true
}

application/xml, text/xml

Sample:
<PrimitiveOfboolean xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CaringVillage.API.Models">
  <value>true</value>
</PrimitiveOfboolean>