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": "25f3436d-3682-40c8-9fe0-47d76f99e244",
"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": "dbdd49f2-f66e-478d-9985-7cf3ee5ec64c",
"Answers": [
{
"AnswerGuid": "0e854216-396a-4a1d-897f-0888cdd7ece5"
},
{
"AnswerGuid": "0e854216-396a-4a1d-897f-0888cdd7ece5"
}
]
},
{
"DemographicGuid": "dbdd49f2-f66e-478d-9985-7cf3ee5ec64c",
"Answers": [
{
"AnswerGuid": "0e854216-396a-4a1d-897f-0888cdd7ece5"
},
{
"AnswerGuid": "0e854216-396a-4a1d-897f-0888cdd7ece5"
}
]
}
]
}
Response Description
| ProjectGuid globally unique identifier |
Example Response
{
"ProjectGuid": "460973c9-5062-48f0-afac-717026bdf3c5"
}