Authorization: Bearer ********************{
"data": [
{
"groupId": "onBoardingRoughness",
"groupName": "入职概况",
"fieldMetaInfoList": [
{
"fieldId": "name",
"fieldName": "姓名",
"fieldType": "string",
"multiSelect": null,
"required": true,
"selection": [],
"stopSelection": []
},
{
"fieldId": "mobileNumber",
"fieldName": "手机号码",
"fieldType": "string",
"multiSelect": null,
"required": true,
"selection": [],
"stopSelection": []
},
{
"fieldId": "onBoardingDate",
"fieldName": "入职日期",
"fieldType": "date",
"multiSelect": null,
"required": true,
"selection": [],
"stopSelection": []
},
{
"fieldId": "registerState",
"fieldName": "入职登记表",
"fieldType": "selection",
"multiSelect": false,
"required": true,
"selection": [
{
"label": "已提交",
"value": "submit",
"order": null,
"status": null,
"markValue": null,
"orgLabel": null
},
{
"label": "未提交",
"value": "unsubmit",
"order": null,
"status": null,
"markValue": null,
"orgLabel": null
}
],
"stopSelection": null
},
{
"fieldId": "source",
"fieldName": "来源",
"fieldType": "selection",
"multiSelect": false,
"required": true,
"selection": [
{
"label": "扫码入职",
"value": "scan",
"order": null,
"status": null,
"markValue": null,
"orgLabel": null
},
{
"label": "手动添加",
"value": "manual",
"order": null,
"status": null,
"markValue": null,
"orgLabel": null
},
{
"label": "审批入职",
"value": "approval",
"order": null,
"status": null,
"markValue": null,
"orgLabel": null
},
{
"label": "钉钉添加",
"value": "ding_talk_add",
"order": null,
"status": null,
"markValue": null,
"orgLabel": null
},
{
"label": "系统添加",
"value": "system",
"order": null,
"status": null,
"markValue": null,
"orgLabel": null
},
{
"label": "招聘",
"value": "recruit",
"order": null,
"status": null,
"markValue": null,
"orgLabel": null
}
],
"stopSelection": null
},
{
"fieldId": "responsible",
"fieldName": "提交人",
"fieldType": "emp",
"multiSelect": false,
"required": false,
"selection": null,
"stopSelection": null
}
],
"multi": false,
"multiStrategy": null
},
{
"groupId": "workInfo",
"groupName": "任职信息",
"fieldMetaInfoList": [
{
"fieldId": "mainDepartment",
curl --location 'https://app91651.eapps.dingtalkcloud.com/open/api/v1/employee/onboarding/meta' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"data": [
{
"groupId": "onBoardingRoughness",
"groupName": "入职概况",
"fieldMetaInfoList": [
{
"fieldId": "name",
"fieldName": "姓名",
"fieldType": "string",
"multiSelect": null,
"required": true,
"selection": [],
"stopSelection": []
},
{
"fieldId": "mobileNumber",
"fieldName": "手机号码",
"fieldType": "string",
"multiSelect": null,
"required": true,
"selection": [],
"stopSelection": []
},
{
"fieldId": "onBoardingDate",
"fieldName": "入职日期",
"fieldType": "date",
"multiSelect": null,
"required": true,
"selection": [],
"stopSelection": []
},
{
"fieldId": "registerState",
"fieldName": "入职登记表",
"fieldType": "selection",
"multiSelect": false,
"required": true,
"selection": [
{
"label": "已提交",
"value": "submit",
"order": null,
"status": null,
"markValue": null,
"orgLabel": null
},
{
"label": "未提交",
"value": "unsubmit",
"order": null,
"status": null,
"markValue": null,
"orgLabel": null
}
],
"stopSelection": null
},
{
"fieldId": "source",
"fieldName": "来源",
"fieldType": "selection",
"multiSelect": false,
"required": true,
"selection": [
{
"label": "扫码入职",
"value": "scan",
"order": null,
"status": null,
"markValue": null,
"orgLabel": null
},
{
"label": "手动添加",
"value": "manual",
"order": null,
"status": null,
"markValue": null,
"orgLabel": null
},
{
"label": "审批入职",
"value": "approval",
"order": null,
"status": null,
"markValue": null,
"orgLabel": null
},
{
"label": "钉钉添加",
"value": "ding_talk_add",
"order": null,
"status": null,
"markValue": null,
"orgLabel": null
},
{
"label": "系统添加",
"value": "system",
"order": null,
"status": null,
"markValue": null,
"orgLabel": null
},
{
"label": "招聘",
"value": "recruit",
"order": null,
"status": null,
"markValue": null,
"orgLabel": null
}
],
"stopSelection": null
},
{
"fieldId": "responsible",
"fieldName": "提交人",
"fieldType": "emp",
"multiSelect": false,
"required": false,
"selection": null,
"stopSelection": null
}
],
"multi": false,
"multiStrategy": null
},
{
"data": [
{
"groupId": "string",
"groupName": "string",
"fieldMetaInfoList": [
{
"fieldId": "string",
"fieldName": "string",
"fieldType": "string",
"system": true,
"multiSelect": true,
"required": true,
"addressLevel": "string",
"maxFileSize": 0,
"selection": [
{
"label": "string",
"value": "string",
"order": 0,
"status": "string",
"markValue": "string",
"orgLabel": "string"
}
],
"stopSelection": [
{
"label": "string",
"value": "string",
"order": 0,
"status": "string",
"markValue": "string",
"orgLabel": "string"
}
]
}
],
"multi": true,
"multiStrategy": "string"
}
],
"success": true,
"errorCode": "string",
"errorMsg": "string"
}