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": "ca82ef2d-a8c6-4d4e-90bb-0ef3b9c6327f",
"QuotaGroup": {
"Demographics": [
{
"DemographicGuid": "7d070036-6ad7-4e74-9ee7-81416bea2d8b",
"Answers": [
{
"AnswerGuid": "25dce3b2-6583-470a-97e7-0d9039780aca"
},
{
"AnswerGuid": "25dce3b2-6583-470a-97e7-0d9039780aca"
}
]
},
{
"DemographicGuid": "7d070036-6ad7-4e74-9ee7-81416bea2d8b",
"Answers": [
{
"AnswerGuid": "25dce3b2-6583-470a-97e7-0d9039780aca"
},
{
"AnswerGuid": "25dce3b2-6583-470a-97e7-0d9039780aca"
}
]
}
],
"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": "20335960-5919-406a-99e4-4d80101e8982",
"QuotaGroupGuid": "610b421a-3edb-4dfd-bbf0-a4761023189b"
}
}