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 .csv suffix or ?format=csv

HTTP + CSV

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: text/csv
Content-Type: text/csv
Content-Length: length

{"campaignId":0,"limit":0,"useClickFallback":false,"dryRun":false,"useEngine":false}
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length

{"queued":0,"skipped":0,"remaining":0,"statusCode":0,"message":"String"}