批量获取员工任职信息
GET
/api/jobinfo/batch_get
适用版本:支持U8V12.0 及更高版本
使用场景:HR管理
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location -g --request GET 'https://api.yonyouup.com/api/jobinfo/batch_get?from_account&to_account&app_key=&token='
响应示例响应示例
{
"errcode": "string",
"errmsg": "string",
"pk_hr_hi_jobinfo": "string",
"cpsn_num": "string",
"irecordid": 0,
"blastflag": true,
"cdepcode": "string",
"cdeptname": "string",
"cjobcode": "string",
"cjobname": "string",
"cjobrankcode": "string",
"cjobgradecode": "string",
"cdutycode": "string",
"cdutyname": "string",
"csupperson": "string",
"dbegindate": "string",
"denddate": "string",
"bpartjob": true,
"rdchgtype": "string",
"rdutylev": "string",
"rholdpostway": "string",
"rhpreason": "string",
"vhpauthunit": "string",
"vauthorizedoc": "string",
"dremovdate": "string",
"rremovmode": "string",
"rremovreason": "string",
"vrmauthunit": "string",
"vrmauthdoc": "string",
"bmaxjobrankcode": true,
"timestamp": 0
}
请求参数
Query 参数
from_account
调用方id
to_account
提供方id
app_key
应用编码
token
全局访问唯一识别码
ds_sequence
可选
cpsn_num
人员编码
cdepcode
部门
cdeptname
部门名称关键字
cjobcode
岗位
cjobname
岗位名称关键字
cdutyname
职务名称关键字
csupperson
上级主管
bpartjob
是否兼职
pk_hr_hi_jobinfo
主键
irecordid
记录序号
blastflag
当前记录标识
cjobrankcode
职级
cjobgradecode
职等
cdutycode
职务
dbegindate
任职开始时间
denddate
任职结束时间
rdchgtype
任职变动类别
rdutylev
职务级别
rholdpostway
任职方式
rhpreason
任职原因
vhpauthunit
任职批准单位
vauthorizedoc
任职文号
dremovdate
免职时间
rremovmode
免职方式
rremovreason
免职原因
vrmauthunit
免职批准单位
vrmauthdoc
免职文号
bmaxjobrankcode
是否最高职级
timestamp
array[string]