What should be the code line to apply delta query in the API request message?
For a deeper look into our DataScope Select REST API, look into:
Overview | Quickstart | Documentation | Downloads | Tutorials
What should be the code line to apply delta query in the API request message?
Hello @Lukasz Ossowski,
Thank you for your participation in the forum.
Is the reply below satisfactory in resolving your query?
If yes, please click the 'Accept' text next to the appropriate reply. This will guide all community members who have a similar question. Otherwise please post again offering further insight into your question.
Thanks,
-AHS
Hello @Lukasz Ossowski,
Looking at DSS SDK Example app, for CorporateActionStandard request, as you seem to be working with DSS SDK, it has
... Condition = new CorporateActionsStandardCondition { PreviousDays = 30, ReportDateRangeType = ReportDateRangeType.Delta, ... QueryStartDate = null, NextDays = null, QueryEndDate = null, PendingEventsHours = null, PendingEventsMinutes = null, ...
?
Hello @Lukasz Ossowski<
Please see REST API Reference Tree.
... "ReportDateRangeType": "Delta", ...
Is this what you are looking for?
Yes, precisely. So, if I want to apply, e.g. "today", will the code line look like this:
PendingEventsHours = null,
PendingEventsMinutes = null,
PendingEventsPreviousDays = 0
PendingEventsPreviousMonths = null,
ReportDateRangeType = ReportDateRangeType.Delta,
And for yesterday, the "PendingEventsPreviousDays" value will be "-1", for two days ago "-2" etc?