PUT api/Village/{village}/Event/{activityId}/Assign
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:
[ "385d82fd-5b49-4cee-ac32-75adc2b4c2ac", "996e4c52-452d-4af2-af36-d85dbb7b9c6d" ]
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>385d82fd-5b49-4cee-ac32-75adc2b4c2ac</guid> <guid>996e4c52-452d-4af2-af36-d85dbb7b9c6d</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": "f34293de-cabf-4bf0-af6f-3b989762b54d", "ActivityId": "be2811f6-b99a-4bb3-b614-b17889544a9b", "PerformedById": "1596860e-24c9-4a08-9b3c-3baf8292d345", "PerformedBy": "sample string 4", "AssignedToId": "3d1c83e9-628d-4f13-9b3a-70279f646170", "AssignedTo": "sample string 5", "Action": "Comment", "DateTime": "2025-06-03T04:30:36.958+00:00", "Comments": "sample string 7", "Updated": "2025-06-03T04:30:36.958+00:00", "UpdatedById": "161ce1f3-5921-4451-91d1-08ba83b919dc", "UpdatedBy": "sample string 10" }, { "HistoryId": "f34293de-cabf-4bf0-af6f-3b989762b54d", "ActivityId": "be2811f6-b99a-4bb3-b614-b17889544a9b", "PerformedById": "1596860e-24c9-4a08-9b3c-3baf8292d345", "PerformedBy": "sample string 4", "AssignedToId": "3d1c83e9-628d-4f13-9b3a-70279f646170", "AssignedTo": "sample string 5", "Action": "Comment", "DateTime": "2025-06-03T04:30:36.958+00:00", "Comments": "sample string 7", "Updated": "2025-06-03T04:30:36.958+00:00", "UpdatedById": "161ce1f3-5921-4451-91d1-08ba83b919dc", "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>be2811f6-b99a-4bb3-b614-b17889544a9b</ActivityId> <AssignedTo>sample string 5</AssignedTo> <AssignedToId>3d1c83e9-628d-4f13-9b3a-70279f646170</AssignedToId> <Comments>sample string 7</Comments> <DateTime>2025-06-03T04:30:36.9588532+00:00</DateTime> <HistoryId>f34293de-cabf-4bf0-af6f-3b989762b54d</HistoryId> <PerformedBy>sample string 4</PerformedBy> <PerformedById>1596860e-24c9-4a08-9b3c-3baf8292d345</PerformedById> <Updated>2025-06-03T04:30:36.9588532+00:00</Updated> <UpdatedBy>sample string 10</UpdatedBy> <UpdatedById>161ce1f3-5921-4451-91d1-08ba83b919dc</UpdatedById> </ActivityHistoryModel> <ActivityHistoryModel> <ActivityId>be2811f6-b99a-4bb3-b614-b17889544a9b</ActivityId> <AssignedTo>sample string 5</AssignedTo> <AssignedToId>3d1c83e9-628d-4f13-9b3a-70279f646170</AssignedToId> <Comments>sample string 7</Comments> <DateTime>2025-06-03T04:30:36.9588532+00:00</DateTime> <HistoryId>f34293de-cabf-4bf0-af6f-3b989762b54d</HistoryId> <PerformedBy>sample string 4</PerformedBy> <PerformedById>1596860e-24c9-4a08-9b3c-3baf8292d345</PerformedById> <Updated>2025-06-03T04:30:36.9588532+00:00</Updated> <UpdatedBy>sample string 10</UpdatedBy> <UpdatedById>161ce1f3-5921-4451-91d1-08ba83b919dc</UpdatedById> </ActivityHistoryModel> </ArrayOfActivityHistoryModel>