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": "6d789603-f051-469f-ac6b-678f252daa8e", "Answers": [ { "AnswerGuid": "9ed0ffda-171f-4913-930c-36ff060ffb13" }, { "AnswerGuid": "9ed0ffda-171f-4913-930c-36ff060ffb13" } ] }, { "DemographicGuid": "6d789603-f051-469f-ac6b-678f252daa8e", "Answers": [ { "AnswerGuid": "9ed0ffda-171f-4913-930c-36ff060ffb13" }, { "AnswerGuid": "9ed0ffda-171f-4913-930c-36ff060ffb13" } ] } ] }
Response Description
ProjectGuid globally unique identifier |
PartnerProjectId string |
SuccessUrl string |
TermUrl string |
OverQuotaUrl string |
RejectUrl string |
DuplicateUrl string |
Example Response
{ "ProjectGuid": "2937e864-43cc-4df9-be2c-4069af41f0b7", "PartnerProjectId": "sample string 2", "SuccessUrl": "sample string 3", "TermUrl": "sample string 4", "OverQuotaUrl": "sample string 5", "RejectUrl": "sample string 6", "DuplicateUrl": "sample string 7" }