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": "adc4f76c-b164-45b9-984a-82ebc6fa8d46",
"QuotaGroupGuid": "6333f49b-564d-41f8-8ecc-c1038bba34cd",
"QuotaGroupName": "sample string 3",
"IsOpen": true,
"RequestedCompletes": 1,
"BidResponseRate": 1.0,
"IncidenceRate": 1.0,
"AllowDynamicSurveys": true,
"AllowExternalSuppliers": true,
"Demographics": [
{
"DemographicGuid": "467fb5d7-29ed-447c-9ad8-d36e857b7c3a",
"Answers": [
{
"AnswerGuid": "e28e472e-6150-42e4-ab8e-e17bb622c1a2"
},
{
"AnswerGuid": "e28e472e-6150-42e4-ab8e-e17bb622c1a2"
}
]
},
{
"DemographicGuid": "467fb5d7-29ed-447c-9ad8-d36e857b7c3a",
"Answers": [
{
"AnswerGuid": "e28e472e-6150-42e4-ab8e-e17bb622c1a2"
},
{
"AnswerGuid": "e28e472e-6150-42e4-ab8e-e17bb622c1a2"
}
]
}
],
"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": "703edfc4-a1da-4445-8be9-28954f6acf98"
}