Skip to main content

Get one reference number template.

GET/api/v1/reference-number-templates/{reference_number_template_id}reference_numbers:read
Scopereference_numbers:read
AsynchronousNo
MCP toolget_reference_number_template
Portal permissionsview_reference_number_templates

Parameters​

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

Responses​

StatusDescriptionBody
200Success.application/json ReferenceNumberTemplate
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​

ReferenceNumberTemplate​

FieldTypeRequiredDescription
created_atstring (date-time) or nullRequired
created_byUserRef or nullRequired
namestringRequired
reference_number_template_idstringRequired
templatestringRequiredThe Jinja pattern, with one $DW_SEQ_XXXX$ sequence token; the number of X characters sets the zero padding.

UserRef​

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