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