- 开放平台须知
- 开放平台接口
- 巡检
- 主数据
- 获取授权信息
- 运营组织
- 门店信息
- 门店员工
- 公司员工
- 加盟商
- 岗位
- 查询所有员工POST
- 训练
- 费用单
- 表单
员工证照更新
开发中
POST
/{{route}}/md/open/emp/updateEmpCertificate
HYY_202405XX_定时抓拍
最后修改时间:2024-11-18 08:27:48
请求参数
Query 参数
version
string
接口版本,默认1
示例值:
1
Header 参数
Authorization
string
必需
示例值:
{{Authorization}}
ent
string
企业编码
Content-Type
string
可选
默认值:
application/json
Body 参数application/json
aboveUrl
string
身份证正面照
示例:https://pic4.zhimg.com/50/v2-2f1e7eafdf6a78b7c33ea04d24819af2_hd.jpg
bottomUrl
string
身份证反面照
示例:https://pic4.zhimg.com/50/v2-2f1e7eafdf6a78b7c33ea04d24819af2_hd.jpg
certCode
string
身份证号码
employeeId
integer <int64>
员工id
employeeCode
string
员工编码
expiredDate
string
健康证到期日期
healthUrl
string
健康证图片
示例:https://pic4.zhimg.com/50/v2-2f1e7eafdf6a78b7c33ea04d24819af2_hd.jpg
issuingDate
string
健康证发证日期
示例
{
"aboveUrl": "string",
"bottomUrl": "string",
"certCode": "string",
"employeeId": 0,
"employeeCode": "string",
"expiredDate": "string",
"healthUrl": "string",
"issuingDate": "string"
}
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location -g --request POST '/{{route}}/md/open/emp/updateEmpCertificate?version=1&version=' \
--header 'Authorization: {{Authorization}}' \
--header 'ent;' \
--header 'ent;' \
--header 'Content-Type: application/json' \
--data-raw '{
"aboveUrl": "string",
"bottomUrl": "string",
"certCode": "string",
"employeeId": 0,
"employeeCode": "string",
"expiredDate": "string",
"healthUrl": "string",
"issuingDate": "string"
}'
返回响应
🟢200OK
application/json
Body
string
可选
示例
"string"
🟢201Created
🟠401Unauthorized
🟠403Forbidden
🟠404Not Found