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": "682a0e3d-60d5-4378-b811-70d5d0af327b",
"QuotaGroupGuid": "dd735f38-0fee-4a06-aaaa-6ed4b2fe96b0",
"QuotaGroupName": "sample string 3",
"IsOpen": true,
"RequestedCompletes": 1,
"BidResponseRate": 1.0,
"IncidenceRate": 1.0,
"AllowDynamicSurveys": true,
"AllowExternalSuppliers": true,
"Demographics": [
{
"DemographicGuid": "0cd634e5-179f-4f53-989f-eb0e59bcf93a",
"Answers": [
{
"AnswerGuid": "7eb4492b-08d1-45e5-91db-a15031cc2db0"
},
{
"AnswerGuid": "7eb4492b-08d1-45e5-91db-a15031cc2db0"
}
]
},
{
"DemographicGuid": "0cd634e5-179f-4f53-989f-eb0e59bcf93a",
"Answers": [
{
"AnswerGuid": "7eb4492b-08d1-45e5-91db-a15031cc2db0"
},
{
"AnswerGuid": "7eb4492b-08d1-45e5-91db-a15031cc2db0"
}
]
}
],
"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": "007b6d20-8266-48d4-aa57-4df003f8b668"
}