Creates a demographic quota group on a single project.
Endpoint URL
http://api.clearvoicesurveys.com/api/v1/quotagroups/createquotagroup
Parameters
| ProjectGuid globally unique identifier |
| QuotaGroup QuotaGroup |
Example Request Data
{
"ProjectGuid": "c9402409-88cb-47be-9faf-6154be4acf20",
"QuotaGroup": {
"Demographics": [
{
"DemographicGuid": "fef73165-6851-4156-b157-13d0b8840562",
"Answers": [
{
"AnswerGuid": "d9c86e02-13c3-4ad2-bdf3-3776e0323f44"
},
{
"AnswerGuid": "d9c86e02-13c3-4ad2-bdf3-3776e0323f44"
}
]
},
{
"DemographicGuid": "fef73165-6851-4156-b157-13d0b8840562",
"Answers": [
{
"AnswerGuid": "d9c86e02-13c3-4ad2-bdf3-3776e0323f44"
},
{
"AnswerGuid": "d9c86e02-13c3-4ad2-bdf3-3776e0323f44"
}
]
}
],
"AllowDynamicSurveys": true,
"AllowExternalSuppliers": true,
"SurveyInvitations": [
{
"Culture": "sample string 1",
"EmailInvitation": {
"Subject": "sample string 1",
"Body": "sample string 2"
},
"EmailReInvitation": {
"Subject": "sample string 1",
"Body": "sample string 2"
}
},
{
"Culture": "sample string 1",
"EmailInvitation": {
"Subject": "sample string 1",
"Body": "sample string 2"
},
"EmailReInvitation": {
"Subject": "sample string 1",
"Body": "sample string 2"
}
}
],
"QuotaGroupName": "sample string 1",
"RequestedCompletes": 2,
"BidResponseRate": 3.0,
"IncidenceRate": 4.0,
"QuotaGroupTriggers": {
"StartCap": 1,
"CompleteCap": 1,
"OverQuotaCap": 1,
"TerminateCap": 1
}
}
}
Response Description
| CreatedQuotaGroup CreateQuotaGroupResponseModel |
Example Response
{
"CreatedQuotaGroup": {
"ProjectGuid": "5d07f295-34a0-4f40-bf0b-af6b6d5296e0",
"QuotaGroupGuid": "b4d80a66-67ac-42ec-87d5-7d5168ac78a4"
}
}