Versions Compared

Key

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

Add income qualification to the survey created in this example Create a survey with no qualifications or quotas

bapit-11

Request

...

POST $apihost/$basepath/surveys/7654/qualifications/213

($apihost is the environment against which you are testing, and $basepath is the base path with the api version. All Buy API calls will require access-token parameter in the header) 

...

Code Block
languagejs
linenumberstrue
    {
      "qualification_code": 213,
      "range_sets": [
        {
          "from": 50000,
          "from_units": 321,// 321 is USD
          "to": 100000,
          "to_units": 321
        }
      ]
    }

...