Searching for deleted entities or relationships

While not as full featured as the search endpoints described in the rest of this section, the /search-deleted endpoints allow for some basic querying of both entities and relationships that have been deleted.

The deleted entity search object

{
  "startDate": "string",
  "endDate": "string",
  "deletedById": 0,
  "charType": 0,
  "recordId": 0,
  "templateId": 0,
  "statusId": 0,
  "createdStartDate": "string",
  "createdEndDate": "string",
  "createdById": 0,
  "updatedStartDate": "string",
  "updatedEndDate": "string",
  "updatedById": 0,
  "statusUpdateStartDate": "string",
  "statusUpdateEndDate": "string",
  "statusUpdateById": 0,
}

Search For Deleted Entities

POST https://ris.rightsline.com/v4/:entityType/search-deleted

Search for an entity that has been deleted based on high level details and/or audit information. The start and end date of the audit window in which the delete occurred are the only required parameters and are limited to a 30 window to keep response sizes down.

Request Body

[
    {
        "deletedById": 123456,
        "deletedDate": "2022-11-11T11:11:11.111Z",
        "id": 0,
        "revisionId": 0,
        "title": "111",
        "template": {
            "templateId": 0,
            "templateName": null,
            "processId": 0,
            "processName": null
        },
        "status": {
            "statusId": 0,
            "statusName": null
        },
        "characteristics": {},
        "comments": null,
        "createdById": 123456,
        "createdDate": "2022-01-11T00:00:00.000Z",
        "lastUpdatedById": 123456,
        "lastUpdatedDate": "2022-11-11T00:00:00.000Z",
        "statusUpdatedById": 123456,
        "statusUpdatedDate": "2022-10-10T00:00:00.000Z"
    }
]

The deleted relationship search object

{
  "startDate": "string",
  "endDate": "string",
  "deletedById": 0,
  "parentCharType": 0,
  "parentRecordId": 0,
  "childCharType": 0,
  "childRecordId": 0,
  "createdStartDate": "string",
  "createdEndDate": "string",
  "createdById": 0
}

Search for Deleted Relationships

POST https://ris.rightsline.com/v4/relationship/search-deleted

Search for a relationship that has been deleted based on high level details and/or audit information. The start and end date of the audit window in which the delete occurred are the only required parameters and are limited to a 30 window to keep response sizes down.

Request Body

[
    {
        "deletedById": 123456,
        "deletedDate": "2022-11-11T11:11:11.111Z",
        "id": 11111111,
        "relationshipType": {
            "relationshipTypeId": 0,
            "relationshipTypeName": "Default"
        },
        "createdById": 123456,
        "createdDate": "2022-01-01T01:01:01Z",
        "lastUpdatedById": 1784495,
        "lastUpdatedDate": "2022-02-02T02:02:02Z",
        "parentCharTypeId": 4,
        "parentRecordId": 4444,
        "childCharTypeId": 5,
        "childRecordId": 5555,
        "sequenceNumber": 0
    }
]

Last updated