Get Activity Reports (v2)

Use these REST APIs to retrieve the complete JSON content of the latest Activity Report or a specific Activity Report in an EPM Cloud environment.

The APIs return the existing generated activityreport.json content, including report metadata and tables. To retrieve a specific report, use the reportId returned by the List Activity Reports (v2) REST API.

Although this API uses POST, it is read-only and does not create or modify Activity Reports.

Required Roles

Service Administrator, Power User, User, Viewer

REST Resource

To retrieve the latest Activity Report:

POST /interop/rest/v2/activityreports/latest

To retrieve a specific Activity Report:

POST /interop/rest/v2/activityreports/{reportId}

Request

Supported Media Types: multipart/form-data

Name Description Type Required Default
reportId Opaque identifier returned by the List Activity Reports (v2) API. Required only when retrieving a specific report. Repository paths cannot be supplied as identifiers. Path Yes None

If both date parameters are specified, fromDate must be earlier than or equal to toDate.

Example URL to Retrieve the Latest Activity Report

POST https://<BASE-URL>/interop/rest/v2/activityreports/latest

Example URL to Retrieve a Specific Activity Report

POST https://<BASE-URL>/interop/rest/v2/activityreports/opaque-report-id
{
  "fromDate": "2026-08-01T00:00:00Z",
  "toDate": "2026-08-11T23:59:59Z",
  "sortOrder": "desc"
}

Response

Supported Media Types: application/json

Table 2-237 Parameters

Name Description
items Array of available Activity Reports that match the request. Returns an empty array when no reports match or no reports are available. The format is:
  {
      "reportId": <Opaque Report ID>,
      "reportDate": <Report date and time expressed as an RFC 3339 timestamp>,
      "displayName": <Display name of the Activity Report>,
      "lastModifiedTime": <Last modified time expressed in milliseconds>,
      "formattedLastModifiedTime": <Human-readable last modified date and time>,
      "size": <Size of the Activity Report JSON file, represented as a string>
    }
status See Migration Status Codes
links Detailed information about the link. The format is:
{
      "href": <Links to API call>,
      "action": <The HTTP call type>,
      "rel": <Possible value: self>
    }
message Additional information about the error
type

Error identifier. The supplied not-found error response uses EPM_ACTIVITY_REPORT_NOT_FOUND.

Example of Response Body

The following example shows a response for a specific Activity Report. The activityReport object is illustrative; the API returns the complete generated JSON content for the requested report.

{
  "status": 0,
  "items": [
    {
      "reportId": "opaque-report-id",
      "reportDate": "2026-08-11T03:59:54Z",
      "displayName": "Activity Report 2026-08-11 03:59:54",
      "activityReport": {
        "Version": "26.08",
        "Report Date": "2026-08-11T03:59:54Z",
        "App Type": "Planning",
        "tables": [
          {
            "title": "Number of Users",
            "columns": [
              "Metric",
              "Value"
            ],
            "rows": [
              {
                "Metric": "Unique Users Count",
                "Value": "10"
              }
            ]
          }
        ]
      }
    }
  ],
  "links": [
    {
      "href": "https://<BASE-URL>/interop/rest/v2/activityreports/opaque-report-id",
      "action": "POST",
      "rel": "self"
    },
    {
      "href": "https://<BASE-URL>/interop/rest/v2/activityreports/list",
      "action": "POST",
      "rel": "list"
    }
  ]
}

Example of Error Response Body


{
  "status": -1,
  "details": "Activity Report was not found.",
  "message": "No Activity Report JSON exists for the requested reportId.",
  "type": "EPM_ACTIVITY_REPORT_NOT_FOUND"
}

Sample cURL Command

Retrieves the latest activity report:

curl -X POST -s -u '<USERNAME>:<PASSWORD>' -o response.txt -D respHeader.txt -H 'Content-Type: application/json' -d '{}' 'https://<BASE-URL>/interop/rest/v2/activityreports/latest'

Sample cURL Command

Retrieves a specific activity report:

curl -X POST -s -u '<USERNAME>:<PASSWORD>' -o response.txt -D respHeader.txt -H 'Content-Type: application/json' -d '{}' 'https://<BASE-URL>/interop/rest/v2/activityreports/opaque-report-id'