@@ -153,6 +153,7 @@ public interface WxCpExternalContactService {
153
153
154
154
/**
155
155
* 企业和服务商可通过此接口,将微信外部联系人的userid转为微信openid,用于调用支付相关接口。暂不支持企业微信外部联系人(ExternalUserid为wo开头)的userid转openid。
156
+ *
156
157
* @param externalUserid 微信外部联系人的userid
157
158
* @return 该企业的外部联系人openid
158
159
* @throws WxErrorException .
@@ -197,13 +198,13 @@ public interface WxCpExternalContactService {
197
198
* 第三方/自建应用调用时,返回的跟进人follow_user仅包含应用可见范围之内的成员。
198
199
* </pre>
199
200
*
200
- * @param userId 企业成员的userid ,注意不是外部联系人的帐号
201
- * @param cursor the cursor
202
- * @param limit the limit
201
+ * @param userIdList 企业成员的userid列表 ,注意不是外部联系人的帐号
202
+ * @param cursor the cursor
203
+ * @param limit the limit
203
204
* @return wx cp user external contact batch info
204
205
* @throws WxErrorException .
205
206
*/
206
- WxCpExternalContactBatchInfo getContactDetailBatch (String userId , String cursor ,
207
+ WxCpExternalContactBatchInfo getContactDetailBatch (String [] userIdList , String cursor ,
207
208
Integer limit )
208
209
throws WxErrorException ;
209
210
@@ -273,24 +274,25 @@ WxCpExternalContactBatchInfo getContactDetailBatch(String userId, String cursor,
273
274
* @param takeOverUserid the take over userid
274
275
* @return wx cp base resp
275
276
* @throws WxErrorException the wx error exception
276
- * @deprecated 此后续将不再更新维护,建议使用 {@link #transferCustomer(WxCpUserTransferCustomerReq)}
277
+ * @deprecated 此后续将不再更新维护, 建议使用 {@link #transferCustomer(WxCpUserTransferCustomerReq)}
277
278
*/
278
279
@ Deprecated
279
280
WxCpBaseResp transferExternalContact (String externalUserid , String handOverUserid , String takeOverUserid ) throws WxErrorException ;
280
281
281
282
/**
282
283
* 企业可通过此接口,转接在职成员的客户给其他成员。
283
- * <per>
284
+ * <per>
284
285
* external_userid必须是handover_userid的客户(即配置了客户联系功能的成员所添加的联系人)。
285
286
* 在职成员的每位客户最多被分配2次。客户被转接成功后,将有90个自然日的服务关系保护期,保护期内的客户无法再次被分配。
286
- *
287
+ * <p>
287
288
* 权限说明:
288
- * * 企业需要使用“客户联系”secret或配置到“可调用应用”列表中的自建应用secret所获取的accesstoken来调用(accesstoken如何获取?)。
289
+ * * 企业需要使用“客户联系”secret或配置到“可调用应用”列表中的自建应用secret所获取的accesstoken来调用(accesstoken如何获取?)。
289
290
* 第三方应用需拥有“企业客户权限->客户联系->在职继承”权限
290
291
* 接替成员必须在此第三方应用或自建应用的可见范围内。
291
292
* 接替成员需要配置了客户联系功能。
292
293
* 接替成员需要在企业微信激活且已经过实名认证。
293
- * </per>
294
+ * </per>
295
+ *
294
296
* @param req 转接在职成员的客户给其他成员请求实体
295
297
* @return wx cp base resp
296
298
* @throws WxErrorException the wx error exception
@@ -300,35 +302,37 @@ WxCpExternalContactBatchInfo getContactDetailBatch(String userId, String cursor,
300
302
/**
301
303
* 企业和第三方可通过此接口查询在职成员的客户转接情况。
302
304
* <per>
303
- * 权限说明:
304
- *
305
+ * 权限说明:
306
+ * <p>
305
307
* 企业需要使用“客户联系”secret或配置到“可调用应用”列表中的自建应用secret所获取的accesstoken来调用(accesstoken如何获取?)。
306
308
* 第三方应用需拥有“企业客户权限->客户联系->在职继承”权限
307
309
* 接替成员必须在此第三方应用或自建应用的可见范围内。
308
310
* </per>
311
+ *
309
312
* @param handOverUserid 原添加成员的userid
310
313
* @param takeOverUserid 接替成员的userid
311
- * @param cursor 分页查询的cursor,每个分页返回的数据不会超过1000条;不填或为空表示获取第一个分页;
314
+ * @param cursor 分页查询的cursor,每个分页返回的数据不会超过1000条;不填或为空表示获取第一个分页;
312
315
* @return 客户转接接口实体
313
316
* @throws WxErrorException the wx error exception
314
317
*/
315
- WxCpUserTransferResultResp transferResult (@ NotNull String handOverUserid , @ NotNull String takeOverUserid , String cursor ) throws WxErrorException ;
318
+ WxCpUserTransferResultResp transferResult (@ NotNull String handOverUserid , @ NotNull String takeOverUserid , String cursor ) throws WxErrorException ;
316
319
317
320
/**
318
321
* 企业可通过此接口,分配离职成员的客户给其他成员。
319
- * <per>
322
+ * <per>
320
323
* handover_userid必须是已离职用户。
321
324
* external_userid必须是handover_userid的客户(即配置了客户联系功能的成员所添加的联系人)。
322
325
* 在职成员的每位客户最多被分配2次。客户被转接成功后,将有90个自然日的服务关系保护期,保护期内的客户无法再次被分配。
323
- *
326
+ * <p>
324
327
* 权限说明:
325
- *
328
+ * <p>
326
329
* 企业需要使用“客户联系”secret或配置到“可调用应用”列表中的自建应用secret所获取的accesstoken来调用(accesstoken如何获取?)。
327
330
* 第三方应用需拥有“企业客户权限->客户联系->离职分配”权限
328
331
* 接替成员必须在此第三方应用或自建应用的可见范围内。
329
332
* 接替成员需要配置了客户联系功能。
330
333
* 接替成员需要在企业微信激活且已经过实名认证。
331
- * </per>
334
+ * </per>
335
+ *
332
336
* @param req 转接在职成员的客户给其他成员请求实体
333
337
* @return wx cp base resp
334
338
* @throws WxErrorException the wx error exception
@@ -339,18 +343,19 @@ WxCpExternalContactBatchInfo getContactDetailBatch(String userId, String cursor,
339
343
* 企业和第三方可通过此接口查询离职成员的客户分配情况。
340
344
* <per>
341
345
* 权限说明:
342
- *
346
+ * <p>
343
347
* 企业需要使用“客户联系”secret或配置到“可调用应用”列表中的自建应用secret所获取的accesstoken来调用(accesstoken如何获取?)。
344
348
* 第三方应用需拥有“企业客户权限->客户联系->在职继承”权限
345
349
* 接替成员必须在此第三方应用或自建应用的可见范围内。
346
350
* </per>
351
+ *
347
352
* @param handOverUserid 原添加成员的userid
348
353
* @param takeOverUserid 接替成员的userid
349
- * @param cursor 分页查询的cursor,每个分页返回的数据不会超过1000条;不填或为空表示获取第一个分页;
354
+ * @param cursor 分页查询的cursor,每个分页返回的数据不会超过1000条;不填或为空表示获取第一个分页;
350
355
* @return 客户转接接口实体
351
356
* @throws WxErrorException the wx error exception
352
357
*/
353
- WxCpUserTransferResultResp resignedTransferResult (@ NotNull String handOverUserid , @ NotNull String takeOverUserid , String cursor ) throws WxErrorException ;
358
+ WxCpUserTransferResultResp resignedTransferResult (@ NotNull String handOverUserid , @ NotNull String takeOverUserid , String cursor ) throws WxErrorException ;
354
359
355
360
/**
356
361
* <pre>
@@ -360,14 +365,14 @@ WxCpExternalContactBatchInfo getContactDetailBatch(String userId, String cursor,
360
365
* 微信文档:https://work.weixin.qq.com/api/doc/90000/90135/92119
361
366
* </pre>
362
367
*
363
- * @deprecated 请使用 {@link WxCpExternalContactService#listGroupChat(Integer, String, int, String[])}
364
368
* @param pageIndex the page index
365
369
* @param pageSize the page size
366
370
* @param status the status
367
371
* @param userIds the user ids
368
372
* @param partyIds the party ids
369
373
* @return the wx cp user external group chat list
370
374
* @throws WxErrorException the wx error exception
375
+ * @deprecated 请使用 {@link WxCpExternalContactService#listGroupChat(Integer, String, int, String[])}
371
376
*/
372
377
@ Deprecated
373
378
WxCpUserExternalGroupChatList listGroupChat (Integer pageIndex , Integer pageSize , int status , String [] userIds , String [] partyIds ) throws WxErrorException ;
@@ -380,10 +385,10 @@ WxCpExternalContactBatchInfo getContactDetailBatch(String userId, String cursor,
380
385
* 微信文档:https://work.weixin.qq.com/api/doc/90000/90135/92119
381
386
* </pre>
382
387
*
383
- * @param limit 分页,预期请求的数据量,取值范围 1 ~ 1000
384
- * @param cursor 用于分页查询的游标,字符串类型,由上一次调用返回,首次调用不填
385
- * @param status 客户群跟进状态过滤。0 - 所有列表(即不过滤) 1 - 离职待继承 2 - 离职继承中 3 - 离职继承完成 默认为0
386
- * @param userIds 群主过滤。如果不填,表示获取应用可见范围内全部群主的数据(但是不建议这么用,如果可见范围人数超过1000人,为了防止数据包过大,会报错 81017);用户ID列表。最多100个
388
+ * @param limit 分页,预期请求的数据量,取值范围 1 ~ 1000
389
+ * @param cursor 用于分页查询的游标,字符串类型,由上一次调用返回,首次调用不填
390
+ * @param status 客户群跟进状态过滤。0 - 所有列表(即不过滤) 1 - 离职待继承 2 - 离职继承中 3 - 离职继承完成 默认为0
391
+ * @param userIds 群主过滤。如果不填,表示获取应用可见范围内全部群主的数据(但是不建议这么用,如果可见范围人数超过1000人,为了防止数据包过大,会报错 81017);用户ID列表。最多100个
387
392
* @return the wx cp user external group chat list
388
393
* @throws WxErrorException the wx error exception
389
394
*/
@@ -404,30 +409,30 @@ WxCpExternalContactBatchInfo getContactDetailBatch(String userId, String cursor,
404
409
WxCpUserExternalGroupChatInfo getGroupChat (String chatId , Integer needName ) throws WxErrorException ;
405
410
406
411
/**
407
- *
408
412
* 企业可通过此接口,将已离职成员为群主的群,分配给另一个客服成员。
409
413
*
410
414
* <per>
411
415
* 注意::
412
- *
416
+ * <p>
413
417
* 群主离职了的客户群,才可继承
414
418
* 继承给的新群主,必须是配置了客户联系功能的成员
415
419
* 继承给的新群主,必须有设置实名
416
420
* 继承给的新群主,必须有激活企业微信
417
421
* 同一个人的群,限制每天最多分配300个给新群主
418
- *
422
+ * <p>
419
423
* 权限说明:
420
- *
424
+ * <p>
421
425
* 企业需要使用“客户联系”secret或配置到“可调用应用”列表中的自建应用secret所获取的accesstoken来调用(accesstoken如何获取?)。
422
426
* 第三方应用需拥有“企业客户权限->客户联系->分配离职成员的客户群”权限
423
427
* 对于第三方/自建应用,群主必须在应用的可见范围。
424
428
* </per>
425
- * @param chatIds 需要转群主的客户群ID列表。取值范围: 1 ~ 100
426
- * @param newOwner 新群主ID
429
+ *
430
+ * @param chatIds 需要转群主的客户群ID列表。取值范围: 1 ~ 100
431
+ * @param newOwner 新群主ID
427
432
* @return 分配结果,主要是分配失败的群列表
428
- * @throws WxErrorException the wx error exception
433
+ * @throws WxErrorException the wx error exception
429
434
*/
430
- WxCpUserExternalGroupChatTransferResp transferGroupChat (String [] chatIds , String newOwner ) throws WxErrorException ;
435
+ WxCpUserExternalGroupChatTransferResp transferGroupChat (String [] chatIds , String newOwner ) throws WxErrorException ;
431
436
432
437
/**
433
438
* <pre>
@@ -520,7 +525,7 @@ WxCpExternalContactBatchInfo getContactDetailBatch(String userId, String cursor,
520
525
* 同时传递tag_id和group_id时,忽略tag_id,仅以group_id作为过滤条件。
521
526
* </pre>
522
527
*
523
- * @param tagId the tag id
528
+ * @param tagId the tag id
524
529
* @param groupId the tagGroup id
525
530
* @return corp tag list
526
531
* @throws WxErrorException the wx error exception
0 commit comments