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": "64467373-963a-4d16-9221-691e4967e142", "QuotaGroupGuid": "500c69ff-d33d-43dc-9624-d22fb551782d", "QuotaGroupName": "sample string 3", "IsOpen": true, "RequestedCompletes": 1, "BidResponseRate": 1.0, "IncidenceRate": 1.0, "AllowDynamicSurveys": true, "AllowExternalSuppliers": true, "Demographics": [ { "DemographicGuid": "db2ce5df-15de-46be-addd-26c8adf6f3dd", "Answers": [ { "AnswerGuid": "8e97b01c-a7d8-4257-a745-d490b1f4ed8d" }, { "AnswerGuid": "8e97b01c-a7d8-4257-a745-d490b1f4ed8d" } ] }, { "DemographicGuid": "db2ce5df-15de-46be-addd-26c8adf6f3dd", "Answers": [ { "AnswerGuid": "8e97b01c-a7d8-4257-a745-d490b1f4ed8d" }, { "AnswerGuid": "8e97b01c-a7d8-4257-a745-d490b1f4ed8d" } ] } ], "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": "c5cd31d4-e81d-40d7-90f7-387c6372137d" }