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": "12e4bfe0-fd21-4253-9965-e4f61c615e1a",
"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": "cc41ed13-57cc-4c18-8973-d9b7437845f4",
"Answers": [
{
"AnswerGuid": "fb162669-30ff-422d-8510-23fb55d2be1f"
},
{
"AnswerGuid": "fb162669-30ff-422d-8510-23fb55d2be1f"
}
]
},
{
"DemographicGuid": "cc41ed13-57cc-4c18-8973-d9b7437845f4",
"Answers": [
{
"AnswerGuid": "fb162669-30ff-422d-8510-23fb55d2be1f"
},
{
"AnswerGuid": "fb162669-30ff-422d-8510-23fb55d2be1f"
}
]
}
]
}
Response Description
| ProjectGuid globally unique identifier |
Example Response
{
"ProjectGuid": "4c82f47e-d78a-4f2f-a210-afb935509cc1"
}