Create or Update a Consolidation Journal

Creates a consolidation journal with the specified point of view (POV) and journal entries. New journals are created in Working status.

To update an existing journal, specify its label and the same POV. Only journals in Working status can be updated. If you omit the label, the API generates a label and creates a new journal.

REST Resource

POST /HyperionPlanning/rest/{api_version}/applications/{application}/journals

Required Roles

Service Administrator

Consolidation Journals - Create role

Request

Supported Media Types: application/json

Table 6-15 Parameters

Name Description Type Required Default
api_version

REST API version.

Path

Yes

None

application

Name of the application.

Path

Yes

None

label

Journal label. To update an existing Working journal, specify its label and the same POV. If omitted, a label is generated automatically.

Body

No

Automatically generated

description

Description of the journal.

Body

No

None

group

Journal group.

Body

No

None

cube

Cube for which the journal is created.

Body

No

Consol

postAs

Posting basis: PER (Periodic), YTD (Year-to-Date), or JTD (Journal-to-Date).

Body

No

PER

type

Journal type: Regular or Auto Reversing.

Body

No

Regular

balanced

Boolean indicating whether the journal is balanced.

Body

No

true

pov

Array of POV member names or aliases, in any order. Scenario, Year, and Period are required. View, Consolidation, and DataSource are optional. For multicurrency applications, Currency is taken from the DataSource member.

Body

Yes

View: Periodic; Consolidation: Entity Input; DataSource: Journal Input

entries

Array of journal entry objects. Each object contains members and amount, as described below. The API specifies no limit on the number of entries.

Body

Yes

None

Each object in entries contains:

Table 6-16 Journal Entry Parameters

Name Description Required
members

Array containing one member name or alias for each dimension other than Scenario, Year, Period, View, Consolidation, DataSource, and Currency. Members can appear in any order.

Yes

amount

Amount followed by D for debit or C for credit, for example, "1.11D".

Yes

Automatically Generated Labels

When label is omitted, the API validates Scenario, Year, and Period and resolves any aliases to their actual member names. It then generates a label in this format:

{scenario}_{year}_{period}_{yyyyMMdd}_{HHmmssSSS}

For example:

Actual_FY17_Jan_20260413_025650110

Generated labels are validated using the standard journal label rules. User-supplied labels are used as supplied, subject to the same validation.

Example of Request Body

The following request supplies a journal label. If a Working journal with the same label and POV exists, the request updates that journal; otherwise, it creates a journal.

{
  "label": "Rest_J1",
  "description": "Journal created using the REST API",
  "group": "",
  "cube": "Consol",
  "postAs": "PER",
  "type": "Regular",
  "balanced": true,
  "pov": [
    "Actual",
    "FY26",
    "Jan",
    "Periodic",
    "Entity Input",
    "Journal Input"
  ],
  "entries": [
    {
      "members": [
        "FCCS_Total Geography",
        "FCCS_Balance",
        "No Intercompany",
        "No Movement"
      ],
      "amount": "1.11D"
    },
    {
      "members": [
        "FCCS_Total Geography",
        "FCCS_Surplus",
        "No Intercompany",
        "No Movement"
      ],
      "amount": "1.11C"
    }
  ]
}

To create a journal with an automatically generated label, omit label from the request.

Response Body

Supported Media Types: application/json

On success, the response returns the journal label and resolved POV information. On failure, it returns the failure reason and error details.

Example of Success Response Body

{
  "success": "true",
  "label": "Actual_FY17_Jan_20260413_025650110",
  "pov": {
    "scenario": "Actual",
    "year": "FY17",
    "period": "Jan",
    "view": "FCCS_Periodic",
    "consolidation": "FCCS_Entity Input",
    "cube": "Consol",
    "dataSource": "FCCS_Journal Input"
  }
}

Example of Error Response Body

{
  "reason": "Journal does not have any entries.",
  "pov": {
    "scenario": "Actual",
    "year": "FY16",
    "period": "Jan",
    "view": "Periodic",
    "consolidation": "Entity Input",
    "dataSource": "Journal input",
    "cube": "Consol"
  },
  "success": "false",
  "label": "SharedEnt_JInp1_NRestAPI",
  "errors": [
    "Journal does not have any entries."
  ]
}