# Alipay\OpenAPISDK\KoubeiMarketingCampaignIntelligentPromoApi All URIs are relative to https://openapi.alipay.com. Method | HTTP request | Description ------------- | ------------- | ------------- [**batchquery()**](KoubeiMarketingCampaignIntelligentPromoApi.md#batchquery) | **POST** /v3/koubei/marketing/campaign/intelligent/promo/batchquery | 智能营销活动批量查询 ## `batchquery()` ```php batchquery($koubeiMarketingCampaignIntelligentPromoBatchqueryModel): \Alipay\OpenAPISDK\Model\KoubeiMarketingCampaignIntelligentPromoBatchqueryResponseModel ``` 智能营销活动批量查询 智能营销活动批量查询 ### Example ```php setAppId('app_id'); $alipayConfig->setPrivateKey('private_key'); // 密钥模式 $alipayConfig->setAlipayPublicKey('alipay_public_key'); // 证书模式 // $alipayConfig->setAppCertPath('../appCertPublicKey.crt'); // $alipayConfig->setAlipayPublicCertPath('../alipayCertPublicKey_RSA2.crt'); // $alipayConfig->setRootCertPath('../alipayRootCert.crt'); $alipayConfig->setEncryptKey('encrypt_key'); $alipayConfigUtil = new \Alipay\OpenAPISDK\Util\AlipayConfigUtil($alipayConfig); $apiInstance->setAlipayConfigUtil($alipayConfigUtil); $koubeiMarketingCampaignIntelligentPromoBatchqueryModel = new \Alipay\OpenAPISDK\Model\KoubeiMarketingCampaignIntelligentPromoBatchqueryModel(); // \Alipay\OpenAPISDK\Model\KoubeiMarketingCampaignIntelligentPromoBatchqueryModel try { $result = $apiInstance->batchquery($koubeiMarketingCampaignIntelligentPromoBatchqueryModel); print_r($result); } catch (Exception $e) { echo 'Exception when calling KoubeiMarketingCampaignIntelligentPromoApi->batchquery: ', $e->getMessage(), PHP_EOL; } ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **koubeiMarketingCampaignIntelligentPromoBatchqueryModel** | **\Alipay\OpenAPISDK\Model\KoubeiMarketingCampaignIntelligentPromoBatchqueryModel**| | [optional] ### Return type **\Alipay\OpenAPISDK\Model\KoubeiMarketingCampaignIntelligentPromoBatchqueryResponseModel** ### Authorization No authorization required ### HTTP request headers - **Content-Type**: `application/json` - **Accept**: `application/json` [[Back to top]](#) [[Back to API list]](../../README.md#api-endpoints) [[Back to README]](../../README.md)