listCustomers

company(称为客户)表示采用零触摸帐号的唯一组织。此方法会列出与您的转销商帐号相关联的客户。

方法签名

public ListCustomersResponse listCustomers(ListCustomersRequest request)  throws CommonException;

ListCustomersRequest

属性名称 价值 必需 说明
pageSize int 页面大小,不超过 100。如果大于 100null,则使用 100
pageToken string 页面令牌。如果为空,则返回第一页。
vendorParams map 额外字段,供应商指定的键值对。

ListCustomersResponse

属性名称 价值 说明
customers object(Company)列表 与转销商相关联的客户名单。
totalCount int 与请求匹配的设备总数。
nextPageToken strong 下一页令牌。最后一页为空。
vendorParams map 额外字段,供应商指定的键值对。

错误行为

如果发生错误,该库会抛出 CommonException,其中包含以下错误代码之一:

错误代码
INTERNAL_SERVER_ERROR
INVALID_PAGE_TOKEN