digitaluapi

<back to all web services

CampaignsLookup

Requires Authentication
Requires any of the roles:Client, Admin, Partner
The following routes are available for this service:
GET/campaigns
import java.math.*;
import java.util.*;
import java.io.InputStream;
import net.servicestack.client.*;
import com.google.gson.annotations.*;
import com.google.gson.reflect.*;

public class dtos
{

    @DataContract
    public static class CampaignsLookup
    {
        @DataMember(Order=2)
        public Integer TenantsId = null;

        @DataMember(Order=3)
        public String Name = null;

        @DataMember(Order=4)
        public String Description = null;

        @DataMember(Order=5)
        public Long AvatarsId = null;

        @DataMember(Order=6)
        public Long SchedulesId = null;

        @DataMember(Order=7)
        public Integer MessageTonesId = null;

        @DataMember(Order=8)
        public Long StatusCodesId = null;
        
        public Integer getTenantsId() { return TenantsId; }
        public CampaignsLookup setTenantsId(Integer value) { this.TenantsId = value; return this; }
        public String getName() { return Name; }
        public CampaignsLookup setName(String value) { this.Name = value; return this; }
        public String getDescription() { return Description; }
        public CampaignsLookup setDescription(String value) { this.Description = value; return this; }
        public Long getAvatarsId() { return AvatarsId; }
        public CampaignsLookup setAvatarsId(Long value) { this.AvatarsId = value; return this; }
        public Long getSchedulesId() { return SchedulesId; }
        public CampaignsLookup setSchedulesId(Long value) { this.SchedulesId = value; return this; }
        public Integer getMessageTonesId() { return MessageTonesId; }
        public CampaignsLookup setMessageTonesId(Integer value) { this.MessageTonesId = value; return this; }
        public Long getStatusCodesId() { return StatusCodesId; }
        public CampaignsLookup setStatusCodesId(Long value) { this.StatusCodesId = value; return this; }
    }

}

Java CampaignsLookup DTOs

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

HTTP + OTHER

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

GET /campaigns HTTP/1.1 
Host: duengageapi.uat.scadsoftware.com 
Accept: text/jsonl
HTTP/1.1 200 OK
Content-Type: text/jsonl
Content-Length: length

[{"TenantsId":0,"Name":"String","Description":"String","AvatarsId":0,"SchedulesId":0,"MessageTonesId":0,"StatusCodesId":0,"ResponseStatus":{"ErrorCode":"String","Message":"String","StackTrace":"String","Errors":[{"ErrorCode":"String","FieldName":"String","Message":"String","Meta":{"String":"String"}}],"Meta":{"String":"String"}}}]