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": "9c33f4c6-7271-446b-a351-ee78410ad8d6",
"Answers": [
{
"AnswerGuid": "eb98b3f1-de32-4487-8907-dffa297f418b"
},
{
"AnswerGuid": "eb98b3f1-de32-4487-8907-dffa297f418b"
}
]
},
{
"DemographicGuid": "9c33f4c6-7271-446b-a351-ee78410ad8d6",
"Answers": [
{
"AnswerGuid": "eb98b3f1-de32-4487-8907-dffa297f418b"
},
{
"AnswerGuid": "eb98b3f1-de32-4487-8907-dffa297f418b"
}
]
}
]
}
Response Description
| ProjectGuid globally unique identifier |
| PartnerProjectId string |
| SuccessUrl string |
| TermUrl string |
| OverQuotaUrl string |
| RejectUrl string |
| DuplicateUrl string |
Example Response
{
"ProjectGuid": "7c28d847-71db-4f02-aef6-3985a179140c",
"PartnerProjectId": "sample string 2",
"SuccessUrl": "sample string 3",
"TermUrl": "sample string 4",
"OverQuotaUrl": "sample string 5",
"RejectUrl": "sample string 6",
"DuplicateUrl": "sample string 7"
}