public interface ExternalContactUserApi
| Modifier and Type | Method and Description |
|---|---|
io.reactivex.rxjava3.core.Single<ExternalUserListDetailResponse> |
batchByUserIds(ExternalUserListDetailRequest request)
批量获取客户详情
|
io.reactivex.rxjava3.core.Single<GenericResponse<String>> |
convertToOpenid(ExternalUserId externalUserId)
家校沟通-外部联系人openid转换
|
io.reactivex.rxjava3.core.Single<GenericResponse<Integer>> |
createCustomerStrategy(CustomerStrategyRequest request)
创建新的规则组
|
io.reactivex.rxjava3.core.Single<StrategyListResponse> |
customerStrategyList(PageRequest request)
获取规则组列表
|
io.reactivex.rxjava3.core.Single<WeComResponse> |
delCustomerStrategy(StrategyId strategyId)
删除规则组
|
io.reactivex.rxjava3.core.Single<WeComResponse> |
editCustomerStrategy(MutableCustomerStrategy request)
编辑规则组及其管理范围
|
io.reactivex.rxjava3.core.Single<ExternalUserDetailResponse> |
getByExUserId(String externalUserid,
String cursor)
获取客户详情
|
io.reactivex.rxjava3.core.Single<CustomerStrategyDetailResponse> |
getCustomerStrategy(StrategyId strategyId)
获取规则组详情
|
io.reactivex.rxjava3.core.Single<StrategyRangeResponse> |
getCustomerStrategyRange(StrategyRangeRequest request)
获取规则组管理范围
|
io.reactivex.rxjava3.core.Single<GenericResponse<List<String>>> |
listByUserId(String userId)
获取客户列表
|
io.reactivex.rxjava3.core.Single<WeComResponse> |
remark(CustomerRemarkRequest request)
修改客户备注信息
|
@GET(value="externalcontact/list") io.reactivex.rxjava3.core.Single<GenericResponse<List<String>>> listByUserId(@Query(value="userid") String userId)
userId - the user id@GET(value="externalcontact/get") io.reactivex.rxjava3.core.Single<ExternalUserDetailResponse> getByExUserId(@Query(value="external_userid") String externalUserid, @Query(value="cursor") String cursor)
externalUserid - the external useridcursor - the cursor@POST(value="externalcontact/batch/get_by_user") io.reactivex.rxjava3.core.Single<ExternalUserListDetailResponse> batchByUserIds(@Body ExternalUserListDetailRequest request)
request - the request@POST(value="externalcontact/remark") io.reactivex.rxjava3.core.Single<WeComResponse> remark(@Body CustomerRemarkRequest request)
request - the request@POST(value="externalcontact/customer_strategy/list") io.reactivex.rxjava3.core.Single<StrategyListResponse> customerStrategyList(@Body PageRequest request)
request - the request@POST(value="externalcontact/customer_strategy/get") io.reactivex.rxjava3.core.Single<CustomerStrategyDetailResponse> getCustomerStrategy(@Body StrategyId strategyId)
strategyId - the strategy id@POST(value="externalcontact/customer_strategy/get_range") io.reactivex.rxjava3.core.Single<StrategyRangeResponse> getCustomerStrategyRange(@Body StrategyRangeRequest request)
request - the request@POST(value="externalcontact/customer_strategy/create") io.reactivex.rxjava3.core.Single<GenericResponse<Integer>> createCustomerStrategy(@Body CustomerStrategyRequest request)
request - the request@POST(value="externalcontact/customer_strategy/edit") io.reactivex.rxjava3.core.Single<WeComResponse> editCustomerStrategy(@Body MutableCustomerStrategy request)
request - the request@POST(value="externalcontact/customer_strategy/del") io.reactivex.rxjava3.core.Single<WeComResponse> delCustomerStrategy(@Body StrategyId strategyId)
strategyId - the strategy id@POST(value="externalcontact/convert_to_openid") io.reactivex.rxjava3.core.Single<GenericResponse<String>> convertToOpenid(@Body ExternalUserId externalUserId)
企业和服务商可通过此接口,将微信外部联系人的userid(如何获取?)转为微信openid,用于调用支付相关接口。 暂不支持企业微信外部联系人(ExternalUserid为wo开头)的userid转openid。
externalUserId - the external user idCopyright © 2023. All rights reserved.