Pre-Validation Of PermIDs?

Options
gteage
gteage LSEG

Hi,


Is there a way to determine what level a PermID is before submitting a request(s) to the relevant templates, either through the structure/range of the PermID (numeric) or if not, through an API request maybe some type of pre-validate option, though the below doesn't work for this entity-level PermID:

POST

/Extractions/InstrumentListValidateIdentifiers

/Extractions/EntityListValidateIdentifiers

{

"InputsForValidation": [

{

"Identifier": "4295904307",

"IdentifierType": "Pid"

}

],

"KeepDuplicates": false

}

Appears to be the best solution I could find to-date, but I just wondered if there was something more specific to pre-validating PermIDs via a single request via DSS, or via maybe 'Symbology API' if there's no option via DSS for this ask specifically.


Many thanks,


Gareth

Best Answer

  • zoya faberov
    zoya faberov ✭✭✭✭✭
    Answer ✓

    Hello @gteage,

    I think some of the level info can be derived via EntitySearch, for example:

    {{protocol}}{{host}}{{api}}Search/EntitySearch 
    {
       "SearchRequest": {
            "Identifier": "4295904307",
            "IdentifierType": "Pid",
            "Name": null,
            "OfficialNameOnly": false,
            "DomicileCodes": null,
            "CountryOfIncorporationCodes": null,
            "TrBusinessClassificationCodes": null,
            "VerifiedOnly": false,
            "RegulatedOnly": false,
            "IssuersOnly": false,
            "ActiveOnly": false,
            "IncludeUnManagedOrUnVerified": false,
            "PreferredIdentifierType": "Ric"
        
        }
    }

    resulting in

    {
        "@odata.context": "https://selectapi.datascope.refinitiv.com/RestApi/v1/$metadata#Collection(DataScope.Select.Api.Content.ValidatedEntity)",
        "value": [
            {
                "@odata.type": "#DataScope.Select.Api.Search.EntitySearchResult",
                "Identifier": "18228",
                "IdentifierType": "OrgId",
                "Key": "VjF8MHgwMDAzZWYwNmMxNzIyYzc1fEVORU58MTgyMjh8T1JH",
                "Description": "INTERNATIONAL BUSINESS MACHINES CORPORATION",
                "InstrumentType": "Entity",
                "Type": "Business Organization",
                "Domicile": "United States",
                "CountryOfIncorporation": "United States",
                "ParentOrgId": "18228",
               "UltimateParentOrgId": "18228"

            }
        ]
    }

    Hope this helps


Answers