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

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials

question

Upvotes
Accepted
5 0 1 3

How to apply delta time for Corporate Actions ISO 15022 template in REST API code?

What should be the code line to apply delta query in the API request message?


dss-rest-apidatascope-selectdss
1615299919463.png (28.1 KiB)
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.

Upvotes
Accepted
23k 22 9 14

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,
                    ...

?

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.

Upvotes
23k 22 9 14

Hello @Lukasz Ossowski<

Please see REST API Reference Tree.

...
"ReportDateRangeType": "Delta",
...

Is this what you are looking for?

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.

Upvotes
5 0 1 3

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?

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