预览组成性条款
此端点允许使用预定义模板为特定操作生成组成性条款草稿。
Request
ENDPOINT
/commercial_paper/operation/OPERATION-KEY/preview_commercial_paperMÉTODO
POSTPath Params
| 字段 | 类型 | 描述 | 最大字符数 |
|---|---|---|---|
OPERATION-KEY * | string | 操作的唯一键(UUID v4)。 | 36 |
Request Body
{
"template_key": "48e2c597-f2ca-487e-9f06-2b628ecb831e"
}
Request Body Params
| 字段 | 类型 | 描述 | 必填 |
|---|---|---|---|
template_key * | string | 要使用的新模板的唯一键(UUID v4)。 | 是 |
Response
STATUS
201Response Body
{
"operation_key": "a846cc4a-b542-4f66-9823-b6d5458bd127",
"document_type": "commercial_paper",
"document_base64": "dGVzdGVfZG9jdW1lbnRfYmFzZTY0"
}
Response Body Params
| 字段 | 类型 | 描述 | 最大字符数 |
|---|---|---|---|
operation_key * | string | 操作的唯一键(UUID v4)。 | 36 |
document_type * | string | 生成的文件类型。始终为 commercial_paper。 | 50 |
document_base64 * | string | Base64 编码的生成文件内容。 | - |