单据打印文件模版
- 接口:common/document/print/template
- Method:GET
- 数据格式:JSON
- 限流信息:
- 接口说明:单据打印接口模版获取
- 其他补充信息:
参数
请求参数
字段名称 |
字段类型 |
字段描述 |
是否必填 |
长度限制 |
参数类型 |
typeCode |
String |
单据类型代码 |
TRUE |
64 |
Query |
返回参数
字段名称 |
字段类型 |
字段描述 |
resCode |
Integer |
响应状态码 |
resMsg |
String |
返回信息描述 |
示例
请求示例
?typeCode=T001
返回示例
{
"resCode": 200000,
"resMsg": "success",
"data": [
{
"id": "749341282702196736",
"company_id": 17895,
"attachment_url": "printTemplate/f589bf9c-b458-4b00-8b6b-e6b37d9ee6c6.xls",
"attachment_name": "出差报销.xls",
"type_id": 144555,
"name": "头行租赁",
"default_flag": "Y",
"format_type": "pdf",
"created_by": 224129,
"creation_date": 1722560384000,
"last_updated_by": 224129,
"last_update_date": 1727073263000
},
{
"id": "749347155294027776",
"company_id": 17895,
"attachment_url": "printTemplate/3ed43c8e-623a-49b2-aa09-54b9c9c3767e.xls",
"attachment_name": "多区域打印-DEV - 17895.xls",
"type_id": 144555,
"name": "事租赁",
"default_flag": "N",
"format_type": "pdf",
"created_by": 224129,
"creation_date": 1722561785000,
"last_updated_by": 224129,
"last_update_date": 1727073263000
},
{
"id": "749347155323387904",
"company_id": 17895,
"attachment_url": "printTemplate/8ef4e6df-2e1e-4a93-a8dc-715005ccd4b3.xls",
"attachment_name": "预算分摊区域打印 - 副本.xls",
"type_id": 144555,
"name": "预算分摊租赁",
"default_flag": "N",
"format_type": "pdf",
"created_by": 224129,
"creation_date": 1722561785000,
"last_updated_by": 224129,
"last_update_date": 1727073263000
},
{
"id": "785987303775404032",
"company_id": 17895,
"attachment_url": "printTemplate/20c2694a-1c52-4058-9aee-657d50d66c78.xls",
"attachment_name": "神威二维码.xls",
"type_id": 144555,
"name": "test",
"default_flag": "N",
"format_type": "pdf",
"created_by": 224129,
"creation_date": 1731297477000,
"last_update_date": 1731297477000
}
]
}