- 开放平台须知
- 开放平台接口
- 巡检
- 主数据
- 获取授权信息
- 运营组织
- 门店信息
- 门店员工
- 公司员工
- 加盟商
- 岗位
- 查询所有员工POST
- 训练
- 费用单
- 表单
门店员工转公司员工
联调中
POST
/{{route}}/md/open/storeEmpToEmployee
开放平台
最后修改时间:2024-11-19 01:42:37
请求参数
Query 参数
version
string
必需
示例值:
1
Header 参数
Authorization
string
必需
示例值:
{{Authorization}}
Content-Type
string
必需
示例值:
application/json
ent
string
可选
默认值:
{{ent}}
Body 参数application/json
organizeId
number
必需
operatorId
number
操作人
roleId
number
转公司后岗位Id
employeeId
number
可选
employeeCode
string
可选
示例
{
"employeeId":366120825520207,
"certCode":"",
"relationships":[
{
"organizeId": 10000000000058,
"storeCode": "",
"roleId": null,
"roleCode": "6",
"isDefault": 0
}
],
"workStatus":"zc",
"currentlyPlace":"开放平台现住址",
"employeeName":"钟巧",
"phone":"13178654637",
"employeeCode":"16777457",
"entryDate":"2020-10-14",
"sex":"女",
"deptName":"开放平台部门",
"isSroreEmp":"1",
"birthday":"1993-07-31",
"folk":"汉族",
"registerdPlace":"开放平台户籍地址"
}
示例代码
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/storeEmpToEmployee?version=1&version=' \
--header 'Authorization: {{Authorization}}' \
--header 'ent: {{ent}}' \
--header 'Content-Type: application/json' \
--data-raw '{
"employeeId":366120825520207,
"certCode":"",
"relationships":[
{
"organizeId": 10000000000058,
"storeCode": "",
"roleId": null,
"roleCode": "6",
"isDefault": 0
}
],
"workStatus":"zc",
"currentlyPlace":"开放平台现住址",
"employeeName":"钟巧",
"phone":"13178654637",
"employeeCode":"16777457",
"entryDate":"2020-10-14",
"sex":"女",
"deptName":"开放平台部门",
"isSroreEmp":"1",
"birthday":"1993-07-31",
"folk":"汉族",
"registerdPlace":"开放平台户籍地址"
}'
返回响应
🟢200门店员工转公司员工成功
application/json
Body
message
string
必需
status
integer
必需
示例
{
"message": "操作成功!",
"status": 0
}