Is there an equivalent on the REST API to request all Corporate Action fields for a specific type ?

MonikaDevi
MonikaDevi LSEG
edited February 28 in DSS

Good Afternoon!

I am in the process of migrating from DSS SOAP to DSS REST.

We request corporate actions for known instruments.

One thing that happens in the existing codebase is the retrieval of all available Corporate action fields for a certain corporate actions type ("DIV", "CAP", "MNA"):

This is done like so:

var request = new DataDictionaryRequestCorax();

request.CoraxEvents = new[] {"DIV"};

var response = await _extractionService.DefineAsync(request);

So there is this "Define" method on the SOAP API.

Is there an equivalent on the REST API to request all Corporate Action field names for a specific type?

I only found this one, but it does not give me to option to restrict to a specific type:

var validExtractionFields = await extractionContext.GetValidContentFieldTypesAsync(ReportTemplateTypes.CorporateActions);

Answers

  • Hello @MonikaDevi

    You can request all the available fields for a Report Template using the endpoint - GetValidContentFieldTypes. For corporate actions this URL will be - https://selectapi.datascope.refinitiv.com/RestApi/v1/Extractions/GetValidContentFieldTypes(ReportTemplateType=DataScope.Select.Api.Extractions.ReportTemplates.ReportTemplateTypes'CorporateActions')

    Response:

    {
      "@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": " "
        }, {
          "Code": "COR.Acquirer Row ID",
          "Name": "Acquirer Row ID",
          "Description": "Unique system-assigned identifier for the acquiring party.",
          "FormatType": "Number",
          "FieldGroup": " "
        },
    …
    

    If this does not serve your purpose, I would recommend reaching out to DSS product team to help you with content clarification.