Get REST API Versions for Planning

Returns information about which versions are available and supported. Multiple versions might be supported simultaneously by Planning.

Note:

An API version is always supported even when deprecated.

REST Resource

GET /HyperionPlanning/rest/

Request

Supported Media Types: application/json

Response

Supported Media Types: application/json

Parameters

The following table summarizes the parameters.

Table 5-3 Parameters

Name Description
items Version of the API you are developing with
version The version, such as v3
lifecycle Possible values: active, deprecated
isLatest Whether this resource is the latest, true or false

Example of Response Body

The following shows an example of the response body in JSON format.

{	
    "items": [{
        "version": "v1",
        "lifecycle": "deprecated",
        "isLatest": false,
        "links": [{
            "rel": "canonical",
            "href": "https://<SERVICE_NAME>-<TENANT_NAME>.<SERVICE_TYPE>.<dcX>.oraclecloud.com/HyperionPlanning/rest/v1"
        }, {
            "rel": "successor-version",
            "href": "https://<SERVICE_NAME>-<TENANT_NAME>.<SERVICE_TYPE>.<dcX>.oraclecloud.com/HyperionPlanning/rest/v2"
        }]
    }, {
        "version": "v2",
        "lifecycle": "deprecated",
        "isLatest": false,
        "links": [{
            "rel": "canonical",
            "href": "https://<SERVICE_NAME>-<TENANT_NAME>.<SERVICE_TYPE>.<dcX>.oraclecloud.com/HyperionPlanning/rest/v2"
        }, {
            "rel": "predecessor-version",
            "href": "https://<SERVICE_NAME>-<TENANT_NAME>.<SERVICE_TYPE>.<dcX>.oraclecloud.com/HyperionPlanning/rest/v1"
        }, {
            "rel": "successor-version",
            "href": "https://<SERVICE_NAME>-<TENANT_NAME>.<SERVICE_TYPE>.<dcX>.oraclecloud.com/HyperionPlanning/rest/v3"
        }]
    }, {
        "version": "v3",
        "lifecycle": "active",
        "isLatest": true,
        "links": [{
            "rel": "canonical",
            "href": "https://<SERVICE_NAME>-<TENANT_NAME>.<SERVICE_TYPE>.<dcX>.oraclecloud.com/HyperionPlanning/rest/v3"
        }, {
            "rel": "predecessor-version",
            "href": "https://<SERVICE_NAME>-<TENANT_NAME>.<SERVICE_TYPE>.<dcX>.oraclecloud.com/HyperionPlanning/rest/v2"
        }]
    }],
    "links": [{
        "rel": "self",
        "href": "https://<SERVICE_NAME>-<TENANT_NAME>.<SERVICE_TYPE>.<dcX>.oraclecloud.com/HyperionPlanning/rest/"
    }, {
        "rel": "canonical",
        "href": "https://<SERVICE_NAME>-<TENANT_NAME>.<SERVICE_TYPE>.<dcX>.oraclecloud.com/HyperionPlanning/rest/"
    }, {
        "rel": "current",
        "href": "https://<SERVICE_NAME>-<TENANT_NAME>.<SERVICE_TYPE>.<dcX>.oraclecloud.com/HyperionPlanning/rest/v3"
    }]
}