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": "723427f3-137d-465c-9714-291c5afc04f2",
"QuotaGroupGuid": "56d95694-df76-4540-823b-cb0f8f5e66ab",
"QuotaGroupName": "sample string 3",
"IsOpen": true,
"RequestedCompletes": 1,
"BidResponseRate": 1.0,
"IncidenceRate": 1.0,
"AllowDynamicSurveys": true,
"AllowExternalSuppliers": true,
"Demographics": [
{
"DemographicGuid": "602036e1-443a-4a91-9255-41b99d2376b0",
"Answers": [
{
"AnswerGuid": "99a391c8-106f-4f7d-88f0-9d6a56f3fa75"
},
{
"AnswerGuid": "99a391c8-106f-4f7d-88f0-9d6a56f3fa75"
}
]
},
{
"DemographicGuid": "602036e1-443a-4a91-9255-41b99d2376b0",
"Answers": [
{
"AnswerGuid": "99a391c8-106f-4f7d-88f0-9d6a56f3fa75"
},
{
"AnswerGuid": "99a391c8-106f-4f7d-88f0-9d6a56f3fa75"
}
]
}
],
"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": "3703b2db-0514-44f0-a7fb-1c877cc73f51"
}