Clear Voice Surveys API
Click here for a complete list of operations.
GetMostRecentProjectForTwitter
Test
The test form is only available for requests from the local machine.SOAP 1.1
The following is a sample SOAP 1.1 request and response. The placeholders shown need to be replaced with actual values.
POST /CVSWebservices.asmx HTTP/1.1
Host: api.clearvoicesurveys.com
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://api.clearvoicesurveys.com/GetMostRecentProjectForTwitter"
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<GetMostRecentProjectForTwitter xmlns="http://api.clearvoicesurveys.com/">
<orgGUID>string</orgGUID>
</GetMostRecentProjectForTwitter>
</soap:Body>
</soap:Envelope>
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<GetMostRecentProjectForTwitterResponse xmlns="http://api.clearvoicesurveys.com/">
<GetMostRecentProjectForTwitterResult>
<Project>
<ProjectId>int</ProjectId>
<ProjectGuid>guid</ProjectGuid>
<OrgId>int</OrgId>
<ClientOrgId>int</ClientOrgId>
<SalespersonId>int</SalespersonId>
<OrgClientContactId>int</OrgClientContactId>
<OrgClientBillingId>int</OrgClientBillingId>
<ProjectManagerId>int</ProjectManagerId>
<ClientProjectManagerId>int</ClientProjectManagerId>
<ProjectStatusCode>string</ProjectStatusCode>
<ProjectName>string</ProjectName>
<IsEnabled>boolean</IsEnabled>
<IsDeleted>boolean</IsDeleted>
<IsReinvite>boolean</IsReinvite>
<AddDate>dateTime</AddDate>
<SurveyIntegrationUrlType>string</SurveyIntegrationUrlType>
<ResponseRate>decimal</ResponseRate>
<InvitationEmailThrottleRatePerHour>int</InvitationEmailThrottleRatePerHour>
<AddDt>dateTime</AddDt>
<UpdateDt>dateTime</UpdateDt>
<IsArchived>boolean</IsArchived>
<SurveyCategoryId>int</SurveyCategoryId>
<IsSpeederDetection>boolean</IsSpeederDetection>
<MinLoi>int</MinLoi>
<MaxLoi>int</MaxLoi>
<ProjectTypeId>int</ProjectTypeId>
<SurveyVendorId>int</SurveyVendorId>
<AllowSurveyRestart>boolean</AllowSurveyRestart>
<IsAdministrative>boolean</IsAdministrative>
<IsDigestEmailOverride>boolean</IsDigestEmailOverride>
<OrgDivisionId>int</OrgDivisionId>
<RestartEmailContent>string</RestartEmailContent>
<RestartSubjectLine>string</RestartSubjectLine>
<ApiKey>string</ApiKey>
<ExternalSurveyId>string</ExternalSurveyId>
<NumberOfQuestions>int</NumberOfQuestions>
<ExternalSurveyReportScriptLink>string</ExternalSurveyReportScriptLink>
<CountCompletedRewards>int</CountCompletedRewards>
<CountCompletedExternalQuotaGroups>int</CountCompletedExternalQuotaGroups>
<CountTerminatedRewards>int</CountTerminatedRewards>
<CountOverquotaRewards>int</CountOverquotaRewards>
<SumCompletedRewards>decimal</SumCompletedRewards>
<SumCompletedExternalQuotaGroups>decimal</SumCompletedExternalQuotaGroups>
<SumTerminatedRewards>decimal</SumTerminatedRewards>
<SumOverquotaRewards>decimal</SumOverquotaRewards>
<UpdateBy>string</UpdateBy>
<AddBy>string</AddBy>
<WeightedAveragePrice>decimal</WeightedAveragePrice>
<VolumeDiscount>decimal</VolumeDiscount>
<FinalPrice>decimal</FinalPrice>
<BidResponseRate>decimal</BidResponseRate>
<BidIncidenceRate>decimal</BidIncidenceRate>
<CalcInvited>int</CalcInvited>
<CalcStarted>int</CalcStarted>
<CalcCompleted>int</CalcCompleted>
<CalcTerminated>int</CalcTerminated>
<CalcOverQuota>int</CalcOverQuota>
<SurveyIntegrationUrl>string</SurveyIntegrationUrl>
<SurveyResultsUrl>string</SurveyResultsUrl>
<DeviceCompatibilityId>unsignedByte</DeviceCompatibilityId>
<CompletedRewardAmount>decimal</CompletedRewardAmount>
<TerminatedRewardAmount>decimal</TerminatedRewardAmount>
<OverQuotaRewardAmount>decimal</OverQuotaRewardAmount>
<ClientReference>string</ClientReference>
<AltClientReference>string</AltClientReference>
<ProjectComments>string</ProjectComments>
<ProjectNotes>string</ProjectNotes>
<CampaignGuid>guid</CampaignGuid>
<SubmittedDate>dateTime</SubmittedDate>
<OpenDate>dateTime</OpenDate>
<SurveyStartDate>dateTime</SurveyStartDate>
<InvoiceDate>dateTime</InvoiceDate>
<ProjectExpirationDate>dateTime</ProjectExpirationDate>
<ProjectCost>decimal</ProjectCost>
<SurveyLength>int</SurveyLength>
<QuotaGroup>
<ProjectQuotaId>int</ProjectQuotaId>
<ProjectQuotaGuid>guid</ProjectQuotaGuid>
<ProjectId>int</ProjectId>
<VendorOrgId>int</VendorOrgId>
<QuotaGroupTypeCode>string</QuotaGroupTypeCode>
<QuotaName>string</QuotaName>
<RequestedMembers>int</RequestedMembers>
<NewMemberInvitations>int</NewMemberInvitations>
<IsClosed>boolean</IsClosed>
<IsQuotaCap>boolean</IsQuotaCap>
<AddDt>dateTime</AddDt>
<UpdateDt>dateTime</UpdateDt>
<VendorCpc>decimal</VendorCpc>
<AllowDynamicSurveys>boolean</AllowDynamicSurveys>
<RejectSurveyPostBackUrl>string</RejectSurveyPostBackUrl>
<DuplicateSurveyPostBackUrl>string</DuplicateSurveyPostBackUrl>
<UpdateBy>string</UpdateBy>
<AddBy>string</AddBy>
<DisplayName>string</DisplayName>
<SuccessSurveyPostBackUrl>string</SuccessSurveyPostBackUrl>
<TerminateSurveyPostBackUrl>string</TerminateSurveyPostBackUrl>
<OverQuotaSurveyPostBackUrl>string</OverQuotaSurveyPostBackUrl>
<QuotaGroupSurveyIntegrationUrl>string</QuotaGroupSurveyIntegrationUrl>
<OutsidePartnerId>string</OutsidePartnerId>
<ProjectCpi>decimal</ProjectCpi>
<BidResponseRate>decimal</BidResponseRate>
<NewReInvites>int</NewReInvites>
<BasePrice>decimal</BasePrice>
<IncidenceRate>decimal</IncidenceRate>
<AdjustedPrice>decimal</AdjustedPrice>
<VolumePrice>decimal</VolumePrice>
<ClientPrice>decimal</ClientPrice>
<OverridePrice>decimal</OverridePrice>
<FinalPrice>decimal</FinalPrice>
<AvailableMembers>int</AvailableMembers>
<UserInvitation xsi:nil="true" />
<LocalizedInvitationText xsi:nil="true" />
<SearchCriteria xsi:nil="true" />
<InclusionCriteriaCount>int</InclusionCriteriaCount>
<MemberIds xsi:nil="true" />
<ProjectCost>decimal</ProjectCost>
<OpenQuotaGroupIR>decimal</OpenQuotaGroupIR>
</QuotaGroup>
<FirstOpenDate>dateTime</FirstOpenDate>
<LastCloseDate>dateTime</LastCloseDate>
<ProjectManagerName>string</ProjectManagerName>
<TotalCost>decimal</TotalCost>
<DynamicLinks>
<ProjectId>int</ProjectId>
<SuccessUrl>string</SuccessUrl>
<TermUrl>string</TermUrl>
<OverQuotaUrl>string</OverQuotaUrl>
</DynamicLinks>
<LocalizedInvitationText>
<LocalizedInvitationText xsi:nil="true" />
<LocalizedInvitationText xsi:nil="true" />
</LocalizedInvitationText>
<ProjectPixels>
<ProjectPixel xsi:nil="true" />
<ProjectPixel xsi:nil="true" />
</ProjectPixels>
<ProjectPixelsMarkedForDeletion>
<ProjectPixel xsi:nil="true" />
<ProjectPixel xsi:nil="true" />
</ProjectPixelsMarkedForDeletion>
<SpecDev>int</SpecDev>
</Project>
</GetMostRecentProjectForTwitterResult>
</GetMostRecentProjectForTwitterResponse>
</soap:Body>
</soap:Envelope>
SOAP 1.2
The following is a sample SOAP 1.2 request and response. The placeholders shown need to be replaced with actual values.
POST /CVSWebservices.asmx HTTP/1.1
Host: api.clearvoicesurveys.com
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length
<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
<soap12:Body>
<GetMostRecentProjectForTwitter xmlns="http://api.clearvoicesurveys.com/">
<orgGUID>string</orgGUID>
</GetMostRecentProjectForTwitter>
</soap12:Body>
</soap12:Envelope>
HTTP/1.1 200 OK
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length
<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
<soap12:Body>
<GetMostRecentProjectForTwitterResponse xmlns="http://api.clearvoicesurveys.com/">
<GetMostRecentProjectForTwitterResult>
<Project>
<ProjectId>int</ProjectId>
<ProjectGuid>guid</ProjectGuid>
<OrgId>int</OrgId>
<ClientOrgId>int</ClientOrgId>
<SalespersonId>int</SalespersonId>
<OrgClientContactId>int</OrgClientContactId>
<OrgClientBillingId>int</OrgClientBillingId>
<ProjectManagerId>int</ProjectManagerId>
<ClientProjectManagerId>int</ClientProjectManagerId>
<ProjectStatusCode>string</ProjectStatusCode>
<ProjectName>string</ProjectName>
<IsEnabled>boolean</IsEnabled>
<IsDeleted>boolean</IsDeleted>
<IsReinvite>boolean</IsReinvite>
<AddDate>dateTime</AddDate>
<SurveyIntegrationUrlType>string</SurveyIntegrationUrlType>
<ResponseRate>decimal</ResponseRate>
<InvitationEmailThrottleRatePerHour>int</InvitationEmailThrottleRatePerHour>
<AddDt>dateTime</AddDt>
<UpdateDt>dateTime</UpdateDt>
<IsArchived>boolean</IsArchived>
<SurveyCategoryId>int</SurveyCategoryId>
<IsSpeederDetection>boolean</IsSpeederDetection>
<MinLoi>int</MinLoi>
<MaxLoi>int</MaxLoi>
<ProjectTypeId>int</ProjectTypeId>
<SurveyVendorId>int</SurveyVendorId>
<AllowSurveyRestart>boolean</AllowSurveyRestart>
<IsAdministrative>boolean</IsAdministrative>
<IsDigestEmailOverride>boolean</IsDigestEmailOverride>
<OrgDivisionId>int</OrgDivisionId>
<RestartEmailContent>string</RestartEmailContent>
<RestartSubjectLine>string</RestartSubjectLine>
<ApiKey>string</ApiKey>
<ExternalSurveyId>string</ExternalSurveyId>
<NumberOfQuestions>int</NumberOfQuestions>
<ExternalSurveyReportScriptLink>string</ExternalSurveyReportScriptLink>
<CountCompletedRewards>int</CountCompletedRewards>
<CountCompletedExternalQuotaGroups>int</CountCompletedExternalQuotaGroups>
<CountTerminatedRewards>int</CountTerminatedRewards>
<CountOverquotaRewards>int</CountOverquotaRewards>
<SumCompletedRewards>decimal</SumCompletedRewards>
<SumCompletedExternalQuotaGroups>decimal</SumCompletedExternalQuotaGroups>
<SumTerminatedRewards>decimal</SumTerminatedRewards>
<SumOverquotaRewards>decimal</SumOverquotaRewards>
<UpdateBy>string</UpdateBy>
<AddBy>string</AddBy>
<WeightedAveragePrice>decimal</WeightedAveragePrice>
<VolumeDiscount>decimal</VolumeDiscount>
<FinalPrice>decimal</FinalPrice>
<BidResponseRate>decimal</BidResponseRate>
<BidIncidenceRate>decimal</BidIncidenceRate>
<CalcInvited>int</CalcInvited>
<CalcStarted>int</CalcStarted>
<CalcCompleted>int</CalcCompleted>
<CalcTerminated>int</CalcTerminated>
<CalcOverQuota>int</CalcOverQuota>
<SurveyIntegrationUrl>string</SurveyIntegrationUrl>
<SurveyResultsUrl>string</SurveyResultsUrl>
<DeviceCompatibilityId>unsignedByte</DeviceCompatibilityId>
<CompletedRewardAmount>decimal</CompletedRewardAmount>
<TerminatedRewardAmount>decimal</TerminatedRewardAmount>
<OverQuotaRewardAmount>decimal</OverQuotaRewardAmount>
<ClientReference>string</ClientReference>
<AltClientReference>string</AltClientReference>
<ProjectComments>string</ProjectComments>
<ProjectNotes>string</ProjectNotes>
<CampaignGuid>guid</CampaignGuid>
<SubmittedDate>dateTime</SubmittedDate>
<OpenDate>dateTime</OpenDate>
<SurveyStartDate>dateTime</SurveyStartDate>
<InvoiceDate>dateTime</InvoiceDate>
<ProjectExpirationDate>dateTime</ProjectExpirationDate>
<ProjectCost>decimal</ProjectCost>
<SurveyLength>int</SurveyLength>
<QuotaGroup>
<ProjectQuotaId>int</ProjectQuotaId>
<ProjectQuotaGuid>guid</ProjectQuotaGuid>
<ProjectId>int</ProjectId>
<VendorOrgId>int</VendorOrgId>
<QuotaGroupTypeCode>string</QuotaGroupTypeCode>
<QuotaName>string</QuotaName>
<RequestedMembers>int</RequestedMembers>
<NewMemberInvitations>int</NewMemberInvitations>
<IsClosed>boolean</IsClosed>
<IsQuotaCap>boolean</IsQuotaCap>
<AddDt>dateTime</AddDt>
<UpdateDt>dateTime</UpdateDt>
<VendorCpc>decimal</VendorCpc>
<AllowDynamicSurveys>boolean</AllowDynamicSurveys>
<RejectSurveyPostBackUrl>string</RejectSurveyPostBackUrl>
<DuplicateSurveyPostBackUrl>string</DuplicateSurveyPostBackUrl>
<UpdateBy>string</UpdateBy>
<AddBy>string</AddBy>
<DisplayName>string</DisplayName>
<SuccessSurveyPostBackUrl>string</SuccessSurveyPostBackUrl>
<TerminateSurveyPostBackUrl>string</TerminateSurveyPostBackUrl>
<OverQuotaSurveyPostBackUrl>string</OverQuotaSurveyPostBackUrl>
<QuotaGroupSurveyIntegrationUrl>string</QuotaGroupSurveyIntegrationUrl>
<OutsidePartnerId>string</OutsidePartnerId>
<ProjectCpi>decimal</ProjectCpi>
<BidResponseRate>decimal</BidResponseRate>
<NewReInvites>int</NewReInvites>
<BasePrice>decimal</BasePrice>
<IncidenceRate>decimal</IncidenceRate>
<AdjustedPrice>decimal</AdjustedPrice>
<VolumePrice>decimal</VolumePrice>
<ClientPrice>decimal</ClientPrice>
<OverridePrice>decimal</OverridePrice>
<FinalPrice>decimal</FinalPrice>
<AvailableMembers>int</AvailableMembers>
<UserInvitation xsi:nil="true" />
<LocalizedInvitationText xsi:nil="true" />
<SearchCriteria xsi:nil="true" />
<InclusionCriteriaCount>int</InclusionCriteriaCount>
<MemberIds xsi:nil="true" />
<ProjectCost>decimal</ProjectCost>
<OpenQuotaGroupIR>decimal</OpenQuotaGroupIR>
</QuotaGroup>
<FirstOpenDate>dateTime</FirstOpenDate>
<LastCloseDate>dateTime</LastCloseDate>
<ProjectManagerName>string</ProjectManagerName>
<TotalCost>decimal</TotalCost>
<DynamicLinks>
<ProjectId>int</ProjectId>
<SuccessUrl>string</SuccessUrl>
<TermUrl>string</TermUrl>
<OverQuotaUrl>string</OverQuotaUrl>
</DynamicLinks>
<LocalizedInvitationText>
<LocalizedInvitationText xsi:nil="true" />
<LocalizedInvitationText xsi:nil="true" />
</LocalizedInvitationText>
<ProjectPixels>
<ProjectPixel xsi:nil="true" />
<ProjectPixel xsi:nil="true" />
</ProjectPixels>
<ProjectPixelsMarkedForDeletion>
<ProjectPixel xsi:nil="true" />
<ProjectPixel xsi:nil="true" />
</ProjectPixelsMarkedForDeletion>
<SpecDev>int</SpecDev>
</Project>
</GetMostRecentProjectForTwitterResult>
</GetMostRecentProjectForTwitterResponse>
</soap12:Body>
</soap12:Envelope>