LINE WORKS Developers

コミュニティ

LINE WORKSのテクニカルエキスパート及び開発者と
コードのサンプル、リソース、Tip等を共有し問題解決への相談が可能です。

??dev_메인_타이틀_모바일_ja_JP??

アドレス帳

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

画像

SunariaLokesh

2019.09.15既読 92

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
  • 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