For a deeper look into our World Check One API, look into:

Overview |  Quickstart |  Documentation |  Downloads

question

Upvotes
Accepted
27 3 5 3

/saveAndScreen does not return the secondaryFields

Let's say I send these data to /saveAndScreen :

{
  "groupId": "....",
  "providerTypes": [
    "WATCHLIST"
  ],
  "nameTransposition": false,
  "caseScreeningState": {
    "WATCHLIST": "INITIAL"
  },
  "cases": [
    {
      "entityType": "ORGANISATION",
      "name": "Credit Suisse (Schweiz) AG",
      "secondaryFields": [
        {
          "typeId": "SFCT_6",
          "value": "CHE"
        }
      ]
    },
    {
      "entityType": "ORGANISATION",
      "name": "Credit Suisse (Schweiz) AG",
      "secondaryFields": [
        {
          "typeId": "SFCT_6",
          "value": "USA"
        }
      ]
    }
  ]
}


I get this as a response :

[
  {
    "name": "Credit Suisse (Schweiz) AG",
    "caseId": "5jb7lsve3dnm1grm8pcngrg3w",
    "caseSystemId": "5jb7lsve3dnm1grm8pcngrg3y",
    "nameTransposition": false,
    "caseScreeningState": {
      "WATCHLIST": "INITIAL"
    }
  },
  {
    "name": "Credit Suisse (Schweiz) AG",
    "caseId": "5jb7lsve3dnm1grm8pcngrg3v",
    "caseSystemId": "5jb7lsve3dnm1grm8pcngrg3x",
    "nameTransposition": false,
    "caseScreeningState": {
      "WATCHLIST": "INITIAL"
    }
  }
]


How do I map properly the caseSystemId to the name so I can re-use it if another call needs to be made?


Regards

world-check-onescreening
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Upvotes
Accepted
381 2 2 2

Hello @frederic.gaillard, thanks for reaching out to us!

You can call on endpoints SEQ-case-investigate-results: Get screening results and [SEQ-case-investigate-case-details]: Fetch full case details to get more details of the case (like the name) using the case-system-id. If you are looking at the WebUI's CASE MANAGER tab, you have access to the Case Names there, along with the case Id's. If this is the case, you can use endpoint SEQ-case-retrieve: Get the system ID of a case.
Please reach out if this doesn't make sense or you need further detail.
Thanks,
Judith

icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Upvotes
27 3 5 3

Hi @Judith.Pillado,

This will do, thanks ^^

icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

@frederic.gaillard You're welcome!

Feel free to keep reaching out if you encounter any other issues/questions.