i hope to query all the instruments which underlying is ".KS200" by use the
FuturesAndOptionsSearchRequest,but the query result only 250 records. but in fact is 860 records or so in the web ui .
For a deeper look into our DataScope Select SOAP API, look into:
Overview | Quickstart | Documentation | Downloads | Tutorials
i hope to query all the instruments which underlying is ".KS200" by use the
FuturesAndOptionsSearchRequest,but the query result only 250 records. but in fact is 860 records or so in the web ui .
"SearchRequest": {
"@odata.type": "#ThomsonReuters.Dss.Api.Search.FuturesAndOptionsSearchRequest",
"FuturesAndOptionsType": "Options",
"UnderlyingRic": ".KS200"
}
FuturesAndOptionsSearchRequest supports "Server-Driven Paging". The request returns only 250 rows of result on the initial request. The server response will include a nextlink (URI) that, when called, will return the next 250 rows for that result set as well as another nextlink. If there are no more rows, the nextlink will not be returned.
At the end of the response, you will see the nextlink.
... "@odata.nextlink": "https://hosted.datascopeapi.reuters.com/RestApi/v1/Search/FuturesAndOptionsSearch?$skiptoken='MjUw'" }
To retrieve next 250 rows of result, you need to send HTTP Post request with the same payload to the nextlink URI: https://hosted.datascopeapi.reuters.com/RestApi/v1/Search/FuturesAndOptionsSearch?$skiptoken='MjUw' instead.