How to fetch more than 50k contacts

VSarala

2021.10.08既読 1020

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.

コメント1

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

    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
    https://apis.worksmobile.com/r/{{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
    https://apis.worksmobile.com/r/{{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 万件まで照会できます。
    1回のRequestで照会できる件数は500件で、100ページまで表示することができます。
    5 万件を超える場合、例えば50001件目を取得するには照会条件を指定します。
    例えば、1年ごとのデータを取得する方法があります。

    2021.10.12

    0
前の投稿 Unable to add contacts though our address book shows 0 contacts
次の投稿How to fetch client contacts which are over 50000
リスト

まだ、解決できませんか?
今すぐ実際に使用しているLINE WORKSユーザーに質問してみましょう。