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": "e3f1e21d-aa53-483c-abe1-82885b6696ce",
"QuotaGroup": {
"Demographics": [
{
"DemographicGuid": "c8461891-f72c-45b3-ba6d-32ee4ce0da00",
"Answers": [
{
"AnswerGuid": "31efeb92-17b4-44d7-9095-7d20a9a0fd49"
},
{
"AnswerGuid": "31efeb92-17b4-44d7-9095-7d20a9a0fd49"
}
]
},
{
"DemographicGuid": "c8461891-f72c-45b3-ba6d-32ee4ce0da00",
"Answers": [
{
"AnswerGuid": "31efeb92-17b4-44d7-9095-7d20a9a0fd49"
},
{
"AnswerGuid": "31efeb92-17b4-44d7-9095-7d20a9a0fd49"
}
]
}
],
"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": "01f03d44-f4a9-40d0-8a02-220fea9f8d35",
"QuotaGroupGuid": "ac9f4849-d065-49a9-950a-d9f89bd7bda0"
}
}