Viewing the job id status
To view the status of a job:
1. Send a request to the create user endpoint to create a user. The create user request returns a job ID. For example:
Endpoint: /cloudapi/restapi/user
Request body:
{ "added": [ { "organization": { "name": "sfo", "type": "Company" }, "roles": [ { "name": "PrimaveraUnifierProduction" } ], "loginId": "JSMITH", "firstName": "JIM", "lastName": "SMITH", "emailAddress": "jim.smith@company.com", "userType": "EMP" } ] }
For this example, assume the response is 95733.
2. Send a request to the job status endpoint to view the status of the job. Use the response from step 1 in the Request URL. The job status endpoint returns a json object containing the job status. For example:
https://<server_URL>/cloudapi/restapi/users/status/95733