Add geographical region qualification to a survey

Add geographical region qualification to a survey

Our updated BUY API documentation is available here.
We hope you enjoy the new experience! Reach out to us with your feedback or questions on supportbuyapi@purespectrum.com
Happy programming! 🎉

 

Add geographical region qualification to the survey created in this example Survey with no qualifications or quotas. Region code is 223. Northeast, Midwest, South and West are 1, 2, 3 and 4 respectively

bapit-10

Request


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

($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": 223, "condition_codes": ["1", "2", "3", "4"] }

 

Response

 


Response Code

201

Response Body

{}