Update a dimension at the application level

Updates mutable properties of a dimension identified by UUID or name, without scoping the request path to a single plan type.

The endpoint supports partial updates. The dimType cannot be changed through this endpoint. The optional payload id must identify the same dimension as the path value. When usedIn is supplied, it replaces the editable plan-type participation for non-attribute dimensions.

Required Roles

Service Administrator

REST Resource

PATCH /HyperionPlanning/rest/v3/applications/{appname}/dimensions/{id}

Request

Parameters:

Table 3-608 Request Parameters

Name Description Location JSON Type Required Default / omission
appname The name of the application. Path string Yes Not applicable
id The UUID or name of the dimension. Path string Yes Not applicable
name Dimension name. Required for create. PATCH addresses an existing dimension through the path; do not infer rename support from a returned name. Request body string No; subject to applicability Existing setting retained when omitted
dimType Dimension type. For attribute creation, supply ATTRIBUTE_DIMENSION. Omission on ordinary creation selects Custom. PATCH cannot change dimType. Request body string Do not change Existing setting retained when omitted
description Description of the dimension. Request body string No; subject to applicability Existing setting retained when omitted
aliasTable Alias table used with alias for the dimension root member. Request body string No; subject to applicability Existing setting retained when omitted
alias Alias value for the dimension root member in the specified alias table. Request body string No; subject to applicability Existing setting retained when omitted
density Dense or Sparse. A cube-specific setting for an applicable base dimension. Request body string No; subject to applicability Existing setting retained when omitted
evaluationOrder Evaluation order for an applicable base dimension in the affected cube or cubes. Request body integer No; subject to applicability Existing setting retained when omitted
enforceSecurity Whether security is enforced for an applicable base dimension. Request body boolean No; subject to applicability Existing setting retained when omitted
hierarchyType Hierarchy setting for a supported base dimension: None, Dynamic, or Stored. Standard base-dimension creation applies this property; custom-dimension creation does not apply it. Request body string No; subject to applicability Existing setting retained when omitted
dataStorage Data storage setting for the dimension root member, where supported; for example, Never Share. Request body string No; subject to applicability Existing setting retained when omitted
twoPass Two-pass calculation setting for the dimension root member, where supported. Request body boolean No; subject to applicability Existing setting retained when omitted
usedIn Plan-type names controlling ordinary dimension participation. Attribute dimensions follow their base dimension participation. Request body array of strings No; subject to applicability Existing setting retained when omitted
attributeType Attribute dimension only: Boolean, Date, Number, or Text. Required for attribute creation. On an existing attribute dimension, a supplied edit is subject to attribute-type validation. Request body string Optional for attribute dimensions; invalid for ordinary dimensions Existing setting retained when omitted
baseDimensionName Existing non-attribute base dimension. Required for attribute creation; for scoped creation the base must participate in the path cube. Invalid for ordinary dimensions. PATCH rejects this property, including an unchanged value. Request body string Do not supply Not applicable
id Optional payload consistency check. If supplied and nonempty, the value must match the addressed dimension's name, UUID, or matching path identifier. The required path id selects the dimension; the payload id can be omitted. Request body string No Omitted

Request properties are subject to dimension-type and operation restrictions. Do not copy a dimension response into a write request: response identity, hierarchy, validity, and navigation properties are not a generic writable payload.

Ordinary base-dimension creation and attribute creation follow different paths. Standard base-dimension creation applies hierarchyType; custom-dimension creation does not. Attribute creation requires its name, attribute dimension type, existing base dimension, and attribute data type. It applies a narrower property set; the base-dimension settings in this table are not a promise that those settings can be set independently on an attribute dimension.

For participation defaults and cube-specific settings, see Used In and cube scope in this topic.

Send a required request body with Content-Type: application/json.

The id in the URL path is required and selects the dimension to update. The request-body id is optional. If supplied and nonempty, it must match the addressed dimension's name, UUID, or matching path identifier. Omit it when sending only the mutable properties to change. Create requests reject a supplied nonempty id.

Minimal PATCH request body; no payload id is required:

{
  "description": "Updated description"
}

Example URL

https://<BASE-URL>/HyperionPlanning/rest/v3/applications/HP1/dimensions/013c647f-8570-4637-9644-bb8cb88e1a81

Response

Supported Media Types: application/json

The response describes the created or updated dimension. The table identifies core identity fields and selected contextual properties. Attribute-only properties apply to attribute dimensions. Optional properties can be omitted when not applicable.

Table 3-609 Response Parameters

Name JSON Type Description
id string (UUID) Opaque identifier of the dimension.
name string Name of the created or updated dimension.
dimType string Dimension type returned by the dimension representation, such as Custom or Attribute Dimension.
description string Dimension description, including the new value when changed by the request.
attributeType string Attribute data type for an attribute dimension, when applicable.
baseDimensionName string Associated base dimension name for an attribute dimension, when applicable.
usedIn array of strings Plan types in which the dimension participates. Attribute participation follows the base dimension.
level integer Hierarchy level, when included in the dimension representation.
path string Dimension hierarchy path.
displayPath string Hierarchy path using display names, when returned.
aliasPath string Hierarchy path using aliases, when returned.
links array of objects Returned link metadata, when included. For dimension retrieval, use the supported plan-type-scoped GET route described in Retrieving dimension metadata.

Write responses describe dimension metadata; do not use them as a generic request payload. The sample is an excerpt, rather than an inventory of every returned property.

Sample Response

This example assumes the UUID in the request URL identifies an existing custom dimension named Grades. The illustrative response excerpt shows its identity and the description changed by the PATCH request.

{
  "id": "013c647f-8570-4637-9644-bb8cb88e1a81",
  "name": "Grades",
  "dimType": "Custom",
  "description": "Updated description",
  "path": "/Grades"
}

Used In and cube scope

usedIn is an array of plan-type names. For an ordinary dimension, it controls the cubes in which the dimension participates. Attribute dimensions inherit participation from their base dimension; do not use this property to assign independent attribute participation.

Table 3-610 Participation on create and update

Operation usedIn omitted usedIn supplied
Create at application level An ordinary dimension initially participates in no cubes. The explicit list selects participation for the new ordinary dimension.
Create for a plan type An ordinary dimension participates in the path plan type. The explicit list controls participation; the path alone does not limit it to that cube.
PATCH at either scope Existing participation is preserved. The list replaces editable participation while retaining read-only or seeded participation. An empty list requests removal from editable cubes.

For PATCH, omitting usedIn differs from sending "usedIn": []. The latter requests removal of editable participation; it does not remove read-only or seeded participation.

Table 3-611 Scope of density and evaluationOrder

Request scope Target cubes for applicable settings
Plan-type path The path cube.
Application-level path The requested participation when usedIn is nonempty; otherwise the dimension's existing participation.

A plan-type path scopes these cube-specific settings. Other supplied properties can affect application-level dimension metadata, and an explicit participation list can affect other cubes.

For example, "usedIn": ["Plan1", "Plan2"] explicitly selects those plan types. Supply plan types that exist in the application and are valid for the dimension. On PATCH, this list replaces editable participation rather than adding to the existing list.

Attribute dimension requirements

To create an attribute dimension, supply name, dimType set to ATTRIBUTE_DIMENSION, baseDimensionName, and attributeType.

The base dimension must already exist and must not itself be an attribute dimension. For a plan-type-scoped create request, the base must participate in the path plan type. The attribute dimension inherits its base dimension's participation.

attributeType and baseDimensionName are attribute-only properties; do not supply them for an ordinary dimension. Creating a standard base-dimension type that already exists is not supported.

PATCH cannot change dimType or reassign the base dimension. Do not include baseDimensionName in a PATCH body, even to repeat its current value. Use only the supported mutable fields for the addressed dimension. On an attribute dimension, an attributeType edit is subject to Attribute-type validation.

Attribute-type validation

The supported attribute types are Boolean, Date, Number, and Text. The server validates a supplied type against the dimension and requested operation. This list does not guarantee that every conversion between types is permitted on an existing attribute dimension.

Access requirements and error outcomes

Table 3-612 Operation access

Operation Required access
Update a dimension at the application level Service Administrator. Administrator access; applicable application, dimension, and member restrictions also apply.

Authentication, resource visibility, and permission to change metadata are separate checks. A successful read does not establish write permission. Error responses are separate from the successful metadata fields documented in this topic.

Table 3-613 Operation-specific outcomes

Case Outcome Action
Missing or invalid authentication Authentication failure Authenticate using the supported method and inspect the actual status/diagnostic response.
Administrator requirement not satisfied 403 Forbidden Use an account with the Service Administrator role required for this operation.
Missing or inaccessible application/resource Operation-specific failure Check the identifier, application, and visibility. Do not assume the same missing-resource status across all operations.
Invalid write input 400 Bad Request where applicable Correct the request properties and operation-specific prerequisites; inspect actual diagnostic details.

For other failures, inspect the actual HTTP status and response body. See Error Handling and Status Codes. Do not require every error to contain the same metadata or item-detail structure.

Retrieving dimension metadata

Use the plan-type-scoped Get Dimension Details operation to retrieve dimension metadata after a write:

GET /HyperionPlanning/rest/v3/applications/{application}/plantypes/{plantype}/dimensions/{dimname}

Select a plan type in which the dimension participates and to which you have access. For an attribute dimension, participation follows its base dimension. A scoped GET requires participation in the selected plan type; do not assume every application-level dimension participates in Plan1.

Conditional example: Grades is the dimension addressed by the PATCH example, and it participates in Plan1. Retrieve its identity and path with:

https://<BASE-URL>/HyperionPlanning/rest/v3/applications/HP1/plantypes/Plan1/dimensions/Grades?fields=id,name,path

The application-level write URL is not a documented GET retrieval route. Use the supported operation above rather than changing the write method to GET. For lookup, projection, and child-content guidance, see Get Dimension Details.