PUT api/Village/{village}/Event/{activityId}/Comment/{id}
Edit an event comment
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
village | globally unique identifier |
Required |
|
activityId | globally unique identifier |
Required |
|
id | globally unique identifier |
Required |
Body Parameters
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": "44348a6d-9070-463f-bd87-dc6d8ca495d8", "ActivityId": "97c9c952-fc29-434a-9006-9f89fbb7a35b", "PerformedById": "e1edf9c0-84fd-46aa-8400-c1fba27a2e35", "PerformedBy": "sample string 4", "AssignedToId": "cd289d6a-e82e-4ae4-84e0-d3b6630b62bc", "AssignedTo": "sample string 5", "Action": "Comment", "DateTime": "2025-06-03T05:01:37.575+00:00", "Comments": "sample string 7", "Updated": "2025-06-03T05:01:37.575+00:00", "UpdatedById": "a82f40d4-0e97-44f4-a33f-8b5309a36532", "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>97c9c952-fc29-434a-9006-9f89fbb7a35b</ActivityId> <AssignedTo>sample string 5</AssignedTo> <AssignedToId>cd289d6a-e82e-4ae4-84e0-d3b6630b62bc</AssignedToId> <Comments>sample string 7</Comments> <DateTime>2025-06-03T05:01:37.5758133+00:00</DateTime> <HistoryId>44348a6d-9070-463f-bd87-dc6d8ca495d8</HistoryId> <PerformedBy>sample string 4</PerformedBy> <PerformedById>e1edf9c0-84fd-46aa-8400-c1fba27a2e35</PerformedById> <Updated>2025-06-03T05:01:37.5758133+00:00</Updated> <UpdatedBy>sample string 10</UpdatedBy> <UpdatedById>a82f40d4-0e97-44f4-a33f-8b5309a36532</UpdatedById> </ActivityHistoryModel>