Updates the project specified by the ProjectGuid parameter.
Endpoint URL
http://api.clearvoicesurveys.com/api/v1/projects/updateproject
Parameters
| ProjectGuid globally unique identifier |
| SurveyUrl string |
| SurveyLength integer |
| PartnerProjectId string |
| PartnerSalesperson string |
| ProjectTriggers Triggers |
| ProjectPixelUrls Collection of string |
| AllowSurveyRestart boolean |
| SpeedDetection SpeedDetection |
| SurveyInvitations Collection of ProjectSurveyInvitation |
| ExclusionCriteria Collection of DemographicCriteria |
Example Request Data
{
"ProjectGuid": "50ee91fd-791e-4d97-8b3a-98659abd913c",
"SurveyUrl": "sample string 2",
"SurveyLength": 1,
"PartnerProjectId": "sample string 3",
"PartnerSalesperson": "sample string 4",
"ProjectTriggers": {
"StartCap": 1,
"CompleteCap": 1,
"OverQuotaCap": 1,
"TerminateCap": 1
},
"ProjectPixelUrls": [
"sample string 1",
"sample string 2"
],
"AllowSurveyRestart": true,
"SpeedDetection": {
"IsEnabled": true,
"MinLength": 1,
"MaxLength": 1
},
"SurveyInvitations": [
{
"SurveyName": "sample string 1",
"Culture": "sample string 2",
"EmailInvitation": {
"Subject": "sample string 1",
"Body": "sample string 2"
},
"EmailReInvitation": {
"Subject": "sample string 1",
"Body": "sample string 2"
}
},
{
"SurveyName": "sample string 1",
"Culture": "sample string 2",
"EmailInvitation": {
"Subject": "sample string 1",
"Body": "sample string 2"
},
"EmailReInvitation": {
"Subject": "sample string 1",
"Body": "sample string 2"
}
}
],
"ExclusionCriteria": [
{
"DemographicGuid": "f87c7423-1914-49c9-9030-75571c5ec442",
"Answers": [
{
"AnswerGuid": "a27714ef-7078-49d9-94d0-25bf68fd6eea"
},
{
"AnswerGuid": "a27714ef-7078-49d9-94d0-25bf68fd6eea"
}
]
},
{
"DemographicGuid": "f87c7423-1914-49c9-9030-75571c5ec442",
"Answers": [
{
"AnswerGuid": "a27714ef-7078-49d9-94d0-25bf68fd6eea"
},
{
"AnswerGuid": "a27714ef-7078-49d9-94d0-25bf68fd6eea"
}
]
}
]
}
Response Description
| ProjectGuid globally unique identifier |
Example Response
{
"ProjectGuid": "59226d9c-0c52-4730-b60a-326b2d5f7591"
}