Skip to content

Latest commit

 

History

History
96 lines (77 loc) · 3.76 KB

AlipayCommerceEcJointaccountbillDetailApi.md

File metadata and controls

96 lines (77 loc) · 3.76 KB

AlipayCommerceEcJointaccountbillDetailApi

All URIs are relative to https://openapi.alipay.com

Method HTTP request Description
batchquery GET /v3/alipay/commerce/ec/jointaccountbill/detail/batchquery 企业账单批量分页查询

batchquery

AlipayCommerceEcJointaccountbillDetailBatchqueryResponseModel batchquery(enterpriseId, bizScene, userId, openId, employeeId, pageNum, pageSize, startDate, endDate)

企业账单批量分页查询

分页查询企业账单

Example

// Import classes:
import com.alipay.v3.ApiClient;
import com.alipay.v3.ApiException;
import com.alipay.v3.Configuration;
import com.alipay.v3.util.*;
import com.alipay.v3.api.models.*;
import com.alipay.v3.api.AlipayCommerceEcJointaccountbillDetailApi;

public class Example {
  public static void main(String[] args) {
    ApiClient defaultClient = Configuration.getDefaultApiClient();
    defaultClient.setBasePath("https://openapi.alipay.com");
    // 设置alipayConfig参数(全局设置一次)
    AlipayConfig config = new AlipayConfig();
    config.setAppId("app_id");
    config.setPrivateKey("private_key");
    config.setAlipayPublicKey("alipay_public_key");
    config.setEncryptKey("encrypt_key");
    defaultClient.setAlipayConfig(config);

    AlipayCommerceEcJointaccountbillDetailApi apiInstance = new AlipayCommerceEcJointaccountbillDetailApi(defaultClient);
    String enterpriseId = "2088123456789000"; // String | 企业ID
    String bizScene = "ISV_DEFAULT"; // String | 业务场景。不传默认为ISV_DEFAULT
    String userId = "2088123456789000"; // String | 员工支付宝UID
    String openId = "074a1CcTG1LelxKe4xQC0zgNdId0nxi95b5lsNpazWYoCo5"; // String | 员工支付宝UID
    String employeeId = "2288029541813166"; // String | 员工id
    String pageNum = "1"; // String | 页码
    String pageSize = "20"; // String | 每页大小
    String startDate = "yyyy-MM-dd HH:mm:ss"; // String | 起始日期
    String endDate = "yyyy-MM-dd HH:mm:ss"; // String | 截止日期
    try {
      AlipayCommerceEcJointaccountbillDetailBatchqueryResponseModel result = apiInstance.batchquery(enterpriseId, bizScene, userId, openId, employeeId, pageNum, pageSize, startDate, endDate);
      System.out.println(result);
    } catch (ApiException e) {
      System.err.println("Exception when calling AlipayCommerceEcJointaccountbillDetailApi#batchquery");
      System.err.println("Status code: " + e.getCode());
      System.err.println("Reason: " + e.getResponseBody());
      System.err.println("Response headers: " + e.getResponseHeaders());
      e.printStackTrace();
    }
  }
}

Parameters

Name Type Description Notes
enterpriseId String 企业ID [optional]
bizScene String 业务场景。不传默认为ISV_DEFAULT [optional]
userId String 员工支付宝UID [optional]
openId String 员工支付宝UID [optional]
employeeId String 员工id [optional]
pageNum String 页码 [optional]
pageSize String 每页大小 [optional]
startDate String 起始日期 [optional]
endDate String 截止日期 [optional]

Return type

AlipayCommerceEcJointaccountbillDetailBatchqueryResponseModel

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 common response -
0 请求失败 -