简要描述:
- 第三方系统推送单位人员信息到科研系统
接口版本:
| 版本号 | 制定人 | 制定日期 | 修订日期 |
|---|---|---|---|
| 1.0.0 | 海浪 | 2023-09-19 |
请求URL:
- /ky-openapi/staffs
请求方式:
- post
请求头:
请求示例:
POST /ky-openapi/staffs
Sign: a34000ad9f1c456f942acc4ffb5423ae
App-Key: 12345678
Timestamp: 1691651505
Host: 科研系统地址
Content-Type: application/json
[
{
"empName": "张三",
"empCode": "013001",
"mobilePhone": "13569310573",
"sex":"男",
"idCard":"210021198101021211",
"email": "电子邮箱",
"address": "上海市***区***弄**号",
"brith": "1981-01-02",
"departmentName": "科研科",
"departmentCode": "02",
"title": "职称",
"education": "研究生"
}
]请求头:
| 参数名 | 是否必须 | 类型 | 说明 |
|---|---|---|---|
| Sign | 是 | string | 请求签名 |
| App-Key | 是 | string | 科研系统提供的 app key |
| Timestamp | 是 | number | 当前时间戳,到秒 |
| Content-Type | 是 | string | application/json |
请求参数说明:
| 参数名 | 类型 | 说明 | 必填 |
|---|---|---|---|
| empName | string | 姓名 | 必填 |
| empCode | string | 工号 | 必填 |
| mobilePhone | string | 手机号 | 必填 |
| sex | string | 性别 | 必填 |
| idCard | string | 身份证号 | 可选 |
| string | 电子邮箱 | 可选 | |
| address | string | 联系地址 | 可选 |
| brith | datetime | 出生日期 | 可选 |
| departmentName | string | 所属科室 | 必填 |
| departmentCode | string | 所属科室代码 | 必填 |
| title | string | 职称 | 可选 |
| education | string | 最高学历 | 可选 |
返回示例:
处理成功:
HTTP 状态码 返回 200
HTTP Response Body 返回:
{
"message": "success",
"timestamp": 1545643323000
}错误时返回:
查看公共响应
作者:吕炜 创建时间:2023-09-19 08:38
最后编辑:Lin 更新时间:2025-01-23 09:40
最后编辑:Lin 更新时间:2025-01-23 09:40