For a deeper look into our DataScope Select REST API, look into:

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials

question

Upvotes
Accepted
406 6 2 6

Pre-Validation Of PermIDs?

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

dss-rest-apidatascope-selectdsssymbology
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.

Hi Gareth @gteage,

Is this info included on permid.org, do we see it either within Organization Details or in Organizations fields spec? I do not find it, but thinking that it may be called a different name?

This would allow us to know what we are looking for in DSS reference.

1 Answer

· Write an Answer
Upvotes
Accepted
32.2k 40 11 20

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


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.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

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