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

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials

question

Upvotes
Accepted
3 0 1 3

Instrument search - "PreferredIdentifierType": "OrgId"

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?

dss-rest-api
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.

Upvotes
Accepted
85k 289 53 77

@rishabh.nahata

Thank you for reaching out to us.

It looks like to be a problem in the DSS REST API. Please contact the DSS support team directly via MyAccount to investigate this issue.

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.

Upvotes
3 0 1 3

@Jirapongse Thank you. Development team has identified this as a bug and raised a JIRA to have a fix in place.

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.