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": "3226e7a0-437f-446f-9891-0d645833c21d",
"QuotaGroupGuid": "b3677cd9-ceae-45da-aa72-6dc0f8f82ebe",
"QuotaGroupName": "sample string 3",
"IsOpen": true,
"RequestedCompletes": 1,
"BidResponseRate": 1.0,
"IncidenceRate": 1.0,
"AllowDynamicSurveys": true,
"AllowExternalSuppliers": true,
"Demographics": [
{
"DemographicGuid": "e3d18a2a-c623-406a-a47c-5ce349dc4332",
"Answers": [
{
"AnswerGuid": "3b66bd27-67bf-4b95-9ac0-d1a5e83216fc"
},
{
"AnswerGuid": "3b66bd27-67bf-4b95-9ac0-d1a5e83216fc"
}
]
},
{
"DemographicGuid": "e3d18a2a-c623-406a-a47c-5ce349dc4332",
"Answers": [
{
"AnswerGuid": "3b66bd27-67bf-4b95-9ac0-d1a5e83216fc"
},
{
"AnswerGuid": "3b66bd27-67bf-4b95-9ac0-d1a5e83216fc"
}
]
}
],
"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": "1cd0a989-b94f-412b-90eb-e2b4cc9a32cd"
}