On demand extraction via HTTP requests with list and template ids?

Is there a way to perform an on demand extraction - via HTTP request - without
explicitly write both instruments and fields (template) lists? Ideally, we would like to perform on demand extractions passing a list id and a report template id at the request.

Best Answer

  • Troy Dalldorf
    Answer ✓

    This example should help. Unfortunately we do not have any examples on the help site for this feature.

    {
    "ExtractionRequest":{
    "@odata.type":"#ThomsonReuters.Dss.Api.Extractions.ExtractionRequests.FundAllocationExtractionRequest",
    "ContentFieldNames":[ "FundSERVDO","FundSERVFE","FundSERVIS"],
    "IdentifierList":{
    "@odata.type":"#ThomsonReuters.Dss.Api.Extractions.ExtractionRequests.InstrumentListIdentifierList",
    "InstrumentListId":"0x056354c268de2e3f"
    },
    "Condition":{
    "FundAllocationTypes":[ "Currency","IndustrySector","InvestmentCountry"]
    }
    }
    }

Answers