REST API JSON Array POST Getting Invalid Request
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'}]