简要描述:
- 根据模板ID获取扫描模板
接口版本:
| 版本号 | 制定人 | 制定日期 | 修订日期 |
|---|---|---|---|
| v1 | 李磊 | 2019-07-3 | 2019-07-3 |
请求URL:
- /co/document/scan-template
请求方式:
- GET
请求参数:
| 参数名 | 是否必须 | 类型 | 说明 |
|---|---|---|---|
| templateID | 是 | string | 模板编号 |
返回示例:
正确时返回:
{
"status": {
"returnCode": "200"
},
"body": {
"templateID": "ABB6",
"templateName": "payment/non po conver",
"header": [
{
"name": "barcode",
"key": "barcode",
"type": "input"
}
],
"list": []
},
"ok": true
}错误时返回:
{
"status": {
"time": 1556090070188,
"returnCode": "500",
"message": "内部错误",
"serviceCode": "common-service"
},
"body": null,
"ok": false
}返回参数说明:
| 参数名 | 类型 | 说明 |
|---|---|---|
| templateID | string | 模板编号 |
| templateName | string | 模板名称 |
| header | list | |
| header[].name | string | 显示名称 |
| header[].key | string | 字段名称 |
| header[].type | string | 输入类型 默认input |
| list | list | 输入类型 默认input |
| list[].name | string | 显示名称 |
| list[].key | string | 字段名称 |
| list[].type | string | 输入类型 默认input |
文档更新时间: 2019-07-03 16:27 作者:admin