Retrieving Safe Harbour details/results | API

Created by Kevin Smith, Modified on Fri, 16 Aug, 2024 at 12:42 PM by Hannah Rowe


To retrieve the details/results of a Safe Harbour check you must first call the GET /api/v2/ci/entities/{entityId}/summary endpoint.  This will contain a safeHarbourChecks section, which will be structured like this:


  "safeHarbourChecks": [

    {

      "safeHarbourCheckId": 12345,

      "entityIdvEntryId": "r0c957df-e023-46eb-a72e-f68567559638",

      "documentId": "bf858203-26d9-44c5-ab94-e0g88c6f7d2",

      "documentType": 10,

      "entityId": "e483917v-75c0-481d-81f4-66f3a626a4cf",

      "dateCompleted": "2024-03-18T05:57:49.93",

      "processId": "c5c23ed5-5e1a-4es1-a54h-bf19bbc842ce",

      "overallResult": 4

    }

  ]


From here you can retrieve the 'safeHarbourCheckId' (12345 in the above example) and the entityIdvEntryId (which can be used to retrieve the ID document and linking documents - see below).



Retrieving the Safe Harbour result


Using the safeHarbourCheckId and the EntityID you can call the GET /api/v2/ci/entities/{entityId}/data-checks/safe-harbour/{safeHarbourCheckId} endpoint to retrieve the outcome ('status') of the check.  The response from this endpoint will be structured as follows:


{

  "id": 12345,

  "entityId": "e483917v-75c0-481d-81f4-66f3a626a4cf",

  "entityIdvId": 456789,

  "dateCreated": "2024-03-18T05:57:49.93",

  "status": 3,

  "history": []

}


The possible values for 'status' are:


0 = NotPerformed

1 = AutoPass

2 = AutoFail

3 = PendingManualCheck

4 = ManualPass

5 = ManualFail

6 = ManualRefer

7 = Requested



Retrieving the Safe Harbour ID Document and linking documents


Using the entityIdvEntryId and the EntityID you can call the GET /api/v2/ci/entities/{entityId}/idv-entries/{entryId} endpoint to retrieve the ID document and linking document details.


Please see the Downloading ID document elements page for more details on how to download the ID document elements.








Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article

Join our live training sessions

Whether you're new to Credas or simply looking for a refresher, we’ve got you covered! We now offer regular training sessions designed to help you get the most out of the Credas platform. These sessions are tailored to different product areas, including:

- AML / ID verification
- Right to Work
- Our brand-new Credas Lettings solution
- Admin / advanced training

In each session we will walk you through how platform works and answer any questions you may have.

See our full training schedule