Get a Substitution Variable Defined for the Application
You can use REST APIs to retrieve a substitution variable defined for the application.
Required Roles
Any Role
REST Resource
GET /HyperionPlanning/rest/{api_version}/applications/{application}/substitutionvariables/{name}Request
Parameters
The following table summarizes the client request.
Table 3-125 Parameters
| Name | Description | Type | Required | Default |
|---|---|---|---|---|
api_version |
Version of the API you are developing with | Path | Yes | None |
application |
The name of the application | Path | Yes | None |
name |
Namer of the substitution variable defined for the application | Path | Yes | None |
Example URL
https://<BASE-URL>/HyperionPlanning/rest/v3/applications/Vision/substitutionvariables/CurrPeriod
Response
Supported Media Types: application/json
Parameters
The following table summarizes the parameters.
Table 3-126 Parameters
| Name | Description |
|---|---|
name |
Name of the substitution variable, such as CurrPeriod |
value |
Value of the substitution variable, such as Jan |
planType |
Plan type, such as Plan1, or ALL for all plan types |
Example of Response Body
The following shows an example of the response body.
{
"name": "CurrPeriod",
"value": "Jan",
"planType": "ALL",
"links": [{
"rel": "self",
"href": "https://<BASE-URL>/HyperionPlanning/rest/v3/applications/vision/substitutionvariables/CurrPeriod",
"action": "GET"
}]
}