Get Survey Quotas
GET/Surveys/GetSurveyQuotas
About Api Returns the quotas associated with a survey.
Request
Query Parameters
SurveyId stringrequired
Header Parameters
ZAMP-KEY stringrequired
Responses
- 200
- 400
- 401
- 404
- 500
This response you will get on success request
- application/json
- Schema
- Example (from schema)
Schema
Array [
Array [
]
]
success boolean
apiVersion integer
message string
result
object
success boolean
TotalCount integer
data
object[]
QuotaId integer
TotalQuotaCount integer
QuotaQualifications
object[]
QuestionId integer
AnswerCode string
AnswerText string
TotalQualificationCount integer
TotalQuotaCount integer
{
"success": true,
"apiVersion": 1,
"message": "Request Success",
"result": {
"success": true,
"TotalCount": 68,
"data": [
{
"QuotaId": 443712,
"TotalQuotaCount": 1000,
"QuotaQualifications": [
{
"QuestionId": 33,
"AnswerCode": "3",
"AnswerText": "25-34",
"TotalQualificationCount": 100,
"TotalQuotaCount": 10
}
]
}
]
}
}
Bad Request. Please ensure you are passing all the required params and header info.
- application/json
- Schema
- Example (from schema)
Schema
message string
{
"message": "Unauthorized"
}
Please ensure that you are using the correct API environments and sending the correct ZAMP-KEY in the request header.
- application/json
- Schema
- Example (from schema)
Schema
message string
{
"message": "ZAMP-KEY key is invalid"
}
Please ensure that you are using the correct environments with the correct API name.
There is some issue facing at Zamplia Server Side. Please contact support.
- application/json
- Schema
- Example (from schema)
Schema
message string
{
"message": "Internal server error"
}
Loading...