Primavera (MOSC)

MOSC Banner

Integrate P6 EPPM with REST API using .NET, C#

edited Jan 13, 2022 9:43PM in Primavera (MOSC) 1 commentAnswered

In P6 EPPM REST API, We are able to access “Login” and “Logout” APIs through C# & .Net, but we are not able to access the other APIs Like “Read Project”, “Read Activity”, “Update Activity”, etc.


During the First time, “Read Project” is working fine but on subsequent requests, it is sending a 500-Internal server error.

Request you to help us out on why it is showing us error on subsequent requests.


This is our code:-

Login:

List<CookieList> cookielst = new List<CookieList>();

CookieContainer cookies = new CookieContainer();

HttpClientHandler handler = new HttpClientHandler();

handler.CookieContainer = cookies;

Uri uri = new Uri("https://au1.p6.oraclecloud.com/");

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center