文档首页> ISDP> API参考> API接口> 人员管理> 批量更新人员信息(API名称:person/batchUpdate)
更新时间:2024-01-23 GMT+08:00
分享

批量更新人员信息(API名称:person/batchUpdate)

功能介绍

批量更新人员信息,支持角色编码,最多不超过5个。

相关接口

接口名称

调用说明

获取Token

调用该接口获取到Token,再调用其他接口时,需要在请求消息头中添加“Authorization”,其值即为Token。

URL

请求方式

HTTPS地址

服务架构

消息体类型

POST

https://isdp+域名/openapi/v1/person/batchUpdate

OpenAPI

application/json

请求头

KEY

VALUE

是否必填

描述

Content-Type

application/json

Authorization

bearer ${access_token}

bearer +“ ”+5.2.1中获取的access_token的值

请求参数

参数

类型

是否必填

描述

personList

Array

人员列表

personList字段说明

参数

类型

是否必填

描述

personCode

String

人员编码

personName

String

人员名称

personType

String

人员类型

personStatus

String

人员状态

orgNo

Long

组织编码

phone

String

手机号码

customerCode

String

客户编码

supplierCode

String

供应商编码

positionCode

String

岗位编码

roleNo

String

角色编码

响应参数

参数

类型

描述

status

String

请求状态。

  • success:成功
  • failed:失败

msg

String

消息。

data

Object

返回的数据信息。

请求示例

{
    "personList": [
        {
            "orgNo": "robin_test",
            "personCode": "testAAACC",
            "personName": "test AAA CC",
            "personStatus": "NoAccountOpened",
            "personType": "Employee",
            "roleNo": "test Role1,robin_test_func",
            "positionCode": "test012,robin_test_postion_01",
            "udfExtend1": "AAA"
        }
    ]
}

响应示例

{
    "status": "success",
    "msg": null,
    "data": null
}
分享:

    相关文档

    相关产品