TicketUserServices

<back to all web services

SurveyCampaignRemindersRequest

Requires Authentication
Required role:Admin
The following routes are available for this service:
POST/SurveyCampaign/{CampaignId}/Reminders
import java.math.*;
import java.util.*;
import net.servicestack.client.*;

public class dtos
{

    public static class SurveyCampaignRemindersRequest
    {
        public Integer campaignId = null;
        public Integer limit = null;
        public Boolean useClickFallback = null;
        public Boolean dryRun = null;
        public Boolean useEngine = null;
        
        public Integer getCampaignId() { return campaignId; }
        public SurveyCampaignRemindersRequest setCampaignId(Integer value) { this.campaignId = value; return this; }
        public Integer getLimit() { return limit; }
        public SurveyCampaignRemindersRequest setLimit(Integer value) { this.limit = value; return this; }
        public Boolean isUseClickFallback() { return useClickFallback; }
        public SurveyCampaignRemindersRequest setUseClickFallback(Boolean value) { this.useClickFallback = value; return this; }
        public Boolean isDryRun() { return dryRun; }
        public SurveyCampaignRemindersRequest setDryRun(Boolean value) { this.dryRun = value; return this; }
        public Boolean isUseEngine() { return useEngine; }
        public SurveyCampaignRemindersRequest setUseEngine(Boolean value) { this.useEngine = value; return this; }
    }

    public static class SurveyCampaignSendResult
    {
        public Integer queued = null;
        public Integer skipped = null;
        public Integer remaining = null;
        public Integer statusCode = null;
        public String message = null;
        
        public Integer getQueued() { return queued; }
        public SurveyCampaignSendResult setQueued(Integer value) { this.queued = value; return this; }
        public Integer getSkipped() { return skipped; }
        public SurveyCampaignSendResult setSkipped(Integer value) { this.skipped = value; return this; }
        public Integer getRemaining() { return remaining; }
        public SurveyCampaignSendResult setRemaining(Integer value) { this.remaining = value; return this; }
        public Integer getStatusCode() { return statusCode; }
        public SurveyCampaignSendResult setStatusCode(Integer value) { this.statusCode = value; return this; }
        public String getMessage() { return message; }
        public SurveyCampaignSendResult setMessage(String value) { this.message = value; return this; }
    }

}

Java SurveyCampaignRemindersRequest DTOs

To override the Content-type in your clients, use the HTTP Accept Header, append the .xml suffix or ?format=xml

HTTP + XML

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /SurveyCampaign/{CampaignId}/Reminders HTTP/1.1 
Host: stubbur-app.azurewebsites.net 
Accept: application/xml
Content-Type: application/xml
Content-Length: length

<SurveyCampaignRemindersRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TicketUserServices.ServiceModel">
  <CampaignId>0</CampaignId>
  <DryRun>false</DryRun>
  <Limit>0</Limit>
  <UseClickFallback>false</UseClickFallback>
  <UseEngine>false</UseEngine>
</SurveyCampaignRemindersRequest>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<SurveyCampaignSendResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TicketUserServices.ServiceModel">
  <Message>String</Message>
  <Queued>0</Queued>
  <Remaining>0</Remaining>
  <Skipped>0</Skipped>
  <StatusCode>0</StatusCode>
</SurveyCampaignSendResult>