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

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials

question

Upvotes
Accepted
5 1 2 5

How can we expand maximum limit of Search functions?

How can we expand maximum limit of DSS Search function API? Under DSS Reference Tree 'Equity Search', It says 'Search for equities (common, preferred, etc.), indices, exchange warrants, equity options, open funds, etc. Note, the paging skip token does not work. The search will return 500 results (page size) by default. If your result set is larger than this, you can increase the page size in the request or narrow your search criteria.' How can we increase the result to maximum number i.e. 5,000 instruments through REST API?

dss-rest-apidatascope-selectdsssearch
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.

1 Answer

Upvotes
Accepted
13.7k 26 8 12

@hiroko.goto, the default page size can be changed using the maxpagesize header in the request:

Prefer: odata.maxpagesize=5000; respond-async

This is described in detail under the server driven paging help page.

Note: we usually recommend not to change the default for this parameter, i.e. not to set it. The only exception is for cases where the paging token does not work. But please exercise caution, and do not set unreasonable values for the max page size.

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.

Click below to post an Idea Post Idea