For a deeper look into our DataScope Select REST API, look into:
Overview | Quickstart | Documentation | Downloads | Tutorials
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
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.
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