1. 说明

    医院组织信息同步接口

  2. 调用方式

    基于http方式,数据采用json方式进行封装。

    需要指定contentType为:application/json; charset=utf-8

  3. url地址

    http://sub-usc.keshiku.cn/rest/hisOrgUser/syncOrg

    参数

    {
    "orgCode": "1761",
    "user": "his01",
    "accesskey": "e10adc3949ba59abbe56e057f20f883e",
    "orgId": "1000",
    "orgName": "测试组织",
    "parentOrgId": "-1",
    "createDate": "2018-07-21 16:06:55",
    "status": "0"
    }

    返回值

    {"code":"00","message":""} 
  4. 调用示例

    curl -X POST -H 'contentType: application/json; charset=utf-8' -i 'http://sub-usc.keshiku.cn/rest/hisOrgUser/syncOrg' --data '{
    "orgCode": "1761",
    "user": "his01",
    "accesskey": "e10adc3949ba59abbe56e057f20f883e",
    "orgId": "1000",
    "orgName": "测试组织",
    "parentOrgId": "-1",
    "createDate": "2018-07-21 16:06:55",
    "status": "0"
    }'
文档更新时间: 2019-03-06 15:00   作者:曹圣泉