GET api/Village/{village}/Deletions?asOf={asOf}
Returns a list of deleted village data 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": "fa96999f-0478-4d6d-89da-3d305d2e7b78", "VillageId": "7377d459-468a-4bc7-80f4-d5a3c0f8190c", "Type": 1, "OriginalEntityDate": "2025-06-03T05:29:43.676+00:00", "DeletionDate": "2025-06-03T05:29:43.676+00:00" }, { "Id": "fa96999f-0478-4d6d-89da-3d305d2e7b78", "VillageId": "7377d459-468a-4bc7-80f4-d5a3c0f8190c", "Type": 1, "OriginalEntityDate": "2025-06-03T05:29:43.676+00:00", "DeletionDate": "2025-06-03T05:29:43.676+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:29:43.6762658+00:00</DeletionDate> <Id>fa96999f-0478-4d6d-89da-3d305d2e7b78</Id> <OriginalEntityDate>2025-06-03T05:29:43.6762658+00:00</OriginalEntityDate> <Type>Event</Type> <VillageId>7377d459-468a-4bc7-80f4-d5a3c0f8190c</VillageId> </VillageDeletion> <VillageDeletion> <DeletionDate>2025-06-03T05:29:43.6762658+00:00</DeletionDate> <Id>fa96999f-0478-4d6d-89da-3d305d2e7b78</Id> <OriginalEntityDate>2025-06-03T05:29:43.6762658+00:00</OriginalEntityDate> <Type>Event</Type> <VillageId>7377d459-468a-4bc7-80f4-d5a3c0f8190c</VillageId> </VillageDeletion> </ArrayOfVillageDeletion>