Get Information about a Specific API Version for Oracle Profitability and Cost Management Cloud

Returns details for a specific REST API version for Oracle Profitability and Cost Management Cloud.

REST Resource

GET /epm/rest/

Request

Supported Media Types: application/json

Parameters

The following table summarizes the parameters.

Table 13-3 Parameters

Name Description Type Required Default
api_version Version of the API you are developing with, such as V1 Path Yes None

Response

Supported Media Types: application/json

Parameters

The following table summarizes the parameters.

Table 13-4 Parameters

Name Description
version The version, such as v1
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": "active",
      "isLatest": true,
      "links": [{
        "rel": "canonical",
        "href": "https://<SERVICE_NAME>-<TENANT_NAME>.<SERVICE_TYPE>.<dcX>.oraclecloud.com/epm/rest/v1",
      }, {
         "rel": "predecessor-version",
         "href": "https://<SERVICE_NAME>-<TENANT_NAME>.<SERVICE_TYPE>.<dcX>.oraclecloud.com/epm/rest/v1",
     }]  
   }],
   "links": [{
      "rel": "current",
      "href": "https://<SERVICE_NAME>-<TENANT_NAME>.<SERVICE_TYPE>.<dcX>.oraclecloud.com/epm/rest/v1"
   }]
}