[
{
"name": "string",
"username": "string",
"userCode": "string",
"phone": "string",
"email": "string",
"employeeNo": "string",
"roleNames": [
"string"
],
"privilegeGroupNames": [
"string"
],
"businessCodes": [
"string"
]
}
]
curl --location --request POST '/open/user/upsertByUserCode' \
--header 'Authorization: {{token}}' \
--header 'Content-Type: application/json' \
--data-raw '[
{
"name": "string",
"username": "string",
"userCode": "string",
"phone": "string",
"email": "string",
"employeeNo": "string",
"roleNames": [
"string"
],
"privilegeGroupNames": [
"string"
],
"businessCodes": [
"string"
]
}
]'
{
"errData": [
{
"name": "",
"username": "",
"userCode": "",
"employeeNo": "",
"index": 0,
"code": 0,
"errorMsg": ""
}
],
"code": 0,
"message": "",
"errMsg": "",
"data": {
"successAmount": 0
},
"timestamp": ""
}