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

Update the user's Last Read indicator for the conversation

Request Information

URI Parameters

NameDescriptionTypeAdditional information
conversationId

The ID of the conversation to update

globally unique identifier

Required

village

string

None.

Body Parameters

If provided, the message sequence number to set as the last read message. If null, will update to the highest message sequence number in the conversation (i.e. mark the entire conversation as read)

OptionalOfNullableOfInt32
NameDescriptionTypeAdditional information
value

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "value": 1
}

application/xml, text/xml

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

multipart/form-data

Sample:

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

Response Information

Resource Description

PrimitiveOfInt32
NameDescriptionTypeAdditional information
value

integer

Required

Response Formats

application/json, text/json

Sample:
{
  "value": 1
}

application/xml, text/xml

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