curl --location -g --request POST 'https://qyapi.weixin.qq.com/cgi-bin/school/user/batch_update_student?access_token=' \
--header 'Content-Type: application/json' \
--data-raw '{
"students":[
{
"student_userid": "zhangsan",
"mobile": "10000000000",
"new_student_userid":"zhangsan_new",
"name": "张三",
"department": [1, 2],
},
{
"student_userid": "lisi",
"mobile": "10000000000",
"name": "李四",
"department": [3, 4]
}
]
}'
{
"errcode": 1,
"errmsg": "invalid student_userid: zhangsan",
"result_list": [
{
"student_userid": "zhangsan",
"errcode": 1,
"errmsg": "invalid student_userid: zhangsan"
}
]
}