How would I get all upcoming Corporate Actions (and respective fields) using C# SOAP Api?

some_one
some_one Newcomer

We are using Data Scope Select to import upcoming corporate actions for a list of Instruments.

The current system is still using SOAP and I am now in the process of figuring out how to translate this to using the newer REST service Api in C#.

In the old system we would use a call to "Define" to get a list of all appropriate field names for a certain event type (e.g. "DIV").

I do not find a "define" call in the SOAP documentation. I assume this is not the only difference.

How would I go about retrieving all upcoming corporate actions for a list of Instruments using SOAP? Is there a code sample for that?

Answers

  • Hello @some_one,

    The SOAP API for DSS is unsupported now and we can only help with REST API on these forums. You can try to contact product support at LSEG MyAccount, to see if they can offer any assistance in this regard.

  • some_one
    some_one Newcomer

    Hello @Gurpreet,

    thanks for the info! I played around with the REST Api for a bit now and there are only two questions left (for now).

    I have found the calls:
    extractionContext.GetValidContentFieldTypesAsync(ReportTemplateTypes.CorporateActions)
    and
    extractionContext.GetValidExtractionFieldNamesAsync(ReportTemplateTypes.CorporateActions)

    which seem to get me a list of all available CA fields.

    *) What is the difference between "Extraction fields" and "Content fields"?
    *) Is there a way for me to find out which fields apply to which "Corporate Actions Type"? (e.g. "DIV", "CAP", "MNA")?
    This seems to have been possible via the old SOAP api, but I can't find the equivalent.

    Thank you very much for your assistance!

  • Jirapongse
    Jirapongse ✭✭✭✭✭

    @some_one

    GetValidExtractionFieldNames returns only fields' names.

        "@odata.context": "https://selectapi.datascope.refinitiv.com/RestApi/v1/$metadata#Collection(Edm.String)",
    "value": [
    "Accounting Standard",
    "Acquirer Company Name",
    "Acquirer RIC",
    "Acquirer Row ID",
    "Actual Adjustment Factor",
    "Actual Adjustment Type",
    "Actual Adjustment Type Description",

    GetValidContentFieldTypes returns fields' names, types, and descriptions.

    {
    "@odata.context": "https://selectapi.datascope.refinitiv.com/RestApi/v1/$metadata#ContentFieldTypes",
    "value": [
    {
    "Code": "COR.Accounting Standard",
    "Name": "Accounting Standard",
    "Description": "Code indicating the accounting standard used in accounts in which the EPS figure is reported.",
    "FormatType": "Text",
    "FieldGroup": " "
    },
    {
    "Code": "COR.Acquirer Company Name",
    "Name": "Acquirer Company Name",
    "Description": "Name of the acquiring party.",
    "FormatType": "Text",
    "FieldGroup": " "
    },
    {
    "Code": "COR.Acquirer RIC",
    "Name": "Acquirer RIC",
    "Description": "RIC of primary issue of acquirer.",
    "FormatType": "Text",
    "FieldGroup": " "
    },

    Regarding the "Corporate Actions Type" field, please contact the Datascope Select support team directly via MyAccount.

  • Jirapongse
    Jirapongse ✭✭✭✭✭

    I found this one.

    <EnumType Name="CorporateActionsStandardEventsType">
    <Member Name="None" Value="0"/>
    <Member Name="CAP" Value="1"/>
    <Member Name="DIV" Value="2"/>
    <Member Name="EAR" Value="3"/>
    <Member Name="MNA" Value="4"/>
    <Member Name="NOM" Value="5"/>
    <Member Name="PEO" Value="6"/>
    <Member Name="SHO" Value="7"/>
    <Member Name="VOT" Value="8"/>
    </EnumType>
    image.png