Get Account Calculation Audit Trail
Returns the calculation audit trail for one account ID, scenario, and period.
All value fields, including the top-level value and each step's value, are raw unscaled
values; no account or model scale is applied. Both scenario and period are required and
must not be empty; omission or an empty value returns HTTP 422.
zeroSuppress defaults to false when omitted.
Required Roles
Service Administrator
REST Resource
GET
/HyperionPlanning/rest/sm/v1/applications/{application}/models/{model}/accounts/{account}/audittrail
Request
Parameters:
Table 3-696 Parameters
| Name | Description | Type | Required | Default |
|---|---|---|---|---|
application |
The name of the application | Path | Yes | None |
| model | Then name of the model. | Path | Yes | None |
account |
Account ID. Every account path parameter is an account ID, never an account name. | Path | Yes | None |
scenario |
Scenario name for the audit-trail intersection. Required and must
not be empty. Omission or an empty value returns HTTP
422. Minimum length: 1
|
Query | Yes | None |
period |
Period label for the audit-trail intersection. Required and must
not be empty. Omission or an empty value returns HTTP
422. Minimum length: 1
|
Query | Yes | None |
zeroSuppress |
Whether to suppress zero-valued audit-trail steps. Defaults to false. | Query | No | False |
Example URL:
https://<BASE-URL>/HyperionPlanning/rest/sm/v1/applications/Sample/models/M1/accounts/v1000/audittrail
Response
Supported Media Types: application/json
Table 3-697 Parameters
| Name | Description |
|---|---|
title |
Display title of the calculation audit trail. |
accountId |
Identifier of the account in this response. |
accountName |
Name of the account in this response. |
scenario |
Scenario name associated with this result. |
period |
Period label used for the audit trail. |
value |
Calculated account value for the selected scenario and period; raw and unscaled. |
steps |
Ordered calculation steps that produced the value. |
steps[].step |
Sequence number of the calculation step. |
steps[].action |
Description of the calculation action performed in this step. |
steps[].accountId |
ID of the account referenced by this step, when applicable. |
steps[].accountName |
Name of the account referenced by this step, when applicable. |
steps[].scenario |
Scenario used by this step. |
steps[].period |
Period label used by this step. |
steps[].value |
Value produced or used by this step; raw and unscaled. |
steps[].drillable |
Whether this step has a drill-down audit trail. |
steps[].input |
Whether this step uses an entered input value. |
steps[].links |
Links for further inspection of this step, when available. |
steps[].links[].href |
URL of the linked audit-trail resource. |
steps[].links[].action |
HTTP method for the linked resource. |
steps[].links[].rel |
Link relationship, such as drill.
|
steps[].links[].data |
Additional link data, if supplied; null in the example. |
links |
Links related to the audit-trail result. |
links[].href |
URL of the linked audit-trail resource. |
links[].action |
HTTP method for the linked resource. |
links[].rel |
Link relationship, such as canonical.
|
links[].data |
Additional link data, if supplied; null in the example. |
Sample Response
{
"title": "Analyze (Base)",
"accountId": "v2000",
"accountName": "Cash",
"scenario": "Base",
"period": "2024",
"value": 0.0,
"steps": [
{
"step": 1,
"action": "Take 2023 Cash",
"accountId": "v2000",
"accountName": "Cash",
"scenario": "Base",
"period": "2023",
"value": 27.40624680000002,
"drillable": true,
"input": false,
"links": [
{
"href": "https://<BASE-URL>/HyperionPlanning/rest/sm/v1/applications/Sample/models/M1/accounts/v2000/audittrail?scenario=Base&period=2023",
"action": "GET",
"rel": "drill",
"data": null
}
]
},
{
"step": 2,
"action": "Save in Save Buffer #1 ",
"scenario": "Base",
"period": "2024",
"value": 27.40624680000002,
"drillable": false,
"input": false
},
{
"step": 3,
"action": "Take the input value of Change in Cash",
"accountId": "v2000",
"accountName": "Cash",
"scenario": "Base",
"period": "2024",
"value": 2.0000000000000084,
"drillable": false,
"input": true
}
],
"links": [
{
"href": "https://<BASE-URL>/HyperionPlanning/rest/sm/v1/applications/Sample/models/M1/accounts/v2000/audittrail?scenario=Base&period=2024",
"action": "GET",
"rel": "canonical",
"data": null
}
]
}
Table 3-698 Status Codes
| Code | Description |
|---|---|
400 |
Invalid request, malformed query JSON, invalid parameter, or service validation failure. |
401 |
Authentication is required. |
403 |
The authenticated caller is not authorized. |
404 |
Application or requested sub-resource was not found. |
422 |
The required scenario or period query parameter is missing or empty. |
500 |
Unexpected server error. |
Sample cURL Command
curl -X GET -u '<USERNAME>:<PASSWORD>' -G --data-urlencode 'scenario=<scenario>' --data-urlencode 'period=<period>' 'https://<BASE-URL>/HyperionPlanning/rest/sm/v1/applications/Sample/models/M1/accounts/v1000/audittrail'