Skip to main content

Available templates query

This endpoint allows querying all templates available for use in the bookkeeping system.

Request

ENDPOINT
/document_template/document_template
METHOD
GET

Query Params

FieldTypeDescriptionRequired
document_typestringDocument typeNo

Response

STATUS
200
Response Body
{
"data" : [
{
"document_key": "a846cc4a-b542-4f66-9823-b6d5458bd127",
"document_type": "adhesion_term"
},
{
"document_key": "a846cc4a-b542-4f66-9823-b6d5458bd127",
"document_type": "commercial_paper"
}
]
}

Response Body Params

FieldTypeDescriptionMax Characters
document_key *stringUnique template key (UUID v4).36
document_type *stringType of generated document.50