Edit ethnicity quota. The quota was set to 500 hispanics in this example Add an ethnicity quota to a survey. Change it to 400
bapit-17
PUT $apihost/$basepath/surveys/7654/quotas/qb30
($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)
{ "buyer_quota_id": "qb30", "required_count": 400, "criteria": [{"qualification_code": 214,"conditions": ["112"]}] } |
Response Code
200
{ "ps_api_response_code": 1000, "ps_api_response_message": "Purespectrum Custom API Response Message" } |