Getting error "Target does not exist" for get private contact api

SunariaLokesh

2019.09.15既読 2682

Hello Team,
When I am calling "Get Private Contacts during Migration" API, getting "Target does not exist". Could you please help me to understand error. 
API URL
https://apis.worksmobile.com/migration/{API ID}/contact/listPrivateContact/v1
Error:

081400Target not existsTarget does not exist

Thank you for your time and help.

コメント3

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

    LINE WORKS 公式アカウント

    This is a Target not exists error, so check if the targetMemberEmail value is correct.

    2019.09.17

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

    SunariaLokesh 投稿者

    Thank you for your reply.

    Could you help me with Send Messages (Text) API "https://apis.worksmobile.com/r/{API ID}/message/v1/bot/{botNo}/message/push" where one of the parameters is "accountId". How can I get this information from any contact list API? I don't see in contact list API response.

    Appreciate your time.

    2019.09.17

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

    LINE WORKS 公式アカウント

    AccountId is not included in Private Contact and Shared Contact.
    Use the Get Members API to get the accountId.
    https://developers.worksmobile.com/jp/document/100300529?lang=en

    2019.09.20

    0
前の投稿UUID取得
次の投稿LINE/LINEWORKS連携のAPIについて
リスト

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