> ## Documentation Index > Fetch the complete documentation index at: https://docs.restaurant365.com/llms.txt > Use this file to discover all available pages before exploring further. # /public/v1/core/entity-deleted > Retrieves deleted entity references within a specified date range. At least one of deletedOnStart or deletedOnEnd is required. When only one boundary is provided, the query is scoped to that single day. ## OpenAPI ````json GET /public/v1/core/entity-deleted { "openapi": "3.0.1", "info": { "title": "R365.PublicApi", "contact": { "name": "R365 Services Team", "email": "r365@restaurant365.com" }, "version": "1.0" }, "security": [ { "Bearer": [] } ], "paths": { "/public/v1/core/entity-deleted": { "get": { "tags": [ "netcore" ], "description": "Retrieves deleted entity references within a specified date range. At least one of deletedOnStart or deletedOnEnd is required. When only one boundary is provided, the query is scoped to that single day.", "parameters": [ { "name": "deletedOnStart", "in": "query", "description": "Start of the deletion date range (inclusive). Required if deletedOnEnd is not provided. If provided alone, the query is scoped to that single day", "schema": { "type": "string", "format": "date-time" } }, { "name": "deletedOnEnd", "in": "query", "description": "End of the deletion date range (inclusive). Required if deletedOnStart is not provided. If provided alone, the query is scoped to that single day", "schema": { "type": "string", "format": "date-time" } }, { "name": "entityName", "in": "query", "description": "Entity type name (e.g. Employee, Transaction, DSS). Returns all entity types if not specified", "schema": { "type": "string" } }, { "name": "pageSize", "in": "query", "description": "Number of records to return per page. Must be between 1 and 250. Defaults to 250", "schema": { "maximum": 250, "minimum": 1, "type": "integer", "format": "int32", "default": 250 } }, { "name": "continuationToken", "in": "query", "description": "Cursor from the previous page. Supply the EntityDeletedId of the last record returned to retrieve the next page", "schema": { "type": "string" } } ], "responses": { "200": { "description": "Paged array of deleted entity references matching the supplied criteria.", "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/R365.Platform.Public.Contracts.EntityDeleted.Models.Record" } } } } }, "400": { "description": "Both date parameters are absent, the start date is after the end date, pageSize is out of range, or the continuationToken is invalid." } } } } }, "components": { "schemas": { "R365.Platform.Public.Contracts.EntityDeleted.Models.Record": { "type": "object", "properties": { "entityDeletedId": { "type": "integer", "description": "Unique sequential identifier of the deleted entity record.", "format": "int32" }, "entityId": { "type": "string", "description": "Identifier of the deleted entity instance.", "format": "uuid", "nullable": true }, "entityName": { "type": "string", "description": "Type name of the deleted entity (e.g. Employee, Transaction, DSS).", "nullable": true }, "deletedOn": { "type": "string", "description": "Date and time the entity was deleted.", "format": "date-time", "nullable": true }, "rowVersion": { "type": "string", "description": "Concurrency token representing the version of the record at time of deletion.", "nullable": true } }, "additionalProperties": false } }, "securitySchemes": { "Bearer": { "type": "http", "description": "Put **_ONLY_** your JWT Bearer token on textbox below!", "scheme": "Bearer", "bearerFormat": "JWT" } } } } ````