2017-03-06 8 views

答えて

0

今はかなり古くなっていますが、私は答えようとします。おそらく誰かを助けるでしょう。

内部のGetResponse Webインターフェイスと同様に、いくつかの基準に従って連絡先を検索する必要があります。 APIドキュメントのこれらのページでは、これがどのように行われるかについて説明しています。 http://apidocs.getresponse.com/v3/resources/search-contacts

検索連絡先はAPIの最も複雑な部分です。あなたはhttps://api.getresponse.com/v3/search-contacts/に以下のようなものをPOSTする必要があります特定のメッセージを開いた連絡先の検索を保存するには、次のような要求のためのペイロードが形成されるべきである方法に関する

{ 
    "name": "test_conditions", //can be any you like 
    "subscribersType": [ 
     "subscribed" //can also be "undelivered", "removed" and "unconfirmed" 
    ], 
    "sectionLogicOperator": "or", //or "and" 
    "section": [ //section can have up to 8 conditions; one saved search can have up to 4 sections 
     { 
      "campaignIdsList": [ 
       "V" //you'll need to get campaigns' IDs with http://apidocs.getresponse.com/v3/resources/campaigns#campaigns.get.all 
      ], 
      "logicOperator": "or", 
      "subscriberCycle": [ 
       "receiving_autoresponder", 
       "not_receiving_autoresponder" 
      ], 
      "subscriptionDate": "all_time", //"today", "yesterday", "this_month", "last_month", "this_week", "last_week" are also possible 
      "conditions": [ 
       { 
        "conditionType": "opened", 
        "operatorType": "message_operator", 
        "operator": "autoresponder", //or "newsletter", or "split" 
        "value": "WTjXF" //message id, should be firstly got with a separate API call 
       } 

      ] 
     } 
    ] 
} 

詳細情報はこちら:http://apidocs.getresponse.com/v3/resources/search-contacts-reference

最後のポイント:検索を保存する必要はなく、メッセージを開いたメールのみを取得する場合は、「名前」のプロパティを削除してhttp://apidocs.getresponse.com/v3/search-contacts/contacts に投稿してください:http://apidocs.getresponse.com/v3/resources/search-contacts#search-contacts.contacts.form

関連する問題