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": "8912f040-67ef-42b2-b60f-792d8d4c8550",
"Answers": [
{
"AnswerGuid": "e7bc5d91-0746-43de-9e3e-c3e06c0039c3"
},
{
"AnswerGuid": "e7bc5d91-0746-43de-9e3e-c3e06c0039c3"
}
]
},
{
"DemographicGuid": "8912f040-67ef-42b2-b60f-792d8d4c8550",
"Answers": [
{
"AnswerGuid": "e7bc5d91-0746-43de-9e3e-c3e06c0039c3"
},
{
"AnswerGuid": "e7bc5d91-0746-43de-9e3e-c3e06c0039c3"
}
]
}
]
}
Response Description
| ProjectGuid globally unique identifier |
| PartnerProjectId string |
| SuccessUrl string |
| TermUrl string |
| OverQuotaUrl string |
| RejectUrl string |
| DuplicateUrl string |
Example Response
{
"ProjectGuid": "6b1f2ae8-338f-4ee9-89dc-c937d138c26f",
"PartnerProjectId": "sample string 2",
"SuccessUrl": "sample string 3",
"TermUrl": "sample string 4",
"OverQuotaUrl": "sample string 5",
"RejectUrl": "sample string 6",
"DuplicateUrl": "sample string 7"
}