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
-
requestId(required): string(uuid)
The unique ID of the request to act on
Transition action, user, comment, and warning handling
Root Schema : AssistedTransitionJson
Type:
objectParameters for transitioning a request on behalf of a user
Show Source
-
action(required):
string
Allowed Values:
[ "APPROVE", "REJECT", "PUSHBACK", "COMMIT" ]The action to perform on the requestExample:APPROVE -
comment:
string
Comment for the transition. Required for REJECT and PUSHBACK, and for APPROVE and COMMIT when required by policy.Example:
Looks OK. -
transitionWithWarning:
boolean
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 -
userId(required):
string(uuid)
Unique ID of the EDM user on whose behalf the action is performed; that user's permissions applyExample:
b3f1c2a1-5f2d-4f4e-9c2f-8d3f6a1b2c3d
Response
Supported Media Types
- application/json
202 Response
Accepted; includes a results link to the transition job
Root Schema : IdNameLink
Type:
Show Source
object-
description:
string
Read Only:
true -
id:
string(uuid)
-
links:
array links
-
name:
string
400 Response
Invalid action, user, or transition parameters
Root Schema : RestErrorMessage
Type:
Show Source
object-
errorCode:
integer(int32)
-
itemCount:
integer(int32)
Number of request items. Present when a request has no items.
-
link:
object Link
-
message:
string
-
moreInfo:
string
-
operation:
string
-
requestId:
string(uuid)
Identifier of the request that could not be submitted. Present when a request has no items.
-
skippedRowCount:
integer(int64)
Number of skipped import rows for the request. Present when a request has no items.
-
status:
string
-
statusCode:
integer(int32)
401 Response
Authentication required
403 Response
AI Process role required or user lacks permission
Root Schema : RestErrorMessage
Type:
Show Source
object-
errorCode:
integer(int32)
-
itemCount:
integer(int32)
Number of request items. Present when a request has no items.
-
link:
object Link
-
message:
string
-
moreInfo:
string
-
operation:
string
-
requestId:
string(uuid)
Identifier of the request that could not be submitted. Present when a request has no items.
-
skippedRowCount:
integer(int64)
Number of skipped import rows for the request. Present when a request has no items.
-
status:
string
-
statusCode:
integer(int32)
404 Response
Request or view not found
Root Schema : RestErrorMessage
Type:
Show Source
object-
errorCode:
integer(int32)
-
itemCount:
integer(int32)
Number of request items. Present when a request has no items.
-
link:
object Link
-
message:
string
-
moreInfo:
string
-
operation:
string
-
requestId:
string(uuid)
Identifier of the request that could not be submitted. Present when a request has no items.
-
skippedRowCount:
integer(int64)
Number of skipped import rows for the request. Present when a request has no items.
-
status:
string
-
statusCode:
integer(int32)