Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 16 Next »

AdhocReport is the only endpoint that supports the POST method to execute OLAP reports in the PACE engine and renders the result via the REST API. 
The AdhocReport endpoint is also available in the GET method, but with limited parameters supported in the Request string URL. Payload parameters supported in the POST method are not all supported in the GET Method. A detailed comparison and the supported parameters between GET and POST method are listed in the table below.
  • The Input Parameter column is the predefined tag for the request payload in JSON format. 
  • The Mandatory column refers to if the parameter is required to give in the request payload or not.
  • The POST and GET method columns refers to if the respective request payload is supported or not.
  • The Example column contains examples of the request payload.


#Input ParameterMandatoryPOSTGETExample
1reportNameYesYesYes"reportName": "SK Cash Balance Report",
2entityIDYesYesYes"entityId": "SUBFICSH",
3beginDateYesYesYes"beginDate": "20140531",
4endDateYesYesYes"endDate": "20140601",
5fieldsNoYesYes"fields": "1781,1196,3255",
6outputFormatNoYesYes"outputFormat": "JSON2",
7constituentsAndBenchmarkToCompositeNoYesYes

"constituentsAndBenchmarkToComposite"
:true,

8benchmarkToPortfolioNoYesYes"benchmarkToPortfolio": true,
9firstAlternateCurrencyNoYesYes"firstAlternateCurrency": "CAD",
10secondAlternateCurrrencyNoYesYes"secondAlternateCurrrency": "INR",
11fetchPriorFXRatesNoYesYes"fetchPriorFXRates": "7",
12"benchmarkOverride":No                  Yes             No

"benchmarkOverride":

    {{

   "<benchmarkDefinition>":"<Entity
    ID>",
     "Primary Comparison Index":"MTHREN3",

 "<benchmarkDefinition>":"<Entity
    ID>",
     "Comparison Index 5": "MTHREN9",

  "IsEntities": true     "IsEntities": true

    }}
13"benchmarkOverride":No                 Yes             No"benchmarkOverride":

   {{

    "<benchmarkDefinition>":<benchmarkDefinition>",     "Market Portfolio":"Primary Comparison Index",

    "IsEntities": false     "Comparison Index 5": "Comparison Index 4",

    }     "IsEntities": false

    _    _                     _            _}
14groupingRuleOverride: {No              YesNogroupingRuleOverride: {

     "groupModel": [{"simple": "fieldID"},
     {"range": "aggregationID"},{"perfModel":
     "dictionaryID"}],



"groupModel": [{"simple": "1061"},{"range": "8178"},{"perfModel": "178"}],

     "calculationAndDisplay": {


     "calculationAndDisplay": {

     "calculateAttributionAndDisplay":
     "TOTAL/fieldID/aggregationID/SECURITY",



       "calculateAttributionAndDisplay": "1060",

     "limitResultToLevelAbove": "DoNotLimit
      /Limit/LimitFetchDisplay/
     LimitFetchNotDisplay",



       "limitResultToLevelAbove": "LimitFetchDisplay",

     "showBelowAttribution": "true/false",


       "showBelowAttribution": "true",

    "hideBenchmarkOnlySecurities": "true/false"


       "hideBenchmarkOnlySecurities": "true"

},


},

"dynamicPerformance": {


"dynamicPerformance": {

     "portfolioLookThrough": true/false,


     "portfolioLookThrough": true,

     "adjustSecurityToMatchParent": true/false,


     "adjustSecurityToMatchParent": true,

     "applyFilterToBenchmark": true/false


     "applyFilterToBenchmark": true

},


},

"entityHierarchy":"BOTTOMUPBALANCED
/TOPDOWNBALANCED/TOPDOWNUNBALANCED",



"entityHierarchy":"BOTTOMUPBALANCED",

      "globalAttributionOptions": "Single-globalattributionFieldID"


"globalAttributionOptions": "14533"

}


}
15report ruleNoYesYes"reportRuleId":"3588"
16fieldRuleNoYesYes"fieldRuleId":"3088"
  • No labels