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": "c9526d72-e219-4fcd-bdac-6a1291a9a065",
"QuotaGroup": {
"Demographics": [
{
"DemographicGuid": "7df89601-fc97-41e6-95e3-e0d83f960eb9",
"Answers": [
{
"AnswerGuid": "cb3bb025-6e8d-41e9-873e-f1c08c918d90"
},
{
"AnswerGuid": "cb3bb025-6e8d-41e9-873e-f1c08c918d90"
}
]
},
{
"DemographicGuid": "7df89601-fc97-41e6-95e3-e0d83f960eb9",
"Answers": [
{
"AnswerGuid": "cb3bb025-6e8d-41e9-873e-f1c08c918d90"
},
{
"AnswerGuid": "cb3bb025-6e8d-41e9-873e-f1c08c918d90"
}
]
}
],
"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": "fa502ea3-2143-4c72-898d-fb7f76bab309",
"QuotaGroupGuid": "35bdcc92-e563-42a5-bdc7-dcb1ed7559b3"
}
}