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": "6303eaba-9692-473c-93c0-dc3792de2a36",
"QuotaGroup": {
"Demographics": [
{
"DemographicGuid": "e27b0e1e-37ee-40a0-b211-69637bcaf9f5",
"Answers": [
{
"AnswerGuid": "68d3d2a7-b3a6-4232-8647-83819f47baaa"
},
{
"AnswerGuid": "68d3d2a7-b3a6-4232-8647-83819f47baaa"
}
]
},
{
"DemographicGuid": "e27b0e1e-37ee-40a0-b211-69637bcaf9f5",
"Answers": [
{
"AnswerGuid": "68d3d2a7-b3a6-4232-8647-83819f47baaa"
},
{
"AnswerGuid": "68d3d2a7-b3a6-4232-8647-83819f47baaa"
}
]
}
],
"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": "0ce700f7-e6c4-4e23-82d5-4f9e406cff11",
"QuotaGroupGuid": "df39edf5-2eba-441a-bf82-556740683cd3"
}
}