Creates a project specified by the request parameter.
Endpoint URL
http://api.clearvoicesurveys.com/api/v1/projects/createproject
Parameters
| ProjectName string |
| SurveyUrl string |
| SurveyLength integer |
| PartnerProjectId string |
| PartnerSalesperson string |
| RequestedCpi decimal number |
| ProjectTriggers Triggers |
| ProjectPixels Collection of string |
| AllowSurveyRestart boolean |
| SpeedDetection SpeedDetection |
| Notes string |
| SurveyInvitations Collection of ProjectSurveyInvitation |
| ExclusionCriteria Collection of DemographicCriteria |
Example Request Data
{
"ProjectName": "sample string 1",
"SurveyUrl": "sample string 2",
"SurveyLength": 3,
"PartnerProjectId": "sample string 4",
"PartnerSalesperson": "sample string 5",
"RequestedCpi": 1.0,
"ProjectTriggers": {
"StartCap": 1,
"CompleteCap": 1,
"OverQuotaCap": 1,
"TerminateCap": 1
},
"ProjectPixels": [
"sample string 1",
"sample string 2"
],
"AllowSurveyRestart": true,
"SpeedDetection": {
"IsEnabled": true,
"MinLength": 1,
"MaxLength": 1
},
"Notes": "sample string 7",
"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": "84c722fa-5ca3-4f89-baff-b4508491cef7",
"Answers": [
{
"AnswerGuid": "957c53aa-42aa-42aa-a81e-1e968baf15d4"
},
{
"AnswerGuid": "957c53aa-42aa-42aa-a81e-1e968baf15d4"
}
]
},
{
"DemographicGuid": "84c722fa-5ca3-4f89-baff-b4508491cef7",
"Answers": [
{
"AnswerGuid": "957c53aa-42aa-42aa-a81e-1e968baf15d4"
},
{
"AnswerGuid": "957c53aa-42aa-42aa-a81e-1e968baf15d4"
}
]
}
]
}
Response Description
| ProjectGuid globally unique identifier |
| PartnerProjectId string |
| SuccessUrl string |
| TermUrl string |
| OverQuotaUrl string |
| RejectUrl string |
| DuplicateUrl string |
Example Response
{
"ProjectGuid": "d1e69539-c2e0-4a5e-a034-233d9d8dcf42",
"PartnerProjectId": "sample string 2",
"SuccessUrl": "sample string 3",
"TermUrl": "sample string 4",
"OverQuotaUrl": "sample string 5",
"RejectUrl": "sample string 6",
"DuplicateUrl": "sample string 7"
}