OPC data retrieval using Rest API
Hi,
I am trying to retrieve data from Oracle Primavera Cloud (OPC) using the REST API and testing the endpoints with Postman. I can successfully get data when I use the endpoint:
url/api/restapi/workspace
However, when I attempt to use other endpoints, such as:
/api/restapi/action/baseline/project/{id}
or /api/restapi/action/baseline/parent
I am encountering 401 or 404 errors.
I am using a service account with admin access to the application, so it shouldn't be an access-related issue. I noticed that the documentation mentions passing the workspaceId
as one of the parameters, but I am unsure where to find this information. When I use the URL: