文档中心 > API类目 > 阿里健康追溯码

qimen.alibaba.alihealth.tracecodeseller.doctor.video (有来医生视频同步)

有来医生数据拉取视频数据

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
appid String 必须 2131231 资源方Id
signature String 必须 c87b7d1175d38f75df199de19ab68c8d 生成的签名
timestamp_yl String 必须 1523871669 生成签名用的时间戳
start String 可选 1523613615 查询开始时间(时间戳)
end String 可选 1523613615 查询结束时间(时间戳)
is_all String 必须 1 是否获取全量?数据 1是 0否
page String 必须 1 页码

响应参数

名称 类型 示例值 描述
msgCode Number 200 状态码
nextPage Number 2 下一页页码,0表示无下一页
msgInfo String 同步成功 提示信息
data Data [] 返回数据
  • └ id
  • String
  • EBBB96UgFq
  • 视频Id
  • └ title
  • String
  • 感冒怎么治疗?
  • 标题
  • └ resource_url
  • String
  • http:\/\/gslb.miaopai.com\/stream\/gSKNqKtxU2khPKyHZPchPg__.mp4
  • 资源原地址
  • └ resource_picture
  • String
  • https:\/\/file.youlai.cn\/cnkfile1\/M00\/0B\/0B\/o4YBAFcxvP-AcIpHAACuFTaSvEE14.jpeg
  • 资源缩略图
  • └ diseases
  • String
  • 感冒
  • 相关疾病
  • └ time
  • String
  • 1523613615
  • 发布时间(到秒)
  • └ describe
  • String
  • 这是描述
  • 描述
  • └ duration
  • String
  • 01:01
  • 时长
  • └ second
  • String
  • 61
  • 时?秒数
  • └ department_1
  • String
  • 耳鼻喉科
  • 该数据所属有来的一级科室
  • └ department_2
  • String
  • 耳鼻喉科
  • 该数据所属有来的二级科室
  • doctor_info
  • DoctorInfo
  • 医生信息
  • └ adept_diseases
  • String
  • 头疼,感冒
  • 医生擅长疾病
  • └ adept_info
  • String
  • 医生
  • 医生擅长
  • └ profile
  • String
  • 医生简介
  • 医生简介
  • └ head_photo
  • String
  • https:\/\/file.youlai.cn\/cnkfile1\/M00\/18\/3E\/ooYBAFnxc2SAdq22AAG6Py5Dwrw25.jpeg
  • 医生头像
  • └ department_2
  • String
  • 神经内科
  • 医生所在医院的二级科室
  • └ department_1
  • String
  • 内科
  • 医生所在医院的一级科室
  • └ hospital
  • String
  • 北京协和医院
  • 所在医院
  • └ doctor_title
  • String
  • 主任医生
  • 医生职称
  • └ name
  • String
  • 李娜
  • 医生姓名
  • └ id
  • Number
  • 1
  • 医生ID
success Boolean true 是否成功

请求示例

{"is_all":"1","signature":"c87b7d1175d38f75df199de19ab68c8d","appid":"2131231","start":"1523613615","timestamp_yl":"1523871669","end":"1523613615","page":"1"}

响应示例

{
    "msgCode":200,
    "nextPage":2,
    "msgInfo":"同步成功",
    "data":[
        {
                "id":"EBBB96UgFq",
                "title":"感冒怎么治疗?",
                "resource_url":"http:\\\/\\\/gslb.miaopai.com\\\/stream\\\/gSKNqKtxU2khPKyHZPchPg__.mp4",
                "resource_picture":"https:\\\/\\\/file.youlai.cn\\\/cnkfile1\\\/M00\\\/0B\\\/0B\\\/o4YBAFcxvP-AcIpHAACuFTaSvEE14.jpeg",
                "diseases":"感冒",
                "time":"1523613615",
                "describe":"这是描述",
                "duration":"01:01",
                "second":"61",
                "department_1":"耳鼻喉科",
                "department_2":"耳鼻喉科",
                "doctor_info":{
                    "adept_diseases":"头疼,感冒",
                    "adept_info":"医生",
                    "profile":"医生简介",
                    "head_photo":"https:\\\/\\\/file.youlai.cn\\\/cnkfile1\\\/M00\\\/18\\\/3E\\\/ooYBAFnxc2SAdq22AAG6Py5Dwrw25.jpeg",
                    "department_2":"神经内科",
                    "department_1":"内科",
                    "hospital":"北京协和医院",
                    "doctor_title":"主任医生",
                    "name":"李娜",
                    "id":1
                }
        }
    ],
    "success":true
}

验签示例

{"success":"false","msgInfo":"Illegal request","msgCode":"sign-check-failure"}

错误码解释

错误码 错误描述 解决方案

API工具

FAQ

返回
顶部