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": "6eb4b39e-29e8-4ad8-b262-3e8c3bd5e053",
"QuotaGroup": {
"Demographics": [
{
"DemographicGuid": "45141d9e-f683-4770-8249-97596000e8ae",
"Answers": [
{
"AnswerGuid": "4819a3c6-69bb-45eb-a373-c71abc139649"
},
{
"AnswerGuid": "4819a3c6-69bb-45eb-a373-c71abc139649"
}
]
},
{
"DemographicGuid": "45141d9e-f683-4770-8249-97596000e8ae",
"Answers": [
{
"AnswerGuid": "4819a3c6-69bb-45eb-a373-c71abc139649"
},
{
"AnswerGuid": "4819a3c6-69bb-45eb-a373-c71abc139649"
}
]
}
],
"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": "e28c67b5-c7d0-4857-9f5f-fa70e16f25d8",
"QuotaGroupGuid": "1d9cfad2-892d-4b85-b3eb-0d82347ee02b"
}
}