Datascope Select Search

Hello everyone, is there a way to know which of the key:value pairs in a search request can take a list as opposed to one single value?


For example, AssetStatuses can take multiple values, but I do not suspect I can do the same with Ticker. Is there any documentation or explanation for the acceptable values for each key?

{

"SearchRequest":{

"@odata.context":"http://hosted.datascopeapi.reuters.com/RestApi.Help/$metadata#ThomsonReuters.Dss.Api.Search.GovCorpSearchRequest",

"AssetStatuses":[

"TBP"

],

"GovCorpContributorCode":"EJV",

"Group":{

"Agency":"false",

"Government":"true",

"Corporate":"false",

"Supra":"true"

},

"Ticker":"UST"

}

}

Best Answer

  • Hi @josh.kalina1,

    In the REST API Reference Tree, you can verify the Data Type of parameter. The IEnumerable<string> means that the parameter accept list. However, some parameter such as 'Ticker' also support list of input using comma delimiter. There likely is no document for this type of parameter. You may contact DSS support via MyRefinitiv for further investigation.

Answers

  • zoya faberov
    zoya faberov ✭✭✭✭✭

    Hello @josh.kalina1,

    Does REST API Reference Tree help?

    Click on drop-down to see the list of possible enumerated values, Summary contains the description of the field.

  • Hi Veerapath,

    Thank you! This is the answer I was looking for.


    When I enter in a list for Tickers i.e. ['UST','GBGV''] , this throws an error. When I make this a character string like 'UST,GBGV' this will return values.