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": "027f190f-4f7a-413c-9874-a478c2bdaa75",
"QuotaGroup": {
"Demographics": [
{
"DemographicGuid": "bc854230-affe-4a90-8ddf-0a8a60faea0c",
"Answers": [
{
"AnswerGuid": "b3b2a7f2-83c8-4e4f-9167-fcd86f6488fc"
},
{
"AnswerGuid": "b3b2a7f2-83c8-4e4f-9167-fcd86f6488fc"
}
]
},
{
"DemographicGuid": "bc854230-affe-4a90-8ddf-0a8a60faea0c",
"Answers": [
{
"AnswerGuid": "b3b2a7f2-83c8-4e4f-9167-fcd86f6488fc"
},
{
"AnswerGuid": "b3b2a7f2-83c8-4e4f-9167-fcd86f6488fc"
}
]
}
],
"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": "3205683d-3822-4989-b885-49f1e980e9f5",
"QuotaGroupGuid": "19a2d00d-4f37-470c-b2e3-d015753aa4c2"
}
}