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": "f9d09421-a417-4985-8056-93eb696161cf",
"QuotaGroupGuid": "6c5e0006-97c3-4372-a151-48bfc89d7680",
"QuotaGroupName": "sample string 3",
"IsOpen": true,
"RequestedCompletes": 1,
"BidResponseRate": 1.0,
"IncidenceRate": 1.0,
"AllowDynamicSurveys": true,
"AllowExternalSuppliers": true,
"Demographics": [
{
"DemographicGuid": "6e6e7e29-c38c-42b8-9724-0bdcffd59bcc",
"Answers": [
{
"AnswerGuid": "5b9f5ff9-f4c5-46ea-bda5-8390f3e8adf6"
},
{
"AnswerGuid": "5b9f5ff9-f4c5-46ea-bda5-8390f3e8adf6"
}
]
},
{
"DemographicGuid": "6e6e7e29-c38c-42b8-9724-0bdcffd59bcc",
"Answers": [
{
"AnswerGuid": "5b9f5ff9-f4c5-46ea-bda5-8390f3e8adf6"
},
{
"AnswerGuid": "5b9f5ff9-f4c5-46ea-bda5-8390f3e8adf6"
}
]
}
],
"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": "7b2a5eac-a122-47d0-af8e-d76da110e48b"
}