Edit ethnicity quota of a survey

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

Request


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) 

Body: 

    {
      "required_count": 400,
      "criteria": [{"qualification_code": 214,"condition_codes": ["112"]}]
    }


Response



Response Code

200

Response Body