跳到主要内容

查询可用模板

此端点允许查询书写系统中可用的所有模板。

Request

ENDPOINT
/document_template/document_template
MÉTODO
GET

Query Params

字段类型描述必填
document_typestring文件类型。

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

字段类型描述最大字符数
document_key *string模板的唯一键(UUID v4)。36
document_type *string生成的文件类型。50