Get Job status

get

/cloudapi/restapi/user/status/{jobId}

This operation reveals the status corresponding to the job {jobId}. If the job is complete, the operation returns OK (200), otherwise the operation returns ACCEPTED (202) with the location header in the response.

Request

Path Parameters
Back to Top

Response

Supported Media Types

200 Response

Create/Modify Users job has been successfully executed.

202 Response

This Create/Modify Users job is currently in progress.

400 Response

Invalid input, Please check.

500 Response

Internal Server Error. Underlying Identity Management System threw an error, Please check the logs.
Back to Top

Examples

Method

GET

Response Content Type

application/json

Operation

/cloudapi/restapi/user/status/{jobId}

cURL Example

REQUEST URL

https://<hostname>:<port>/cloudapi/restapi/users/status/95733

curl -X GET "http://<hostname>:<port>/cloudapi/restapi/user/status/95733" -H "accept: application/json"

Response Body Example

{

"added": [

{

"status": "Active",

"roles": [

{

"displayName": "Primavera Unifier Production",

"id": "77",

"name": "PrimaveraUnifierProduction"

}

],

"locked": false,

"disabled": false,

"createdBy": "COADMIN",

"loginId": "JSMITH",

"organization": {

"associations": [],

"displayName": "sfo",

"id": "4",

"inheritedPolicy": false,

"isDeletable": false,

"bidderCompany": false,

"name": "sfo"

},

"emailAddress": "jim.smith@pgbu.com",

"id": "3473",

"statusInfo": "",

"pwdWarned": false,

"loginAttemptsCtr": "0",

"lastAction": "Created",

"updatedDate": "2018-05-30T07:54:17",

"firstName": "JIM",

"lastName": "SMITH",

"userType": "EMP",

"createdDate": "2018-05-30T07:54:17",

"pwdExpireDate": "2019-03-26T07:59:39",

"pwdWarnDate": "2018-10-27T07:59:39",

"provisionedDate": "2018-05-30T07:59:38",

"pwdExpired": false,

"pwdCantChange": false,

"changePwdAtNextLogin": true

}

],

"modified": [],

"deleted": [],

"exception": "",

"message": "",

"updatedIdMap": {},

"localizedException": true

}

Back to Top