Primavera (MOSC)

MOSC Banner

REST API JSON Array POST Getting Invalid Request

in Primavera (MOSC) 1 commentAnswered

When doing P6 REST API POST to restapi/resourceRate endpoint with the following JSON,

[{'ResourceObjectId':'23088','EffectiveDate':'2020-10-05T00:00:00','ShiftPeriodObjectId':'10688','MaxUnitsPerTime':'27'},{'ResourceObjectId':'23088','EffectiveDate':'2020-10-05T00:00:00','ShiftPeriodObjectId':'10684','MaxUnitsPerTime':'28'}]

Getting "Invalid request."

Is there documentation on what the valid format for JSON array?

The following processes successfully when a single:

[{'ResourceObjectId':'23088','EffectiveDate':'2020-10-05T00:00:00','ShiftPeriodObjectId':'10688','MaxUnitsPerTime':'27'}]

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