By using the API for an Instrument Search [below request payload] the identifier type in the output is "NONE", this seems wrong and should be 'OrgId' as:
- the request has OrgID as preferred identifier
- identifier is an OrgID in the output
API Request –
URL - https://selectapi.datascope.refinitiv.com/RestApi/v1/Search/InstrumentSearch
API Request-
{
"SearchRequest": {
"InstrumentTypeGroups": [
"GovCorp"
],
"IdentifierType": "Isin",
"Identifier": "XS2848666900",
"PreferredIdentifierType": "OrgId"
}
}
API Response –
{
"@odata.context": "https://selectapi.datascope.refinitiv.com/RestApi/v1/$metadata#Collection(DataScope.Select.Api.Content.ValidatedInstrument)",
"value": [
{
"Identifier": "112740611",
"IdentifierType": "NONE",
"Source": "EJV",
"Key": "VjF8MHgwMDEwNTU5YWE0MDIxMDY5fDB4MDAxMDU1NmY2MDYxMTAzYnxFSlZ8R0NCRHxDT1JQfENGSU58R3xFfHxHT1JQ",
"Description": "C 10.000 09/25/24",
"InstrumentType": "GovCorpBond",
"Status": "Valid"
},
{
"Identifier": "112740611",
"IdentifierType": "NONE",
"Source": "EJV",
"Key": "VjF8MHgwMDEwNTU5YWE0MDIxMDY5fDB4MDAxMDU1OTJkNjAzMTAxMnxFSlZ8R0NCRHxDT1JQfENGSU58R3xFfHxHT1JQ",
"Description": "C 10.000 09/25/24",
"InstrumentType": "GovCorpBond",
"Status": "Valid"
}
]
}
However, when I do the exact same search in GUI, I can see the Identifier Type as OrgId.
As per “DSS REST API Reference Tree” when provided OrgId as preferred type below is the result, out put provides "NONE".
selectapi.datascope.refinitiv.com/RestApi.Help/Context/Operation?ctx=Search&opn=InstrumentSearch&sce=Search - All Search - By ORG ID&stp=1&tab=3
Is this a bug which can be fixed, or this is how the product is designed? If this is how the product is designed why is the behaviour different in GUI and API?
Can we assume that for this type of request (preferred identifier set as OrgID) NONE can be understood as 'OrgId'? As per my understanding it might be interpreted as the orgID, but it cannot be definitively stated that it "always will be" the orgID. Correct?