Updates the demographic quota group specified by the QuotaGroupGuid parameter.
Endpoint URL
http://api.clearvoicesurveys.com/api/v1/quotagroups/updatequotagroup
Parameters
| ProjectGuid globally unique identifier |
| QuotaGroupGuid globally unique identifier |
| QuotaGroupName string |
| IsOpen boolean |
| RequestedCompletes integer |
| BidResponseRate decimal number |
| IncidenceRate decimal number |
| AllowDynamicSurveys boolean |
| AllowExternalSuppliers boolean |
| Demographics Collection of DemographicCriteria |
| QuotaGroupTriggers Triggers |
| SurveyInvitations Collection of QuotaGroupSurveyInvitation |
Example Request Data
{
"ProjectGuid": "28fe3aab-59ad-41f2-ac70-a31ee5268eff",
"QuotaGroupGuid": "e9f83ae8-ddc5-49df-b446-93dcaf8d1360",
"QuotaGroupName": "sample string 3",
"IsOpen": true,
"RequestedCompletes": 1,
"BidResponseRate": 1.0,
"IncidenceRate": 1.0,
"AllowDynamicSurveys": true,
"AllowExternalSuppliers": true,
"Demographics": [
{
"DemographicGuid": "44f05e79-1c76-4498-b586-a7073e74601a",
"Answers": [
{
"AnswerGuid": "9eb178a2-d7f2-4e97-b8d6-d80925d3763a"
},
{
"AnswerGuid": "9eb178a2-d7f2-4e97-b8d6-d80925d3763a"
}
]
},
{
"DemographicGuid": "44f05e79-1c76-4498-b586-a7073e74601a",
"Answers": [
{
"AnswerGuid": "9eb178a2-d7f2-4e97-b8d6-d80925d3763a"
},
{
"AnswerGuid": "9eb178a2-d7f2-4e97-b8d6-d80925d3763a"
}
]
}
],
"QuotaGroupTriggers": {
"StartCap": 1,
"CompleteCap": 1,
"OverQuotaCap": 1,
"TerminateCap": 1
},
"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"
}
}
]
}
Response Description
| QuotaGroupGuid globally unique identifier |
Example Response
{
"QuotaGroupGuid": "a1b8e3b7-3713-48de-a028-e22b6e037cab"
}