PUT api/Village/{village}/Task/{activityId}/Comment/{id}
Edit a task 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": "9f307834-82b5-4108-826c-ecded06dc34c", "ActivityId": "6a1018c5-3760-41aa-9090-a788f872923a", "PerformedById": "2f024f68-7a8c-4587-b7fb-ac31fd76e022", "PerformedBy": "sample string 4", "AssignedToId": "6a428703-137c-472b-8f56-f459abb3f56b", "AssignedTo": "sample string 5", "Action": "Comment", "DateTime": "2025-06-03T04:38:05.471+00:00", "Comments": "sample string 7", "Updated": "2025-06-03T04:38:05.471+00:00", "UpdatedById": "479b5419-608f-44b3-bde3-8b31eeb25765", "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>6a1018c5-3760-41aa-9090-a788f872923a</ActivityId> <AssignedTo>sample string 5</AssignedTo> <AssignedToId>6a428703-137c-472b-8f56-f459abb3f56b</AssignedToId> <Comments>sample string 7</Comments> <DateTime>2025-06-03T04:38:05.4712435+00:00</DateTime> <HistoryId>9f307834-82b5-4108-826c-ecded06dc34c</HistoryId> <PerformedBy>sample string 4</PerformedBy> <PerformedById>2f024f68-7a8c-4587-b7fb-ac31fd76e022</PerformedById> <Updated>2025-06-03T04:38:05.4712435+00:00</Updated> <UpdatedBy>sample string 10</UpdatedBy> <UpdatedById>479b5419-608f-44b3-bde3-8b31eeb25765</UpdatedById> </ActivityHistoryModel>