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

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials

question

Upvotes
1 0 0 3

Unexpected @odata.type 'DataScope.Select.Api.Extractions.SubjectLists.ThomsonReuters.Dss.Api.Extractions.SubjectLists.InstrumentList

Hi!

We have recently received a notification from refinitiv to update connection url from "hosted.datascopeapi.reuters.com " to "selectapi.datascope.refinitiv.com ".

Most of the api calls are failing with the new url (refinitiv one). Could you please confirm if there are other changes as well besides namespace update in url. If yes please share the api reference guide for same.

Moreover, the help link at https://select.datascope.refinitiv.com/DataScope/Home guides to older api guide which has older urls and odatatype for rest api.


Below are the payload details and response from both the url.

Request url: https://selectapi.datascope.refinitiv.com/RestApi/v1/Extractions/InstrumentLists 
Method: post
payload:  {
    "@odata.type": "#ThomsonReuters.Dss.Api.Extractions.SubjectLists.InstrumentList",     "Name": "test_selectapi" }

response:{    "error": {        "message": "Malformed request payload: Unexpected @odata.type 'DataScope.Select.Api.Extractions.SubjectLists.ThomsonReuters.Dss.Api.Extractions.SubjectLists.InstrumentList' in payload"    } }


Request url: https://hosted.datascopeapi.reuters.com/RestApi/v1/Extractions/InstrumentLists  
Method: post 
request payload :same as above 

response: {
    "@odata.context": "https://hosted.datascopeapi.reuters.com/RestApi/v1/$metadata#InstrumentLists/$entity",     "ListId": "0x0xxxxxfcx19a",     "Name": "test_selectapi",     "Count": 0,     "Created": "2021-05-27T11:23:07.789Z",     "Modified": "2021-05-27T11:23:07.789Z" }



dss-rest-apidatascope-selectdss
icon clock
10 |1500

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

link to reference tree: https://hosted.datascopeapi.reuters.com/RestApi.Help/Context/Operation?ctx=Extractions&ent=InstrumentList&opn=Create&sce=Instrument%20List%20Examples%20-%20Create.primary&stp=1&tab=2

1 Answer

Upvotes
Accepted
23k 22 9 14

Hello @dmds-support,

You are correct, some changes, not very extensive, will be required. We have tried to aggregate them in Refinitiv Datascope Select API Migration Tutorial, hope you find it helpful.

Please also find the full details in Refinitiv DataScope Product Suite - Mandatory Technical Changes.

icon clock
10 |1500

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

Thanks @zoya.farberov, appreciate your help.

Click below to post an Idea Post Idea