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": "80be89b3-bbe6-4ade-8082-8e7fc69e81aa",
"QuotaGroupGuid": "269769ed-1149-4ac9-92c1-6b82f4625ed0",
"QuotaGroupName": "sample string 3",
"IsOpen": true,
"RequestedCompletes": 1,
"BidResponseRate": 1.0,
"IncidenceRate": 1.0,
"AllowDynamicSurveys": true,
"AllowExternalSuppliers": true,
"Demographics": [
{
"DemographicGuid": "bf406316-4db7-42a9-97b1-3ceb8214563e",
"Answers": [
{
"AnswerGuid": "d90ed9c8-f4f5-4de9-9842-b2453a20a5cd"
},
{
"AnswerGuid": "d90ed9c8-f4f5-4de9-9842-b2453a20a5cd"
}
]
},
{
"DemographicGuid": "bf406316-4db7-42a9-97b1-3ceb8214563e",
"Answers": [
{
"AnswerGuid": "d90ed9c8-f4f5-4de9-9842-b2453a20a5cd"
},
{
"AnswerGuid": "d90ed9c8-f4f5-4de9-9842-b2453a20a5cd"
}
]
}
],
"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": "673ffc25-2243-4910-9571-b7b02ebfc4fc"
}