How to fetch client contacts which are over 50000 - アドレス帳 - LINE WORKS Developers : コミュニティ

How to fetch client contacts which are over 50000


2021.10.06既読 607

Hi Team,
We want to fetch more than 50,000 contacts using the API below, can you give us an example of the API call that should be made to fetch contacts above 50,000.


  • 업데이트 된 답글입니다.

    LINE WORKS 公式アカウント

    The Customer / Account Contact List Query API can query up to 50,000 items.
    The number of items that can be inquired in one Request is 500, and up to 100 pages can be displayed.
    If the number exceeds 50,000, specify the inquiry condition to get the 50001st case, for example.
    For example, there is a way to get annual data.

    request 1{{API_ID}}/contact/v3/domains/{{DOMAIN_ID}}/shared/contacts?page=1&maxResults=500&startDateTime=2020-01-01T00%3A00%3A00%2B09%3A00&endDateTime=2021-01-01T00%3A00%3A00%2B09%3A00

    request 2{{API_ID}}/contact/v3/domains/{{DOMAIN_ID}}/shared/contacts?page=1&maxResults=500&startDateTime=2021-01-01T00%3A00%3A00%2B09%3A00&endDateTime=2022-01-01T00%3A00%3A00%2B09%3A00

    顧客/取引先の連絡先リストの照会 API は最大 5 万件まで照会できます。
    5 万件を超える場合、例えば50001件目を取得するには照会条件を指定します。


前の投稿 画像投稿APIで投稿した画像ファイルの表示期限に関して
次の投稿How to add multiple contacts through the API