I've been using the various REST examples (.../datascope-select-dss/datascope-select-rest-api...) and I'm trying to make sense of CorporateActions. I can make the sample request, and receive the response ok, but I'm not sure about the Condition fields, or how to best process the results. The example says
"Condition": { "ReportDateRangeType": "Last", "PreviousDays": 30, "ExcludeDeletedEvents": true, "IncludeCapitalChangeEvents": true, "IncludeDividendEvents": true, "IncludeEarningsEvents": true, "IncludeMergersAndAcquisitionsEvents": true, "IncludeNominalValueEvents": true, "IncludePublicEquityOfferingsEvents": true, "IncludeSharesOutstandingEvents": true, "IncludeVotingRightsEvents": true, "CorporateActionsCapitalChangeType": "CapitalChangeExDate", "CorporateActionsDividendsType": "DividendPayDate", "CorporateActionsEarningsType": "PeriodEndDate", "ShareAmountTypes": [ ] }
Firstly, where can I find a list of all the various Condition options with their descriptions?
Secondly, what's the right way to process this data? I can imagine making an initial request for (say) 20 years of corporate events (I think I can set StartDate and EndDate instead of saying PreviousDays: 7200), but how are the rows identified? In the DSS content guide xls file I can see the field, "Issue Level Event ID", "Unique system-generated ID for each issue-level record related to the corporate actions event; All subsequent amendments and updates to this event are entered under this number". What happens with that? How are amendments and updates flagged? How do I know what order to apply them in if I receive multiple entries for one Issue Level Event ID in a response?