文档中心 > API文档

2.17.9. 修改兼职信息

修改兼职信息

接口调用请求说明:

http请求方式:PUT
 http://ip:port/seeyon/rest/orgPartTimeJob
 

修改相关参数:

 res.put("id", "-717933079254446538");//更新是删除收插入,此ID 更新注意org_relationship表ID变化
  res.put("cMemberId", "-5904186531465311839");//r人员ID
  res.put("cAccountId", "-1956420195551131697");//兼职单位ID
  res.put("cDeptId", "-7058041343460749784");//兼职部门ID
  res.put("cPostId", "-7680462456906494208");//兼职岗位ID
  res.put("cLevelId", "2572864152117856133");//兼职职务ID
  res.put("cRoleIds", "-2674129842350898190");//兼职权限ID 
  res.put("cMember", "2015(56sp1)");//人名(原单位简称)
  res.put("sortId", "");
  res.put("code", "6");
  res.put("primaryPost", "技术(56sp1)");//原岗位名称(原单位简称)
  res.put("cAccount", "addAccount2");//兼职单位名称
  res.put("cDept", "add2-管理部(test2)");//兼职单位部门名称(兼职单位简称)
  res.put("cPost", "add2-行政岗位ie(test2)");//兼职单位部门名称(兼职单位简称)
  res.put("cLevel", "dd2-经理职务");//兼职单位职务名称
  res.put("cRoles", "普通人员权限");//兼职单位权限名称
 

返回说明:

修改成功,会返回的是【Success】

参数说明 请参考:???

如果录入的信息错误或者为空时,返回JSON格式信息的为空