外部联系人为例,操作如下1、调用方轮询 外部联系人分页API,并缓存联系人数据到调用方本地(seq必须)
2、查询单个外部联系人-> 仍然调用外部联系人分页API-> 送currentSeq=外部联系人seq-1, limit=1即可
{
"method": "/contact/batchGetUserinfo",
"params": {
"guid": "{{guid}}",
"userIdList": [
"1688855565469698"
]
}
}curl --location --request POST 'http://manager.qiweapi.com/qiwe/api/qw/doApi' \
--header 'X-QIWEI-TOKEN: {{tokenId}}' \
--header 'Content-Type: application/json' \
--data-raw '{
"method": "/contact/batchGetUserinfo",
"params": {
"guid": "{{guid}}",
"userIdList": [
"1688855565469698"
]
}
}'{
"code": 0,
"data": {
"contactList": [
{
"acctid": "ston**********s",
"alias": "6ZKx6**********Kx",
"avatarUrl": "",
"corpId": "197032**********",
"gender": 2,
"groupId": "225180**********",
"internationCode": "86",
"mobile": "1760**********",
"nickname": "5byg**********",
"realName": "5byg**********",
"userId": "16888**********"
}
]
},
"msg": "成功"
}