GET api/Village/{village}/Events/Deletions?asOf={asOf}
Returns a list of deleted event IDs
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
asOf |
Filter list to deletions on/after asOf date |
date |
Required |
village | string |
None. |
Body Parameters
None.
Response Information
Resource Description
Collection of VillageDeletionName | Description | Type | Additional information |
---|---|---|---|
Id | globally unique identifier |
None. |
|
VillageId | globally unique identifier |
None. |
|
Type | DeletedEntityType |
None. |
|
OriginalEntityDate | date |
None. |
|
DeletionDate | date |
None. |
Response Formats
application/json, text/json
Sample:
[ { "Id": "3afcd461-8b26-43bd-899a-43eb763cdd9f", "VillageId": "12118faf-32dc-48cf-b3fa-b01f851dd7f2", "Type": 1, "OriginalEntityDate": "2025-06-03T05:32:21.856+00:00", "DeletionDate": "2025-06-03T05:32:21.856+00:00" }, { "Id": "3afcd461-8b26-43bd-899a-43eb763cdd9f", "VillageId": "12118faf-32dc-48cf-b3fa-b01f851dd7f2", "Type": 1, "OriginalEntityDate": "2025-06-03T05:32:21.856+00:00", "DeletionDate": "2025-06-03T05:32:21.856+00:00" } ]
application/xml, text/xml
Sample:
<ArrayOfVillageDeletion xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CaringVillage.Data.Entities"> <VillageDeletion> <DeletionDate>2025-06-03T05:32:21.8564568+00:00</DeletionDate> <Id>3afcd461-8b26-43bd-899a-43eb763cdd9f</Id> <OriginalEntityDate>2025-06-03T05:32:21.8564568+00:00</OriginalEntityDate> <Type>Event</Type> <VillageId>12118faf-32dc-48cf-b3fa-b01f851dd7f2</VillageId> </VillageDeletion> <VillageDeletion> <DeletionDate>2025-06-03T05:32:21.8564568+00:00</DeletionDate> <Id>3afcd461-8b26-43bd-899a-43eb763cdd9f</Id> <OriginalEntityDate>2025-06-03T05:32:21.8564568+00:00</OriginalEntityDate> <Type>Event</Type> <VillageId>12118faf-32dc-48cf-b3fa-b01f851dd7f2</VillageId> </VillageDeletion> </ArrayOfVillageDeletion>