Skip to main content

List what names a document template.

GET/api/v1/document-templates/{document_template_id}/dependenciesdocument_templates:read

Workflow templates and records that use the template. The set is one page; next_cursor is null.

Scopedocument_templates:read
AsynchronousNo
MCP toollist_document_template_dependencies
Portal permissionsview_document_template_dependencies
Pagingkeyset
Default ordertype, id
Sort fieldstype, id

Parameters​

NameInTypeRequiredDescription
document_template_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 DocumentTemplateDependencyRequired
next_cursorstring or nullRequired
warningsarray of objectRequired

Errors​

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

Schemas​

DocumentTemplateDependency​

FieldTypeRequiredDescription
detailsstring or nullRequired
namestring or nullRequired
record_idstring or nullRequiredThe record that names the document template (type Record).
typestringRequiredWorkflow or Record (an open enum).
workflow_template_idstring or nullRequiredThe workflow template that names the document template (type Workflow).