Get API Versions for Profitability and Cost Management REST APIs
Returns information about which versions are available and supported. Multiple versions might be supported simultaneously.
Note:
An API version is always supported even when deprecated.
Required Roles
Service Administrator, Power User, User, Viewer
REST Resource
GET /epm/rest/
Response
Supported Media Types: application/json
Table 10-2 Parameters
| Name | Description |
|---|---|
details |
In case of errors, details are published with the error string |
status |
See Migration Status Codes |
items |
Version of the API you are developing with |
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": [{
"isLatest": false,
"lifecycle": "deprecated",
"version": "11.1.2.4.000",
"links": [{
"href": "https://<BASE-URL>>/epm/rest/11.1.2.4.000",
"rel": "canonical"
}, {
"href": "https://<BASE-URL>>/epm/rest/v1",
"rel": "successor-version"
}]
}, {
"isLatest": true,
"lifecycle": "active",
"version": "v1",
"links": [{
"href": "https://<BASE-URL>>/epm/rest/v1",
"rel": "canonical"
}, {
"href": "https://<BASE-URL>>/epm/rest/11.1.2.4.000",
"rel": "predecessor-version"
}]
}],
"links": [{
"href": "https://<BASE-URL>>/epm/rest/11.1.2.4.000",
"rel": "canonical"
}, {
"href": "https://<BASE-URL>>/epm/rest/v1",
"rel": "current"
}]
}