For a deeper look into our DataScope Select REST API, look into:
Overview | Quickstart | Documentation | Downloads | Tutorials
Thank you for your participation in the forum. Is the reply below satisfactory in resolving your query?
If yes please click the 'Accept' text beneath the reply. This will guide all community members who have a similar question.
Otherwise please post again offering further insight into your question.
Thanks, AHS
@alejandro.lesaga - This is a private post
Please note we made this query public. There is no reason to leave it internal, customers could benefit from reading this.
Please be informed that a reply has been verified as correct in answering the question, and has been marked as such.
Thanks,
AHS
Hello @alejandro.lesaga,
I am almost positive you are using PriceHistoryExtractionRequest.
It is possible to pull 250 days by requesting Range with specific dates, i.e. dates will have to always be calculated prior:
"
"Condition": {
"QueryStartDate": "2015-05-24T00:00:00.000Z",
"QueryEndDate": "2015-05-31T00:00:00.000Z"
}
"
For the interval less then 31 days, one can use relative query, for example:
"
"Condition": {
"ReportDateRangeType": "Delta",
"DaysAgo": "30"
}
"
Please refer to DSS REST API Reference Tree
For more details on PriceHistoryExtractionbRequest -> Condition -> ReportDateRangeType
Does this help?