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": "af50cf64-0a9a-4728-94d2-a300172a9fe6",
"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": "405a177d-e07a-4773-92a9-56781fad88cf",
"Answers": [
{
"AnswerGuid": "109c9177-4182-4d1a-9aa6-094b23e3b35b"
},
{
"AnswerGuid": "109c9177-4182-4d1a-9aa6-094b23e3b35b"
}
]
},
{
"DemographicGuid": "405a177d-e07a-4773-92a9-56781fad88cf",
"Answers": [
{
"AnswerGuid": "109c9177-4182-4d1a-9aa6-094b23e3b35b"
},
{
"AnswerGuid": "109c9177-4182-4d1a-9aa6-094b23e3b35b"
}
]
}
]
}
Response Description
| ProjectGuid globally unique identifier |
Example Response
{
"ProjectGuid": "d8269210-72c0-44b3-86c4-57d4729a83e1"
}