Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 8 Current »

Edit income qualification to the survey created in this example Create a survey with no qualifications or quotas. The survey is set to look for respondents with income in either 25K-50K range or 75K-100K range. 


bapit-14

Request


PUT $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) 

Body: 

    {
      "qualification_code": 213,
      "range_sets": [
        {
          "from": 25000,
          "to": 50000,
          "units": 113
        },
        {
          "from": 75000,
          "to": 100000,
          "units": 113
        }
      ]
    }


Response



Response Code

201

Response Body

{
  "ps_api_response_code": 1000,
  "ps_api_response_message": "Purespectrum Custom API Response Message"
}
  • No labels