Extract Unmanaged and unverified Legal Entity records through DSS REST API

aurelien.blanchard0
edited December 2024 in DSS

Hello,

I'm trying to find the best way to retrieve Unmanaged and unverified legal entities out of the DSS REST API On Demand extractions. It seems that through POST /Extractions/ExtractWithNotes, if you stick to

"IdentifierList": {            "@odata.type": "#DataScope.Select.Api.Extractions.ExtractionRequests.EntityIdentifierList",            "EntityIdentifiers": [

it will not use your User Preference settings even though they are set to "Include unmanaged and unverified Legal Entity records in import, search and extractions."
Instead you have to switch to

 "IdentifierList": {            "@odata.type": "#DataScope.Select.Api.Extractions.ExtractionRequests.EntityIdentifierListWithValidationOptions",

and specify

"ValidationOptions": {                "AllowDuplicateInstruments": true,                "IncludeParentAndUltimateParent": true,                "AllowUnmanagedOrUnverifiedEntities": true            },            "UseUserPreferencesForValidationOptions": false

Is that a known issue? Am I forgetting anything?

Many thanks in advance for your advice.

Answers

  • Jirapongse
    Jirapongse ✭✭✭✭✭

    @aurelien.blanchard0

    Thank you for reaching out to us.

    I got the same result as yours. To confirm this behavior, please contact the Datascope Select support team directly via MyAccount.

    To use the setttings in the user preference settings, you can use the EntityIdentifierListWithValidationOptions and set the UseUserPreferencesForValidationOptions property to true.

    "IdentifierList": {
    "@odata.type": "#DataScope.Select.Api.Extractions.ExtractionRequests.EntityIdentifierListWithValidationOptions",
    "EntityIdentifiers": [
    {
    "Identifier": "4295861785",
    "IdentifierType": "Pid"
    },
    {
    "Identifier": "5055410921",
    "IdentifierType": "Pid"
    }
    ],

    "UseUserPreferencesForValidationOptions": true
    },
  • Thank you so much @Jirapongse , very useful!

    I will definitely reach out to the DSS Product team.

    Best regards.

Welcome!

It looks like you're new here. Sign in or register to get started.

Welcome!

It looks like you're new here. Sign in or register to get started.