简要描述:

  • 第三方系统推送单位组织架构信息到科研系统

接口版本:

版本号 制定人 制定日期 修订日期
1.0.0 海浪 2023-09-19

请求URL:

  • /ky-openapi/deptments

请求方式:

  • post

请求头:

请求示例:

POST /ky-openapi/deptments
Sign: a34000ad9f1c456f942acc4ffb5423ae
App-Key: 12345678
Timestamp: 1691651505
Host: 科研系统地址
Content-Type: application/json

[
    {
        "name": "信息科",
        "code": "02",
        "parentCode": "01"
    }
]

请求头:

参数名 是否必须 类型 说明
Sign string 请求签名
App-Key string 科研系统提供的 app key
Timestamp number 当前时间戳,到秒
Content-Type string application/json

请求参数说明:

参数名 类型 说明 必填
name string 部门名称 必填
code string 部门编码 必填
parentCode string 上级部门编码 必填

返回示例:

处理成功:
HTTP 状态码 返回 200

HTTP Response Body 返回:

{
    "message": "success",
    "timestamp": 1545643323000
}

错误时返回:

查看公共响应

作者:吕炜  创建时间:2023-09-19 08:38
最后编辑:Lin  更新时间:2025-01-23 09:40