/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

Best Answer

  • 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

Answers