public class AlipayMarketingActivityAppApi extends Object
| 构造器和说明 |
|---|
AlipayMarketingActivityAppApi() |
AlipayMarketingActivityAppApi(ApiClient apiClient) |
| 限定符和类型 | 方法和说明 |
|---|---|
AlipayMarketingActivityAppBatchqueryResponseModel |
batchquery(String activityId,
String merchantId,
Integer pageNum,
String pageSize,
String merchantAccessMode)
查询活动可用小程序
通过此接口可查询活动的可用小程序,判断活动是否在该小程序可用,来决定是否展示。
|
AlipayMarketingActivityAppBatchqueryResponseModel |
batchquery(String activityId,
String merchantId,
Integer pageNum,
String pageSize,
String merchantAccessMode,
CustomizedParams customizedParams) |
okhttp3.Call |
batchqueryAsync(String activityId,
String merchantId,
Integer pageNum,
String pageSize,
String merchantAccessMode,
ApiCallback<AlipayMarketingActivityAppBatchqueryResponseModel> _callback)
查询活动可用小程序 (asynchronously)
通过此接口可查询活动的可用小程序,判断活动是否在该小程序可用,来决定是否展示。
|
okhttp3.Call |
batchqueryAsync(String activityId,
String merchantId,
Integer pageNum,
String pageSize,
String merchantAccessMode,
ApiCallback<AlipayMarketingActivityAppBatchqueryResponseModel> _callback,
CustomizedParams customizedParams) |
okhttp3.Call |
batchqueryCall(String activityId,
String merchantId,
Integer pageNum,
String pageSize,
String merchantAccessMode,
ApiCallback _callback,
CustomizedParams customizedParams)
Build call for batchquery
|
ApiResponse<AlipayMarketingActivityAppBatchqueryResponseModel> |
batchqueryWithHttpInfo(String activityId,
String merchantId,
Integer pageNum,
String pageSize,
String merchantAccessMode,
CustomizedParams customizedParams)
查询活动可用小程序
通过此接口可查询活动的可用小程序,判断活动是否在该小程序可用,来决定是否展示。
|
ApiClient |
getApiClient() |
String |
getCustomBaseUrl() |
int |
getHostIndex() |
void |
setApiClient(ApiClient apiClient) |
void |
setCustomBaseUrl(String customBaseUrl) |
void |
setHostIndex(int hostIndex) |
public AlipayMarketingActivityAppApi()
public AlipayMarketingActivityAppApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public int getHostIndex()
public void setHostIndex(int hostIndex)
public String getCustomBaseUrl()
public void setCustomBaseUrl(String customBaseUrl)
public okhttp3.Call batchqueryCall(String activityId, String merchantId, Integer pageNum, String pageSize, String merchantAccessMode, ApiCallback _callback, CustomizedParams customizedParams) throws ApiException
activityId - 活动id (required)merchantId - 商户PID,默认为当前接口调用商户 限制: 接口调用者必须有商户代运营权限。 代运营授权流程https://opendocs.alipay.com/mini/01hm6i#%E4%BB%A3%E8%BF%90%E8%90%A5%E6%8E%88%E6%9D%83 (optional)pageNum - 分页查询页码。 限制: 必须为大于0的整数 (optional)pageSize - 分页查询单页数据条数。 限制: 1.必须为大于0的整数 2.每页最大值为20 (optional)merchantAccessMode - 商户接入模式 (optional)_callback - Callback for upload/download progresscustomizedParams - ApiException - If fail to serialize the request body object| Status Code | Description | Response Headers |
| 200 | common response | - |
| 0 | 请求失败 | - |
public AlipayMarketingActivityAppBatchqueryResponseModel batchquery(String activityId, String merchantId, Integer pageNum, String pageSize, String merchantAccessMode) throws ApiException
activityId - 活动id (required)merchantId - 商户PID,默认为当前接口调用商户 限制: 接口调用者必须有商户代运营权限。 代运营授权流程https://opendocs.alipay.com/mini/01hm6i#%E4%BB%A3%E8%BF%90%E8%90%A5%E6%8E%88%E6%9D%83 (optional)pageNum - 分页查询页码。 限制: 必须为大于0的整数 (optional)pageSize - 分页查询单页数据条数。 限制: 1.必须为大于0的整数 2.每页最大值为20 (optional)merchantAccessMode - 商户接入模式 (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| Status Code | Description | Response Headers |
| 200 | common response | - |
| 0 | 请求失败 | - |
public AlipayMarketingActivityAppBatchqueryResponseModel batchquery(String activityId, String merchantId, Integer pageNum, String pageSize, String merchantAccessMode, CustomizedParams customizedParams) throws ApiException
ApiExceptionpublic ApiResponse<AlipayMarketingActivityAppBatchqueryResponseModel> batchqueryWithHttpInfo(String activityId, String merchantId, Integer pageNum, String pageSize, String merchantAccessMode, CustomizedParams customizedParams) throws ApiException
activityId - 活动id (required)merchantId - 商户PID,默认为当前接口调用商户 限制: 接口调用者必须有商户代运营权限。 代运营授权流程https://opendocs.alipay.com/mini/01hm6i#%E4%BB%A3%E8%BF%90%E8%90%A5%E6%8E%88%E6%9D%83 (optional)pageNum - 分页查询页码。 限制: 必须为大于0的整数 (optional)pageSize - 分页查询单页数据条数。 限制: 1.必须为大于0的整数 2.每页最大值为20 (optional)merchantAccessMode - 商户接入模式 (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| Status Code | Description | Response Headers |
| 200 | common response | - |
| 0 | 请求失败 | - |
public okhttp3.Call batchqueryAsync(String activityId, String merchantId, Integer pageNum, String pageSize, String merchantAccessMode, ApiCallback<AlipayMarketingActivityAppBatchqueryResponseModel> _callback) throws ApiException
activityId - 活动id (required)merchantId - 商户PID,默认为当前接口调用商户 限制: 接口调用者必须有商户代运营权限。 代运营授权流程https://opendocs.alipay.com/mini/01hm6i#%E4%BB%A3%E8%BF%90%E8%90%A5%E6%8E%88%E6%9D%83 (optional)pageNum - 分页查询页码。 限制: 必须为大于0的整数 (optional)pageSize - 分页查询单页数据条数。 限制: 1.必须为大于0的整数 2.每页最大值为20 (optional)merchantAccessMode - 商户接入模式 (optional)_callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body object| Status Code | Description | Response Headers |
| 200 | common response | - |
| 0 | 请求失败 | - |
public okhttp3.Call batchqueryAsync(String activityId, String merchantId, Integer pageNum, String pageSize, String merchantAccessMode, ApiCallback<AlipayMarketingActivityAppBatchqueryResponseModel> _callback, CustomizedParams customizedParams) throws ApiException
ApiExceptionCopyright © 2024. All rights reserved.