question

Upvotes
Accepted
1 1 1 1

Is it possible to request result from multiple views in RDP Searchlight API ??

Hi Team,

Quick Question:
Rather than requesting results using view "SearchAllLight", is it possible combine more than one view?
For example:
"View": "Organisations, EquityQuotes, FundQuotes"

If i try this, I get HTTP 400 Bad Request error.

1677512502022.pngMany Thanks,

Milan

#technologyrdp-api
1677512502022.png (25.5 KiB)
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
14k 30 5 10

Hi @milan.gurung ,

Only one view is supported in the RDP Searchlight API, you could see in the reason of error in response that

json.View in body should be one of [CommodityQuotes EquityDerivativeQuotes EquityQuotes FundQuotes GovCorpInstruments IndexInstruments IndicatorQuotes Organisations RCS SearchAllLight STIRs YieldCurveContQuotes]

Below is the infor from reference tab documentation in API playground, just for reference

1677557069496.png


1677557069496.png (140.9 KiB)
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
78.1k 246 52 72

@milan.gurung

Thanks for reaching out to us.

I don't think so.

If you send multiple views, you will get the following error.

"reason": "json.View in body should be one of [CommodityQuotes EquityDerivativeQuotes EquityQuotes FundQuotes GovCorpInstruments IndexInstruments IndicatorQuotes Organisations RCS SearchAllLight STIRs YieldCurveContQuotes]"
      }
    ]

The following is a definition of the View parameter.

  • View (required) picks a subset of the data universe to search against

According to this, you can set one view in the request.

I hope that this information is of help.


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.