メインコンテンツまでスキップ

List the questions a workflow asks people (Runtime Input and Scan Request).

GET/api/v1/workflows/{workflow_id}/user-input-requestsworkflows:read
注記

このページの操作の説明は、API の OpenAPI 文書のとおり英語で記載しています。

Every Runtime Input and Scan Request of a workflow you may open, pending and answered, oldest first: what is asked (answer_kind), who it is addressed to, whether you may answer it now, and for an answered one who answered and when. Needs View Workflow Runtime Input Requests.

スコープworkflows:read
非同期いいえ
MCP ツールlist_workflow_user_input_requests
Portal の権限view_workflow_runtime_input_requests
ページングkeyset
既定の並び順user_input_request_id
並べ替えに使えるフィールドuser_input_request_id

パラメーター​

名前場所型必須説明
workflow_idpathstring必須
limitqueryinteger任意既定値: 50; ≥ 1
cursorquerystring任意
sortquerystring任意Comma-separated sort fields, - for descending.
Docwize-Versionheaderstring (date)任意
If-None-Matchheaderstring任意Answers 304 when the representation is unchanged (resources that publish an ETag).

応答​

ステータス説明本文
200Success.application/json object
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
410cursor_expiredapplication/problem+json Problem
421wrong_regionapplication/problem+json Problem
422invalid_cursor, validation_failedapplication/problem+json Problem
500internal_errorapplication/problem+json Problem
503tenant_unavailable, unavailableapplication/problem+json Problem
504timeoutapplication/problem+json Problem

200 の本文​

フィールド型必須説明
itemsUserInputRequest の配列必須
next_cursorstring または null必須
warningsobject の配列必須

エラー​

この操作が返す可能性のある problem のコードです。各コードからそのページに移動できます。

スキーマ​

UserInputRequest​

フィールド型必須説明
addressed_toUserRef の配列必須The 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_kindstring必須What the answer is: user (user_ids), group (group_ids), datetime (date_time) or barcode (barcode); open enum.
answered_byUserRef または null必須Who answered; null while pending.
can_be_answered_by_callerboolean必須Whether 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) または null必須
help_notesstring または null必須The prompt the person sees.
node_idstring必須The step that asks.
requested_atstring (date-time) または null必須
statestring必須pending or answered (open enum).
typestring必須runtime_input or scan_request (open enum).
user_input_request_idstring必須
workflow_idstring必須
workflow_item_idstring必須

UserRef​

フィールド型必須説明
display_namestring必須
kindstring: user, system, integration または string必須
user_idstring または null必須