Appearance
请求示例
请求方式:POST
请求参数
| 名称 | 类型 | 是否必选 | 示例值 | 描述 |
|---|---|---|---|---|
| report | Report | 是 | - | 报告参数 |
| dataset | Dataset | 是 | - | 数据体 |
Report
| 名称 | 类型 | 是否必选 | 示例值 | 描述 |
|---|---|---|---|---|
| tplMd5 | String | 是 | - | id |
| tplUuid | String | 否 | - | - |
| templateContentId | String | 否 | - | - |
| tplName | String | 否 | - | - |
| paperCode | String | 否 | - | - |
| rptUploadUrl | String | 否 | - | - |
| remark | String | 否 | - | - |
| tplDownloadUrl | String | 否 | - | - |
| tplUploadUrl | String | 否 | - | - |
| report_PATH | String | 否 | - | - |
Dataset
| 名称 | 类型 | 是否必选 | 示例值 | 描述 |
|---|---|---|---|---|
| recordNo | String | 是 | - | 识别接口返回的识别标识 |
| symptom1 | List<Symptom> | 否 | - | 症状 |
| patientInfo | PatientInfo | 否 | - | 就诊者信息 |
| hospital | Hospital | 否 | - | 医院信息 |
Symptom
| 名称 | 类型 | 是否必选 | 示例值 | 描述 |
|---|---|---|---|---|
| symptom | String | 是 | - | 症状 |
PatientInfo
| 名称 | 类型 | 是否必选 | 示例值 | 描述 |
|---|---|---|---|---|
| doctor | String | 否 | - | 医生 |
| gender | String | 否 | 男/女 | 性别 |
| patType | String | 否 | - | 就诊类型 |
| name | String | 否 | - | 姓名 |
| testTime | String | 否 | - | 检测时间 |
| generateTime | String | 否 | - | 生成时间 |
| department | String | 否 | - | 科室 |
| age | Integer | 否 | - | 年龄 |
Hospital
| 名称 | 类型 | 是否必选 | 示例值 | 描述 |
|---|---|---|---|---|
| name | String | 否 | - | 名称 |
| shortName | String | 否 | - | 简称 |
| phone | String | 否 | - | 联系电话 |
| address | String | 否 | - | 地址 |
响应参数
| 名称 | 类型 | 示例值 | 描述 |
|---|---|---|---|
| path | String | - | 路径 |
| url | String | - | Url |
请求参数示例
json
{
"report": {
"tplMd5": "cde9f9c3524dxxxxxx3879149452",
"tplUuid": "",
"templateContentId": null,
"tplName": "糖并",
"paperCode": null,
"rptUploadUrl": null,
"remark": null,
"tplDownloadUrl": "",
"tplUploadUrl": null,
"report_PATH": null
},
"dataset": {
"recordNo": "APIV2:b8abfxxxxxx52621c6",
"symptom1": [
{
"symptom": null
}
],
"patientInfo": [
{
"doctor": "便明门诊医生",
"gender": "男",
"patType": "门诊",
"name": "测试",
"testTime": "2024-10-17 09:10:12",
"generateTime": "2024-10-17 09:21:31",
"department": "便明门诊",
"age": 18
}
],
"hospital": [
{
"name": "测试机构",
"shortName": "测试机构",
"phone": "1xx00001111",
"address": "广东省深圳市深南大道"
}
]
}
}响应参数示例
json
{
"code": 0,
"msg": "SUCCESS",
"data": {
"path": null,
"url": "/pdf/20241017/4207xxxxx52d5.pdf"
}
}访问
- 格式:
https://aicloud.wesuresoft.com/gw + url - 示例:
https://aicloud.wesuresoft.com/gw/pdf/20241017/4207xxxxx52d5.pdf