PUT api/Village/{village}/Event/{activityId}/Comment
Add a comment to a event
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
village |
Village ID |
globally unique identifier |
Required |
activityId |
Event's Activity ID |
globally unique identifier |
Required |
Body Parameters
Comment to add
PrimitiveName | Description | Type | Additional information |
---|---|---|---|
value |
value result |
string |
Required |
Request Formats
application/json, text/json
Sample:
{ "value": "sample string 1" }
application/xml, text/xml
Sample:
<Primitive xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CaringVillage.API.Models"> <value>sample string 1</value> </Primitive>
multipart/form-data
Sample:
Response Information
Resource Description
ActivityHistoryModelName | Description | Type | Additional information |
---|---|---|---|
HistoryId |
ID of the activity history entry |
globally unique identifier |
None. |
ActivityId |
ID of the activity in which this history belongs |
globally unique identifier |
None. |
PerformedById |
ID of the user who performed the activity |
globally unique identifier |
None. |
PerformedBy |
Name of the user who performed the activity |
string |
None. |
AssignedToId |
ID of the user to whom the activity is assigned |
globally unique identifier |
None. |
AssignedTo |
Name of the user to whom the activity is assigned |
string |
None. |
Action |
Action performed |
string |
None. |
DateTime |
Date/Time the action was performed |
date |
None. |
Comments |
Action comments |
string |
None. |
Updated |
When the record was last updated |
date |
None. |
UpdatedById |
ID of the user who updated the record |
globally unique identifier |
None. |
UpdatedBy |
Name of the user who updated the record |
string |
None. |
Response Formats
application/json, text/json
Sample:
{ "HistoryId": "78bc9095-18a0-40d3-81c0-9f96a9eed07c", "ActivityId": "4f3a6509-6058-49ab-b363-1f827de2949c", "PerformedById": "436a7007-5856-43c1-a38c-4b0dee33346c", "PerformedBy": "sample string 4", "AssignedToId": "fc8d09ce-76f5-43ae-a96f-292deff06f92", "AssignedTo": "sample string 5", "Action": "Comment", "DateTime": "2025-06-03T04:34:49.292+00:00", "Comments": "sample string 7", "Updated": "2025-06-03T04:34:49.292+00:00", "UpdatedById": "001f86a4-da23-4265-bbae-243e9db5bdf7", "UpdatedBy": "sample string 10" }
application/xml, text/xml
Sample:
<ActivityHistoryModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CaringVillage.Shared.Implementation.Models"> <ActivityId>4f3a6509-6058-49ab-b363-1f827de2949c</ActivityId> <AssignedTo>sample string 5</AssignedTo> <AssignedToId>fc8d09ce-76f5-43ae-a96f-292deff06f92</AssignedToId> <Comments>sample string 7</Comments> <DateTime>2025-06-03T04:34:49.2924598+00:00</DateTime> <HistoryId>78bc9095-18a0-40d3-81c0-9f96a9eed07c</HistoryId> <PerformedBy>sample string 4</PerformedBy> <PerformedById>436a7007-5856-43c1-a38c-4b0dee33346c</PerformedById> <Updated>2025-06-03T04:34:49.2924598+00:00</Updated> <UpdatedBy>sample string 10</UpdatedBy> <UpdatedById>001f86a4-da23-4265-bbae-243e9db5bdf7</UpdatedById> </ActivityHistoryModel>