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