[关闭]
@myyzs 2020-02-14T04:07:32.000000Z 字数 711 阅读 28

健康上报

健康上报


保存表单接口

接口名称 保存表单
功能描述 保存表单
请求地址 https://qy-ci.fdccloud.com/smart-form/health/home/save-form-data
请求方式 POST(HTTPS)
  1. {
  2. "tenant_id": "my56a9c966df069",
  3. "form_id": "10000",
  4. "data":{
  5. "name":"梅义",
  6. "department":"云助手",
  7. "city":"武汉",
  8. "health":1
  9. }
  10. }

参数说明

参数 中文名 参数类型 说明
tenant_id 企业CorpId String 登录云助手企业平台获取
form_id 表单id String 表单唯一标识
name 姓名 String
department 部门 String
city 城市 String
health 健康状况 int 1:健康 2:发热 3:疑似 4:确诊 5:其他

成功返回

{
"success": 1,
"data": {
    "code": 1,
    "message": "ok",
    }
}

失败返回

{
    "success": 0,
    "data": {
        "code": 0,
        "message": "保存失败"
    }
}

下载统计数据接口

接口名称 下载统计数据
功能描述 下载某租户指定表单当天的统计数据,以excel文件形式
请求地址 https://qy-ci.fdccloud.com/smart-form/health/stats/export?form_id=10000&tenent_id=my56a9c966df069
请求方式 GET(HTTPS)

参数说明

参数 中文名 参数类型 说明
tenant_id 企业CorpId String 登录云助手企业平台获取
form_id 表单id String 表单唯一标识
添加新批注
在作者公开此批注前,只有你和作者可见。
回复批注