GET api/Village/{village}/Tasks/Deletions?asOf={asOf}

Returns a list of deleted Task IDs

Request Information

URI Parameters

NameDescriptionTypeAdditional information
asOf

Filter list to deletions on/after asOf date

date

Required

village

string

None.

Body Parameters

None.

Response Information

Resource Description

Collection of VillageDeletion
NameDescriptionTypeAdditional 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": "655503b3-f381-42fa-9015-3fbd6e5a2a20",
    "VillageId": "dad4a478-1117-4340-83a4-88fe73308dac",
    "Type": 1,
    "OriginalEntityDate": "2025-06-03T05:20:38.866+00:00",
    "DeletionDate": "2025-06-03T05:20:38.866+00:00"
  },
  {
    "Id": "655503b3-f381-42fa-9015-3fbd6e5a2a20",
    "VillageId": "dad4a478-1117-4340-83a4-88fe73308dac",
    "Type": 1,
    "OriginalEntityDate": "2025-06-03T05:20:38.866+00:00",
    "DeletionDate": "2025-06-03T05:20:38.866+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:20:38.8662241+00:00</DeletionDate>
    <Id>655503b3-f381-42fa-9015-3fbd6e5a2a20</Id>
    <OriginalEntityDate>2025-06-03T05:20:38.8662241+00:00</OriginalEntityDate>
    <Type>Event</Type>
    <VillageId>dad4a478-1117-4340-83a4-88fe73308dac</VillageId>
  </VillageDeletion>
  <VillageDeletion>
    <DeletionDate>2025-06-03T05:20:38.8662241+00:00</DeletionDate>
    <Id>655503b3-f381-42fa-9015-3fbd6e5a2a20</Id>
    <OriginalEntityDate>2025-06-03T05:20:38.8662241+00:00</OriginalEntityDate>
    <Type>Event</Type>
    <VillageId>dad4a478-1117-4340-83a4-88fe73308dac</VillageId>
  </VillageDeletion>
</ArrayOfVillageDeletion>