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

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

Required Roles

Service Administrator, Power User, User, Viewer

REST Resource

GET /epm/rest/

Note:

Before using the REST resources, you must understand how to access the REST resources and other important concepts. See Implementation Best Practices for EPM Cloud REST APIs. Using this REST API requires prerequisites. See Prerequisites.

Request

Supported Media Types: application/json

The following table summarizes the request parameters.

Table 24-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

Table 24-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://<BASE-URL>>/epm/rest/v1",
      }, {
         "rel": "predecessor-version",
         "href": "https://<BASE-URL>/epm/rest/v1",
     }]  
   }],
   "links": [{
      "rel": "current",
      "href": "https://<BASE-URL>/epm/rest/v1"
   }]
}