Regarding the status change, verify your object structure has an inbound processing class. Ideally it should have psdi.iface.app.pr.MaxPRProcess but at minimum it needs to have psdi.iface.mic.StatefulMicSetIn to execute the status change. The status field is restricted to ensure it goes through the proper status change process.
If it does have the correct processing class, make sure the attribute is not excluded on the object structure. You can do that using the Exclude/Include fields action on the object structure in the Object Structures application.
Can you clarify what this means "When trying to get the created PR's PRID, 0 records is returned"? IE how you got the PRID (was it the properties header on the REST API for example), how you tried to fetch it (did you query the database and not find the PRID?), etc.
------------------------------
Steven Shull
Naviam
------------------------------
Original Message:
Sent: 08-31-2025 00:56
From: Shahid Saeed Khan
Subject: Unable to Get & Update a PR via REST API
Hi,
I had implemented REST API integration from Oracle EBS to Maximo in which an approved PR is pushed to Maximo. I'm facing following issues:
- Even PR payload is having status='APPR', the record created in Maximo is in 'WAPPR' status.
- When trying to get the created PR's PRID, 0 records is returned
- Tried an Object Level Automation Script to approve the just-created PR (after save) but even then the same result
I have rechecked the security group authorization to the PR application with all rights given.
Looking forward to get your support.
Thanks,
Shahid
#Integrations
------------------------------
Shahid Saeed Khan
Oman Airports Management Company
------------------------------