1.34入职

请求类型:
POST
请求地址:
http://221.215.61.118:8084/api/HR/EmployeeEntry
Headers:
参数名称参数说明
CustomerCode 客户编码,例:'AAAAA'
Access_Token 客户对应的Token,36位字符串,例:'AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA'
请求参数:
参数名称参数说明
model
该参数以Json格式提交,注意数据格式
             {
                 "EmpCode":"x001",                         //员工编码
                 "CNName":"张三",                           //中文(必填)
                 "ENName":"zhang",                        //英文名
                 "Pinyin":"zhang san",                      //拼音
                 "IsForeign":0,                                  //是否外籍,0为非外籍,1为外籍(必填)
                 "IdCard":"",                                     //身份证(必填)
                 "Gender":"Male" or "Female",        //性别(必填)
                 "Birthday":"",                                  //出生日期(必填)
                 "Email":"",                                       //邮箱
                 "MobileNumber":"",                       //手机
                 "PhoneNumber":"",                        //电话号码
                 "OrganizationalID":"",                     //部门编码(必填)
                 "PositionId":"",                                //职位编码(必填)
                 "ReportTo":"",                                 //汇报人编码
                 "JoinDate":"",                                  //入职日期(必填)
                 "EmpType":"",                                 //员工类型(必填)
                 "InProbation":0,                              //是否试用,0为非试用,1为试用(必填)
                 "ProbationStartDate":"",                 //试用期开始日期(试用期人员则必填该字段)
                 "ProbationEndDate":"",                  //试用期结束日期(试用期人员则必填该字段)
                 "ProbationPeriodLength":"",          //试用期期限(月)(试用期人员则必填该字段)
                 "JoinGroupDate":"",                        //入集团日期
                 "IsHCControl": 0,                            //是否占编,0为非占编,1为占编(必填)
                 "LeaveEntitlementType":"",            //休假起始类型
                 "ShiftType":"",                                 //班次设置,可调用查询班次设置接口查看具体值
                 "EffectDate":"",                               //生效日期(必填)
                 "EmpStatus":"",                              //员工状态
                 "CustomJson":"
                                 [
                                             {
                                                 \"Key\":\"字段名1\",
                                                 \"Value\":\"字段值1\"
                                             },
                                             {
                                                 \"Key\":\"字段名2\",
                                                 \"Value\":\"字段值2\"
                                             }
                                         ]",//自定义字段,参数为Json字符串
                 "EducationJson":"
                                 [
                                     {
                                         \"Institute\":\"学校1\",
                                         \"StartDate\":\"2018-08-08\", 
                                         \"EndDate\": \"2018-08-08\", 
                                         \"EducationLevel\":\"学历1\",
                                         \"EducationDegree\":\"学位1\",
                                         \"Speciality\":\"专业1\"
                                     },
                                     {
                                         \"Institute\":\"学校2 \",
                                         \"StartDate\":\"2018-08-08\",
                                         \"EndDate\": \"2018-08-08\",
                                         \"EducationLevel\":\"学历2\",
                                         \"EducationDegree\":\"学位2/\",
                                         \"Speciality\":\"专业2\"
                                     }
                                 ]",//学历,参数为Json字符串
                 "ExtendedDataJson":"[
                                          {
                                              \"TableCode\":\"表名\",
                                              \"ColumnsData\":[
                                                                 {
                                                                     \"Key\":\"字段名1\",
                                                                     \"Value\":\"字段值1\"
                                                                 },
                                                                 {
                                                                     \"Key\":\"字段名2\",
                                                                     \"Value\":\"字段值2\"
                                                                 }
                                                              ]
                                           }
                                      ]"  //自定义数据,参数为Json字符串
                 }
返回结果说明
参数名称参数说明
Status Success(成功),Error(失败)
Result: 查询结果(部分接口会额外返回动态字段,以实际结果为准)
ErrorMsg 错误提示