Add an ethnicity quota to a survey

Add an ethnicity quota to the survey created in this example Survey with no qualifications or quotas. The quota is set to 500 hispanics

bapit-16

Request


POST $apihost/$basepath/surveys/7654/quotas

($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: 

    {
      "buyer_quota_id": "qb30",
      "required_count": 200,
      "criteria": [{"qualification_code": 214,"condition_codes": ["112"]}]
    }


Response



Response Code

201

Response Body

no response body