Add device qualification to a survey

Add a device qualification to the survey created in this example Survey with no qualifications or quotas. Allow only desktop entries (code = 111, device qualification code = 219)

bapit-8

Request


1 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: 

1 2 3 4 { "qualification_code": 219, "condition_codes": ["111"] }



Response


Response Code

201

Response Body

1 2 3 4 5 6 { "qualification_code": 219, "condition_codes": [ "111" ] }