My Oracle Support Banner

Oracle Primavera Cloud (OPC) REST API Sample Code for Reading Activities (Doc ID 3065451.1)

Last updated on JANUARY 14, 2025

Applies to:

Oracle Primavera Cloud Service - Version 23.1 and later
Information in this document applies to any platform.

Goal

How to read activity data when using the OPC REST API.
 

Solution

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Goal
Solution
 Examples 1: Get all activities by project key. projectId is the internal key for the project.
 Example 2: Get all activities in all projects with an activity id/code. activityCode is the Id of the activity as it appears in OPC web.
 Example 3: Get an activity by project and by activity id/code. projectId is the internal key for the project. activityCode is the Id of the activity as it appears in OPC web.
 Example 4: Get an activity by project id, activity id and workspace id. activityCode is the Id of the activity as it appears in OPC web. projectCode is the Id of the project as it appears in OPC web. workspaceCode is the Id of the workspace as it appears in OPC web.


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.