Skip to main content

Get one question a workflow asks a person.

GET/api/v1/user-input-requests/{user_input_request_id}workflows:read

A Runtime Input or Scan Request of a workflow you may open. Needs View Workflow Runtime Input Requests.

Scopeworkflows:read
AsynchronousNo
MCP toolget_user_input_request
Portal permissionsview_workflow_runtime_input_requests

Parameters​

NameInTypeRequiredDescription
user_input_request_idpathstringRequired
Docwize-Versionheaderstring (date)Optional
If-None-MatchheaderstringOptionalAnswers 304 when the representation is unchanged (resources that publish an ETag).

Responses​

StatusDescriptionBody
200Success.application/json UserInputRequest
304Not modified (If-None-Match matched the ETag).
400invalid_versionapplication/problem+json Problem
401token_expired, unauthenticatedapplication/problem+json Problem
403forbidden, insufficient_scope, token_owner_inactiveapplication/problem+json Problem
404not_foundapplication/problem+json Problem
405method_not_allowedapplication/problem+json Problem
406not_acceptableapplication/problem+json Problem
421wrong_regionapplication/problem+json Problem
422validation_failedapplication/problem+json Problem
500internal_errorapplication/problem+json Problem
503tenant_unavailable, unavailableapplication/problem+json Problem
504timeoutapplication/problem+json Problem

Errors​

The problem codes this operation can answer with. Each code links to its page.

Schemas​

UserInputRequest​

FieldTypeRequiredDescription
addressed_toarray of UserRefRequiredThe users a Runtime Input names as its answerers; empty when anyone who can open the workflow may answer (and for a Scan Request, which asks the workflow's starter).
answer_kindstringRequiredWhat the answer is: user (user_ids), group (group_ids), datetime (date_time) or barcode (barcode); open enum.
answered_byUserRef or nullRequiredWho answered; null while pending.
can_be_answered_by_callerbooleanRequiredWhether you may answer it now: it is pending, the workflow is not cancelled, and you are one of those the Portal lets answer.
completed_atstring (date-time) or nullRequired
help_notesstring or nullRequiredThe prompt the person sees.
node_idstringRequiredThe step that asks.
requested_atstring (date-time) or nullRequired
statestringRequiredpending or answered (open enum).
typestringRequiredruntime_input or scan_request (open enum).
user_input_request_idstringRequired
workflow_idstringRequired
workflow_item_idstringRequired

UserRef​

FieldTypeRequiredDescription
display_namestringRequired
kindstring: user, system, integration or stringRequired
user_idstring or nullRequired