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": "284c4e5a-7d9b-466f-aa87-596d05467b74",
"QuotaGroupGuid": "1d3c53fa-5a3a-473f-aeac-b0aa35de9952",
"QuotaGroupName": "sample string 3",
"IsOpen": true,
"RequestedCompletes": 1,
"BidResponseRate": 1.0,
"IncidenceRate": 1.0,
"AllowDynamicSurveys": true,
"AllowExternalSuppliers": true,
"Demographics": [
{
"DemographicGuid": "f7bd2fab-4fd3-4616-96a5-7997e5853c83",
"Answers": [
{
"AnswerGuid": "b68cf3d8-73ce-414d-bbdd-d49e18894227"
},
{
"AnswerGuid": "b68cf3d8-73ce-414d-bbdd-d49e18894227"
}
]
},
{
"DemographicGuid": "f7bd2fab-4fd3-4616-96a5-7997e5853c83",
"Answers": [
{
"AnswerGuid": "b68cf3d8-73ce-414d-bbdd-d49e18894227"
},
{
"AnswerGuid": "b68cf3d8-73ce-414d-bbdd-d49e18894227"
}
]
}
],
"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": "89c6adad-caef-4663-9412-4b6ee3727fc8"
}