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": "01a915a7-d8ca-40c1-a5ea-1635f4162fce",
"QuotaGroupGuid": "67d6d406-19f7-4d0a-828f-c4e6649b3671",
"QuotaGroupName": "sample string 3",
"IsOpen": true,
"RequestedCompletes": 1,
"BidResponseRate": 1.0,
"IncidenceRate": 1.0,
"AllowDynamicSurveys": true,
"AllowExternalSuppliers": true,
"Demographics": [
{
"DemographicGuid": "49921b4d-e799-4385-b20c-f36343262e31",
"Answers": [
{
"AnswerGuid": "114d98be-cddb-4764-803b-809ee86b08d6"
},
{
"AnswerGuid": "114d98be-cddb-4764-803b-809ee86b08d6"
}
]
},
{
"DemographicGuid": "49921b4d-e799-4385-b20c-f36343262e31",
"Answers": [
{
"AnswerGuid": "114d98be-cddb-4764-803b-809ee86b08d6"
},
{
"AnswerGuid": "114d98be-cddb-4764-803b-809ee86b08d6"
}
]
}
],
"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": "a40e4337-2d80-4e07-b787-0810e41acad8"
}