/
Get survey quota performance
Get survey quota performance
At a quota level, we currently support only completes count information.
Request
GET $apihost/$basepath/surveys/5000/quotas/performance
($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)
This endpoint returns all the quota stats from the survey. There is no limit on maximum number of quotas shown in the response API.
Response
Response Code
200
Response Body
[
{"ps_quota_id": "3i38", "buyer_quota_id": "qb12", "completes_goal": 250, "completes_fielded": 100},
{"ps_quota_id": "3i39", "buyer_quota_id": "qb13", "completes_goal": 250, "completes_fielded": 211},
{"ps_quota_id": "3i40", "buyer_quota_id": "qb14", "completes_goal": 300, "completes_fielded": 11},
{"ps_quota_id": "3i41", "buyer_quota_id": "qb15", "completes_goal": 200, "completes_fielded": 67}
]
If a buyer tries to access a survey they do not own, then it throws a 403 error code.