登录

您的位置 : 文档中心 -> API信息

系统级别输入参数

参数名称 说明
appkey 客户端标识 (由fesco技术部提供给调用方一对appkey与appsecret)
sign 调用方签名后的字符串
format (json/jsonp)如果该参数不传递,默认返回json
timeStamp 时间戳(毫秒值,1534225991898)
methodName 方法名

接口概述
开发者 侯瑞凯
方法名 personnelmgr.insertEsEmpEduInfo
说明 批量新增雇员教育信息:
1、新增雇员教育信息,非空校验。
2、教育背景类别字段是国外,出国起始时间、出国终止时间、归国时间三个字段不能为空。

应用级输入参数

名称 类型 是否必须 描述 示例值 默认值
jsonList {} 应用级别参数对象Json序列化后的字符串
esEmpEduInfos [] 雇员教育经历集合

返回结果

名称 类型 描述
code string 0为成功,其他为失败
errorMsg string 失败原因
successResult [] 成功数据
errorResult {} 错误数据集合
status string 1为中间库成功,2为新系统成功,3为新系统失败(新系统业务处理异常,不插入中间库)
piCallRecId string 中间表主键id(根据中间表主键id查询返回正确业务数据的json串)
errorStack string 错误堆栈

调用示列

---- 调用入参
{
"esEmpEduInfos": [
{
"career": 21,
"degree": 0,
"eduBacType": 1,
"educationId": 0,
"endDate": 1498838400000,
"instName": "河南科技大学",
"isValid": 0,
"majorName": "工程管理专业",
"operId": 0,
"operTime": null,
"operatorCompanyId": 0,
"remark": "",
"retDate": null,
"startDate": 1377964800000,
"stuCountry": 0,
"uniqNo": 9058407
}
],
"callUrl": "http://api.inside.com:8852/personnelmgr",
"sign": 123456,
"thisIsServiceJobSign": 16524244
}

--调用成功返参
{
"code": "0",
"errorMsg": "",
"errorResult": null,
"piCallRecId": "12514281",
"status": 2,
"successResult": null
}

--调用失败样例
{
"code": "PERSONNELMGR-00102",
"errorMsg": "参数不全",
"status": null,
"piCallRecId": null,
"successResult": null
}

错误码

错误编码 错误描述 错误原因 解决方案
PERSONNERLMGR-00222 教育背景为空 教育背景为空
PERSONNERLMGR-00223 出国起始时间为空 教育背景:国外,入参出国起始时间不能为空
PERSONNERLMGR-00220 学历为空! 学历为空!
PERSONNELMGR-00100 参数不全 传入的参数对象是空
PERSONNELMGR-00102 uniqNo为空 雇员唯一号字段为空
PERSONNERLMGR-00221 院校名称为空 院校名称为空
PERSONNERLMGR-00224 出国终止时间为空 教育背景:国外,入参出国终止时间不能为空
PERSONNERLMGR-00225 归国时间为空 教育背景:国外,入参归国时间不能为空

API工具

联系我们

400-8000-800

产品咨询:010-85692930

FESCO官方

FESCO服务