Skip to main content

List the custom field templates an action request's step captures.

GET/api/v1/action-requests/{action_request_id}/custom-field-templatesworkflows:read

The custom fields the request's step asks the answerer to fill, by template, with the fields that must not be empty. A reply with needs_valid_custom_fields is refused until they are filled; check_action_request_response runs the Portal's own check without recording anything. Empty when the step captures none. Read for a request you may see.

Scopeworkflows:read
AsynchronousNo
MCP toollist_action_request_custom_field_templates
Portal permissionsperform_workflow_actions
Pagingkeyset
Default ordercustom_field_template_id
Sort fieldscustom_field_template_id

Parameters​

NameInTypeRequiredDescription
action_request_idpathstringRequired
limitqueryintegerOptionalDefault: 50; ≥ 1
cursorquerystringOptional
sortquerystringOptionalComma-separated sort fields, - for descending.
Docwize-Versionheaderstring (date)Optional
If-None-MatchheaderstringOptionalAnswers 304 when the representation is unchanged (resources that publish an ETag).

Responses​

StatusDescriptionBody
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 body​

FieldTypeRequiredDescription
itemsarray of ActionRequestCaptureTemplateRequired
next_cursorstring or nullRequired
warningsarray of objectRequired

Errors​

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

Schemas​

ActionRequestCaptureField​

FieldTypeRequiredDescription
fieldstringRequiredThe field's name in the template.
labelstringRequiredThe caption the Inbox shows.

ActionRequestCaptureTemplate​

FieldTypeRequiredDescription
allows_several_rowsbooleanRequired
custom_field_template_idstringRequired
namestringRequired
required_fieldsarray of ActionRequestCaptureFieldRequiredThe fields that must not be empty before a reply that needs valid custom fields is accepted.
typestringRequiredThe template's type as the Portal stores it.