Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 4 Current »

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: 

    {
      "buyer_quota_id": "qb30",
      "required_count": 400,
      "criteria": [{"qualification_code": 214,"conditions": ["112"]}]
    }


Response



Response Code

200

Response Body

{
  "ps_api_response_code": 1000,
  "ps_api_response_message": "Purespectrum Custom API Response Message"
}
  • No labels