alibaba.mos.brand.coproduct.group.user.count (按照查询条件统计总数)

按照查询条件统计总数

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
brand_co_product_group_user_query_param BrandCoProductGroupUserQueryParam 必须 查询条件
  • └ pre_max_id
  • Number
  • 可选
  • 3
  • 上一页最大id
  • └ page_no
  • Number
  • 可选
  • 1
  • 当前页数
  • └ page_size
  • Number
  • 可选
  • 100
  • 分页条数
  • └ business_time
  • Date
  • 必须
  • 2023-06-01 00:00:00
  • 业务时间

响应参数

名称 类型 示例值 描述
trace_id String xxx 调用链id
async_result String null 异步结果
data Number 100 统计数量
issuccess Boolean true 调用是否成功
errcode String 500 错误code
is_async Boolean false 是否同步
attributes Json null 扩展字段
err_message String xxx 错误信息

请求示例

  • JAVA
  • .NET
  • PHP
  • CURL
  • Python
  • C/C++
  • NodeJS
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
AlibabaMosBrandCoproductGroupUserCountRequest req = new AlibabaMosBrandCoproductGroupUserCountRequest();
AlibabaMosBrandCoproductGroupUserCountRequest.BrandCoProductGroupUserQueryParam obj1 = new AlibabaMosBrandCoproductGroupUserCountRequest.BrandCoProductGroupUserQueryParam();
obj1.setPreMaxId(3L);
obj1.setPageNo(1L);
obj1.setPageSize(100L);
obj1.setBusinessTime(StringUtils.parseDateTime("2023-06-01 00:00:00"));
req.setBrandCoProductGroupUserQueryParam(obj1);
AlibabaMosBrandCoproductGroupUserCountResponse rsp = client.execute(req);
System.out.println(rsp.getBody());

响应示例

  • XML示例
  • JSON示例
<alibaba_mos_brand_coproduct_group_user_count_response>
    <trace_id>xxx</trace_id>
    <async_result>null</async_result>
    <data>100</data>
    <issuccess>true</issuccess>
    <errcode>500</errcode>
    <is_async>false</is_async>
    <attributes>null</attributes>
    <err_message>xxx</err_message>
</alibaba_mos_brand_coproduct_group_user_count_response>

异常示例

  • XML示例
  • JSON示例
<error_response>
    <code>50</code>
    <msg>Remote service error</msg>
    <sub_code>isv.invalid-parameter</sub_code>
    <sub_msg>非法参数</sub_msg>
</error_response>

错误码解释

错误码 错误描述 解决方案

API工具

如何获得此API

FAQ

返回
顶部