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": "8d2eb6a1-d96a-45f5-86d8-aba029aade78",
"QuotaGroupGuid": "0535be02-1c07-410e-b348-a80c27472378",
"QuotaGroupName": "sample string 3",
"IsOpen": true,
"RequestedCompletes": 1,
"BidResponseRate": 1.0,
"IncidenceRate": 1.0,
"AllowDynamicSurveys": true,
"AllowExternalSuppliers": true,
"Demographics": [
{
"DemographicGuid": "3ed22d0b-c740-42ea-a96a-f6b0f36ce557",
"Answers": [
{
"AnswerGuid": "70dfc85f-af08-4569-ae75-8eb861d6e7f5"
},
{
"AnswerGuid": "70dfc85f-af08-4569-ae75-8eb861d6e7f5"
}
]
},
{
"DemographicGuid": "3ed22d0b-c740-42ea-a96a-f6b0f36ce557",
"Answers": [
{
"AnswerGuid": "70dfc85f-af08-4569-ae75-8eb861d6e7f5"
},
{
"AnswerGuid": "70dfc85f-af08-4569-ae75-8eb861d6e7f5"
}
]
}
],
"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": "5c327bc4-e72f-430e-9ebb-f075ec6e3756"
}