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": "94d5ac8b-ed17-41bb-b01c-d6aee1fba62c",
"QuotaGroupGuid": "d52396be-ca32-49ff-a57a-6b130b8bdc7c",
"QuotaGroupName": "sample string 3",
"IsOpen": true,
"RequestedCompletes": 1,
"BidResponseRate": 1.0,
"IncidenceRate": 1.0,
"AllowDynamicSurveys": true,
"AllowExternalSuppliers": true,
"Demographics": [
{
"DemographicGuid": "ff3043a4-f235-4f57-998e-27f9aaad3d58",
"Answers": [
{
"AnswerGuid": "75ab5a64-54dc-452d-a7c6-ff665375e910"
},
{
"AnswerGuid": "75ab5a64-54dc-452d-a7c6-ff665375e910"
}
]
},
{
"DemographicGuid": "ff3043a4-f235-4f57-998e-27f9aaad3d58",
"Answers": [
{
"AnswerGuid": "75ab5a64-54dc-452d-a7c6-ff665375e910"
},
{
"AnswerGuid": "75ab5a64-54dc-452d-a7c6-ff665375e910"
}
]
}
],
"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": "0d2acb03-78f0-4a55-bae3-0625175aabcd"
}