question

Upvotes
Accepted
9 1 0 2

In CorporateActionsStandardReportTemplates, how do i enter QueryStartDate as "All Historical Events" and QueryEndDate as "All Future events" ?

I am trying to add the following in my CorporateActions report. However, i am unable to determine on how to use All historical & Future events. I tried like below in my JSON request but failed. Please help. i am unable to find this in Data Guide - Rest API reference too.

-- Below is a partial request

"Condition": {

"ReportDateRangeType": "Range",

"QueryStartDate": "AllHistoricalEvents",

"QueryEndDate": "AllFutureEvents",

1694420814676.png


#productcorporate-actionsevents
1694420814676.png (54.0 KiB)
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Upvotes
Accepted
86k 292 53 78

@lim.yongyik

Thank you for reaching out to us.

I think if you don't specify the "PreviousDays" and "QueryStartDate" fields, it will use "All Historical Events" by default. If you don't specify the "NextDays" and "QueryEndDate" fields, it will use "All Future Events" by default.

"Condition": {
      "ReportDateRangeType": "Range",    
....
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Upvotes
9 1 0 2

Thanks @Jirapongse . It works. On another note, how do i select everything under "All Share Amount Types" in my API request? Cant seem to find it in Data Guide - Rest API reference


1694507218078.png


1694507218078.png (35.7 KiB)
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Upvotes
86k 292 53 78

@lim.yongyik

You can try to set the ShareAmountChoice property to All.

1694508098053.png



1694508098053.png (10.9 KiB)
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Upvotes
9 1 0 2

@Jirapongse its working. thank you for your help!

icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.