PUT api/Village/{village}/Task/{activityId}/Comment
Add a comment to a task
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
village |
Village ID |
globally unique identifier |
Required |
activityId |
Task'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": "ef39863c-44cc-4672-82d6-c3a4fe7c15cf", "ActivityId": "87922787-b094-4179-a6f1-e380a1edcdc6", "PerformedById": "d0c7ee43-bf4d-4ef2-81e4-ebdf943e0699", "PerformedBy": "sample string 4", "AssignedToId": "1b677477-bedd-446a-95d5-91f104c619c8", "AssignedTo": "sample string 5", "Action": "Comment", "DateTime": "2025-06-03T04:24:19.830+00:00", "Comments": "sample string 7", "Updated": "2025-06-03T04:24:19.830+00:00", "UpdatedById": "fdc28cb3-e01e-420d-84ee-e29c554ef291", "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>87922787-b094-4179-a6f1-e380a1edcdc6</ActivityId> <AssignedTo>sample string 5</AssignedTo> <AssignedToId>1b677477-bedd-446a-95d5-91f104c619c8</AssignedToId> <Comments>sample string 7</Comments> <DateTime>2025-06-03T04:24:19.8300719+00:00</DateTime> <HistoryId>ef39863c-44cc-4672-82d6-c3a4fe7c15cf</HistoryId> <PerformedBy>sample string 4</PerformedBy> <PerformedById>d0c7ee43-bf4d-4ef2-81e4-ebdf943e0699</PerformedById> <Updated>2025-06-03T04:24:19.8300719+00:00</Updated> <UpdatedBy>sample string 10</UpdatedBy> <UpdatedById>fdc28cb3-e01e-420d-84ee-e29c554ef291</UpdatedById> </ActivityHistoryModel>