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": "4c58a4d3-55ba-4e90-b464-437fe0a79713",
"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": "20079ef1-8bbb-40bc-b0b1-61646777ead4",
"Answers": [
{
"AnswerGuid": "8ec83d19-048a-4618-8d0a-717ed60571c2"
},
{
"AnswerGuid": "8ec83d19-048a-4618-8d0a-717ed60571c2"
}
]
},
{
"DemographicGuid": "20079ef1-8bbb-40bc-b0b1-61646777ead4",
"Answers": [
{
"AnswerGuid": "8ec83d19-048a-4618-8d0a-717ed60571c2"
},
{
"AnswerGuid": "8ec83d19-048a-4618-8d0a-717ed60571c2"
}
]
}
]
}
Response Description
| ProjectGuid globally unique identifier |
Example Response
{
"ProjectGuid": "e5be0a8a-9142-4bd8-b86e-07fcfc60a945"
}