curl --location -g --request POST 'https://qyapi.weixin.qq.com/cgi-bin/service/contact/search?provider_access_token=' \
--header 'Content-Type: application/json' \
--data-raw '{
"auth_corpid": "wwxxxxxx",
"query_word": "zhangsan",
"query_type": 1,
"agentid": 1000046,
"offset": 0,
"limit": 50,
"full_match_field": 1
}'{
"errcode": 0,
"errmsg": "ok",
"query_result": {
"user": {
"userid": [
"zhangshan",
"lisi"
],
"open_userid": [
"wwxxxx",
"wwxxxa"
]
},
"party": {
"department_id": [
1,
2,
3
]
},
"dismiss_user": {
"userid": [
"zhangshan",
"lisi"
],
"open_userid": [
"wwxxxx",
"wwxxxa"
]
}
},
"is_last": false,
"next_cursor": "NEXT_CURSOR"
}