Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Send a POST request to the endpoint /buyers/v2/surveys/{surveyId}/channels

Code Block
languagejson
{
   "survey_title": "example",
   "type": "REP"
}

Launching a “Specific Audience“

Send a POST request to this endpoint: /buyers/v2/surveys/{surveyId}/channels

Code Block
languagejson
{
   "survey_title": '"example'",
   "type": '"SPA'",
   "qualifications":[
     [ {
         "condition_codes": [[
            "111",
            "112"
         ],
         "qualification_code": 211211
      }
   ],
   "quotas": [
{[
      {
         "buyer_quota_id": "qb1",
         "required_count": 40,
         "criteria": [
{[
            {
               "qualification_code": 211,
               "condition_codes": [[
                  "111"
               ]
            }
         ]
      },
      {
         "buyer_quota_id": "qb2",
         "required_count": 60,
         "criteria": [
{[
            {
               "qualification_code": 211,
               "condition_codes": [[
                  "112"
               ]
            }
         ]
      }
   ]
}

Launching a “Targeted List”

Send a POST request to the endpoint /buyers/v2/surveys/{surveyId}/channels

Code Block
{
   "survey_title": '"example'",
   "type": '"TL'",
   "psids":[
    [  '"adb79238-3eee-9c21-f58c-d8c801483001'",
    '  "adb79238-3eee-9c21-f58c-d8c801483002'",
      '"adb79238-3eee-9c21-f58c-d8c801483003'"
   ] 
}

Result

...

Status code 201 created

...