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/
Request
Supported Media Types: application/json
The following table summarizes the request parameters.
Table 10-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 10-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"
}]
}