HEAD api/Village/{village}/Conversation/{conversationId}
OBSOLETE
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
conversationId |
The ID of the conversation to retrieve |
globally unique identifier |
Required |
village | string |
None. |
Body Parameters
None.
Response Information
Resource Description
ConversationModelName | Description | Type | Additional information |
---|---|---|---|
ConversationId |
Conversation's Unique ID |
globally unique identifier |
None. |
VillageId |
Village's Unique ID |
globally unique identifier |
None. |
ConversationType |
Indicates the conversation type (0 = Group, 1 = Village, 2 = Private) |
ConversationType |
None. |
VillageConversation |
OBSOLETE, use ConversationType instead. If true, this is the default conversation for the Village |
boolean |
None. |
Archived |
If true, the user has archived this conversation |
boolean |
None. |
NewMessages |
The number of new messages since the last mesage the user read |
integer |
None. |
Title |
The title of the conversation (will be Village Name for the village conversation, or the name of the "other user" for a 1:1 conversation |
string |
None. |
Created |
Date/Time the conversation was created |
date |
None. |
OtherUserId |
Obsolete - ID of the other private conversation participant |
globally unique identifier |
None. |
MessageCount |
Number of messages in the conversation |
integer |
None. |
LastRead |
Sequence of the user's last-read message |
integer |
None. |
LastMessage |
The last message sent in the conversation |
string |
None. |
LastMessageIsAction |
If true, the last message is an "Action" message (something happened, vs. something was said) |
boolean |
None. |
LastMessageSent |
When the last message was sent |
date |
None. |
LastMessageSentById |
ID of the user who sent the last message |
globally unique identifier |
None. |
LastMessageSentBy |
Name (First L.) of the user who sent the last message |
string |
None. |
OtherUsers |
List of other conversation participants |
Collection of ConversationMemberModel |
None. |
Response Formats
application/json, text/json
{ "ConversationId": "f41c2cc1-0b9e-41bd-8fb9-69bbc7982fd1", "VillageId": "4844a3ee-6396-457e-977d-b4cdef78a585", "ConversationType": 0, "VillageConversation": false, "Archived": true, "NewMessages": 4, "Title": "sample string 5", "Created": "2025-06-03T05:51:48.331+00:00", "OtherUserId": null, "MessageCount": 7, "LastRead": 1, "LastMessage": "sample string 8", "LastMessageIsAction": true, "LastMessageSent": "2025-06-03T05:51:48.331+00:00", "LastMessageSentById": "7af4f747-b849-4c44-b6bb-10f7d49c834f", "LastMessageSentBy": "sample string 9", "OtherUsers": [ { "VillagerId": "3f91ff94-ce08-46da-bbc3-d9298886a0aa", "Name": "sample string 2" }, { "VillagerId": "3f91ff94-ce08-46da-bbc3-d9298886a0aa", "Name": "sample string 2" } ] }
application/xml, text/xml
<ConversationModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CaringVillage.Shared.Implementation.Models"> <Archived>true</Archived> <ConversationId>f41c2cc1-0b9e-41bd-8fb9-69bbc7982fd1</ConversationId> <ConversationType>Group</ConversationType> <Created>2025-06-03T05:51:48.3317175+00:00</Created> <LastMessage>sample string 8</LastMessage> <LastMessageIsAction>true</LastMessageIsAction> <LastMessageSent>2025-06-03T05:51:48.3317175+00:00</LastMessageSent> <LastMessageSentBy>sample string 9</LastMessageSentBy> <LastMessageSentById>7af4f747-b849-4c44-b6bb-10f7d49c834f</LastMessageSentById> <LastRead>1</LastRead> <MessageCount>7</MessageCount> <NewMessages>4</NewMessages> <OtherUsers> <ConversationMemberModel> <Name>sample string 2</Name> <VillagerId>3f91ff94-ce08-46da-bbc3-d9298886a0aa</VillagerId> </ConversationMemberModel> <ConversationMemberModel> <Name>sample string 2</Name> <VillagerId>3f91ff94-ce08-46da-bbc3-d9298886a0aa</VillagerId> </ConversationMemberModel> </OtherUsers> <Title>sample string 5</Title> <VillageId>4844a3ee-6396-457e-977d-b4cdef78a585</VillageId> </ConversationModel>