Available templates query
This endpoint allows querying all templates available for use in the bookkeeping system.
Request
ENDPOINT
/document_template/document_templateMETHOD
GETQuery Params
| Field | Type | Description | Required |
|---|---|---|---|
document_type | string | Document type | No |
Response
STATUS
200Response 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
| Field | Type | Description | Max Characters |
|---|---|---|---|
document_key * | string | Unique template key (UUID v4). | 36 |
document_type * | string | Type of generated document. | 50 |