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": "89105a64-9d4c-4ea5-9629-71d2b08889e6",
"QuotaGroup": {
"Demographics": [
{
"DemographicGuid": "10b88dd6-6510-4f5f-8abd-0dcc30030bac",
"Answers": [
{
"AnswerGuid": "7b3b4790-5877-4938-b68e-a5f3c8c784d9"
},
{
"AnswerGuid": "7b3b4790-5877-4938-b68e-a5f3c8c784d9"
}
]
},
{
"DemographicGuid": "10b88dd6-6510-4f5f-8abd-0dcc30030bac",
"Answers": [
{
"AnswerGuid": "7b3b4790-5877-4938-b68e-a5f3c8c784d9"
},
{
"AnswerGuid": "7b3b4790-5877-4938-b68e-a5f3c8c784d9"
}
]
}
],
"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": "4f42132b-725e-438c-bf8c-9d0f9c152672",
"QuotaGroupGuid": "9b1c9278-d1cb-4d94-b6a0-0724ad356249"
}
}