public interface CustomerAcquisitionApi
| Modifier and Type | Method and Description |
|---|---|
io.reactivex.rxjava3.core.Single<GenericResponse<AcquisitionLink>> |
createLink(AcquisitionLinkCreateRequest request)
创建获客链接
|
io.reactivex.rxjava3.core.Single<LinkCustomersResponse> |
customer(LinkPageRequest request)
获取由获客链接添加的客户信息
|
io.reactivex.rxjava3.core.Single<AcquisitionQuotaResponse> |
customerAcquisitionQuota()
查询获客链接剩余使用量
|
io.reactivex.rxjava3.core.Single<WeComResponse> |
deleteLink(LinkId linkId)
删除获客链接
|
io.reactivex.rxjava3.core.Single<LinkDetailResponse> |
get(LinkId linkId)
获取获客链接详情
|
io.reactivex.rxjava3.core.Single<LinksResponse> |
listLink(PageRequest request)
获取获客链接列表
|
io.reactivex.rxjava3.core.Single<LinkStatisticResponse> |
queryCustomerAcquisitionQuotas(String linkId,
Instant startTime,
Instant endTime)
查询链接使用详情
|
io.reactivex.rxjava3.core.Single<WeComResponse> |
updateLink(AcquisitionLinkUpdateRequest request)
编辑获客链接
|
@POST(value="externalcontact/customer_acquisition/list_link") io.reactivex.rxjava3.core.Single<LinksResponse> listLink(@Body PageRequest request)
request - the request@POST(value="externalcontact/customer_acquisition/get") io.reactivex.rxjava3.core.Single<LinkDetailResponse> get(@Body LinkId linkId)
linkId - the link id@POST(value="externalcontact/customer_acquisition/create_link") io.reactivex.rxjava3.core.Single<GenericResponse<AcquisitionLink>> createLink(@Body AcquisitionLinkCreateRequest request)
request - the request@POST(value="externalcontact/customer_acquisition/update_link") io.reactivex.rxjava3.core.Single<WeComResponse> updateLink(@Body AcquisitionLinkUpdateRequest request)
request - the request@POST(value="externalcontact/customer_acquisition/delete_link") io.reactivex.rxjava3.core.Single<WeComResponse> deleteLink(@Body LinkId linkId)
linkId - the link id@POST(value="externalcontact/customer_acquisition/customer") io.reactivex.rxjava3.core.Single<LinkCustomersResponse> customer(@Body LinkPageRequest request)
request - the request@GET(value="externalcontact/customer_acquisition_quota") io.reactivex.rxjava3.core.Single<AcquisitionQuotaResponse> customerAcquisitionQuota()
@GET(value="externalcontact/customer_acquisition/statistic") io.reactivex.rxjava3.core.Single<LinkStatisticResponse> queryCustomerAcquisitionQuotas(@Query(value="link_id") String linkId, @Query(value="start_time") Instant startTime, @Query(value="end_time") Instant endTime) throws WeComException
企业可通过此接口查询指定获客链接在指定时间范围内的访问情况。
linkId - the link idstartTime - the start timeendTime - the end timeWeComException - the we com exceptionCopyright © 2023. All rights reserved.