POST api/Village/{village}/Event/{activityId}/Assign
Backwards Compatability Only - Adds the specified users to the existing event assignment
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
User IDs to assign the event to
Collection of globally unique identifierRequest Formats
application/json, text/json
Sample:
[ "b9e4ac72-f5bf-4a7a-9fad-82befb730e89", "8b6c6d31-22df-4fa1-ab79-476b1ef966c4" ]
application/xml, text/xml
Sample:
<ArrayOfguid xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <guid>b9e4ac72-f5bf-4a7a-9fad-82befb730e89</guid> <guid>8b6c6d31-22df-4fa1-ab79-476b1ef966c4</guid> </ArrayOfguid>
multipart/form-data
Sample:
Response Information
Resource Description
Collection of 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": "ac89a9a6-2350-4e54-8a21-d2862a236285", "ActivityId": "136b3b36-366b-46e9-8f4d-faecbe34f488", "PerformedById": "f7bc9ed9-a8c0-4435-86d7-e45d352beb89", "PerformedBy": "sample string 4", "AssignedToId": "b91385bd-9394-49c4-b979-c41e923f0c5a", "AssignedTo": "sample string 5", "Action": "Comment", "DateTime": "2025-06-03T04:30:37.365+00:00", "Comments": "sample string 7", "Updated": "2025-06-03T04:30:37.365+00:00", "UpdatedById": "d975800d-eab5-4bdd-a058-b71114f8b0cf", "UpdatedBy": "sample string 10" }, { "HistoryId": "ac89a9a6-2350-4e54-8a21-d2862a236285", "ActivityId": "136b3b36-366b-46e9-8f4d-faecbe34f488", "PerformedById": "f7bc9ed9-a8c0-4435-86d7-e45d352beb89", "PerformedBy": "sample string 4", "AssignedToId": "b91385bd-9394-49c4-b979-c41e923f0c5a", "AssignedTo": "sample string 5", "Action": "Comment", "DateTime": "2025-06-03T04:30:37.365+00:00", "Comments": "sample string 7", "Updated": "2025-06-03T04:30:37.365+00:00", "UpdatedById": "d975800d-eab5-4bdd-a058-b71114f8b0cf", "UpdatedBy": "sample string 10" } ]
application/xml, text/xml
Sample:
<ArrayOfActivityHistoryModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CaringVillage.Shared.Implementation.Models"> <ActivityHistoryModel> <ActivityId>136b3b36-366b-46e9-8f4d-faecbe34f488</ActivityId> <AssignedTo>sample string 5</AssignedTo> <AssignedToId>b91385bd-9394-49c4-b979-c41e923f0c5a</AssignedToId> <Comments>sample string 7</Comments> <DateTime>2025-06-03T04:30:37.3651292+00:00</DateTime> <HistoryId>ac89a9a6-2350-4e54-8a21-d2862a236285</HistoryId> <PerformedBy>sample string 4</PerformedBy> <PerformedById>f7bc9ed9-a8c0-4435-86d7-e45d352beb89</PerformedById> <Updated>2025-06-03T04:30:37.3651292+00:00</Updated> <UpdatedBy>sample string 10</UpdatedBy> <UpdatedById>d975800d-eab5-4bdd-a058-b71114f8b0cf</UpdatedById> </ActivityHistoryModel> <ActivityHistoryModel> <ActivityId>136b3b36-366b-46e9-8f4d-faecbe34f488</ActivityId> <AssignedTo>sample string 5</AssignedTo> <AssignedToId>b91385bd-9394-49c4-b979-c41e923f0c5a</AssignedToId> <Comments>sample string 7</Comments> <DateTime>2025-06-03T04:30:37.3651292+00:00</DateTime> <HistoryId>ac89a9a6-2350-4e54-8a21-d2862a236285</HistoryId> <PerformedBy>sample string 4</PerformedBy> <PerformedById>f7bc9ed9-a8c0-4435-86d7-e45d352beb89</PerformedById> <Updated>2025-06-03T04:30:37.3651292+00:00</Updated> <UpdatedBy>sample string 10</UpdatedBy> <UpdatedById>d975800d-eab5-4bdd-a058-b71114f8b0cf</UpdatedById> </ActivityHistoryModel> </ArrayOfActivityHistoryModel>