Transition a request on behalf of a user

post

/epm/rest/public/v1/requests/{requestId}/assistedTransitions

Allows an AI agent to perform a request workflow action on behalf of the user identified by `userId`. Supports `APPROVE`, `REJECT`, `PUSHBACK`, and `COMMIT`. The specified user must have permission to perform the action on the request. Supply the action, user ID, and any required comment in the request body. The action runs as a background job. A `202 Accepted` response means the job was accepted, not that the transition succeeded. The agent must follow the response's `results` link to check the job status and determine whether the transition succeeded. Requires the AI Process role for the authenticated caller.

Request

Path Parameters
Body ()
Transition action, user, comment, and warning handling
Root Schema : AssistedTransitionJson
Type: object
Parameters for transitioning a request on behalf of a user
Show Source
  • Allowed Values: [ "APPROVE", "REJECT", "PUSHBACK", "COMMIT" ]
    The action to perform on the request
    Example: APPROVE
  • Comment for the transition. Required for REJECT and PUSHBACK, and for APPROVE and COMMIT when required by policy.
    Example: Looks OK.
  • Indicates that the transition to the next stage can proceed even if there are custom validation failures, as long as all failures are WARNING severity.
    Example: false
  • Unique ID of the EDM user on whose behalf the action is performed; that user's permissions apply
    Example: b3f1c2a1-5f2d-4f4e-9c2f-8d3f6a1b2c3d
Back to Top

Response

Supported Media Types

202 Response

Accepted; includes a results link to the transition job
Body ()

400 Response

Invalid action, user, or transition parameters
Body ()
Root Schema : RestErrorMessage
Type: object
Show Source

401 Response

Authentication required

403 Response

AI Process role required or user lacks permission
Body ()
Root Schema : RestErrorMessage
Type: object
Show Source

404 Response

Request or view not found
Body ()
Root Schema : RestErrorMessage
Type: object
Show Source
Back to Top