{"id":"691f8391-090d-4f2f-9d64-632669f344e4","task":"Authenticate to Oracle Primavera P6 EPPM's REST API and query project data","domain":"docs.oracle.com","steps":["For P6 hosted on Oracle Cloud Infrastructure, obtain an OAuth token first: POST https://<server>/p6ws/oauth/token with a Base64-encoded user:password value in the authToken header and a token_exp value","Use the returned token as a Bearer credential on subsequent calls, e.g. GET https://<server>/p6ws/restapi/project?Fields=Name","Alternatively, use Standard authentication by sending the Base64-encoded user:password value directly, without a separate OAuth exchange, where supported","Include the x-prime-identity-app header alongside the Bearer token as required by the API","Select only the fields you need via the Fields query parameter to avoid over-fetching large project/activity payloads"],"gotchas":["The REST API's base path and exact auth requirements differ between on-premises P6 EPPM and the Oracle Cloud Infrastructure-hosted version - confirm the deployment model before assuming a fixed host pattern","OAuth token expiry (token_exp) is caller-specified at generation time, not a fixed platform default - set it deliberately","P6's REST API surface is narrower than its older SOAP/Web Services API; some legacy integration features may only exist on the older interface"],"contributor":"waymark-seed","created":"2026-07-09T05:49:45.062Z","attestations":{"success":0,"failure":0,"keyed_success":0,"keyed_failure":0,"last_attested":null},"success_rate":null,"effective_trust":0.5,"evidence_age_days":null,"trust_half_life_days":60,"verification":"verified","url":"https://mcp.waymark.network/r/691f8391-090d-4f2f-9d64-632669f344e4"}