digitaluapi

<back to all web services

SchedulesLookup

Requires Authentication
Requires any of the roles:Client, Admin, Partner
The following routes are available for this service:
GET/schedules
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 SchedulesLookup
    {
        @DataMember(Order=2)
        public Integer TenantsId = null;

        @DataMember(Order=3)
        public Integer IntervalsId = null;

        @DataMember(Order=4)
        public Date RunAt = null;

        @DataMember(Order=5)
        public Boolean Monday = null;

        @DataMember(Order=6)
        public Boolean Tuesday = null;

        @DataMember(Order=7)
        public Boolean Wednesday = null;

        @DataMember(Order=8)
        public Boolean Thursday = null;

        @DataMember(Order=9)
        public Boolean Friday = null;

        @DataMember(Order=10)
        public Boolean Saturday = null;

        @DataMember(Order=11)
        public Boolean Sunday = null;

        @DataMember(Order=12)
        public Integer DayOfMonth = null;

        @DataMember(Order=13)
        public Integer MonthOfYear = null;

        @DataMember(Order=14)
        public Date StartDate = null;

        @DataMember(Order=15)
        public Date EndDate = null;
        
        public Integer getTenantsId() { return TenantsId; }
        public SchedulesLookup setTenantsId(Integer value) { this.TenantsId = value; return this; }
        public Integer getIntervalsId() { return IntervalsId; }
        public SchedulesLookup setIntervalsId(Integer value) { this.IntervalsId = value; return this; }
        public Date getRunAt() { return RunAt; }
        public SchedulesLookup setRunAt(Date value) { this.RunAt = value; return this; }
        public Boolean isMonday() { return Monday; }
        public SchedulesLookup setMonday(Boolean value) { this.Monday = value; return this; }
        public Boolean isTuesday() { return Tuesday; }
        public SchedulesLookup setTuesday(Boolean value) { this.Tuesday = value; return this; }
        public Boolean isWednesday() { return Wednesday; }
        public SchedulesLookup setWednesday(Boolean value) { this.Wednesday = value; return this; }
        public Boolean isThursday() { return Thursday; }
        public SchedulesLookup setThursday(Boolean value) { this.Thursday = value; return this; }
        public Boolean isFriday() { return Friday; }
        public SchedulesLookup setFriday(Boolean value) { this.Friday = value; return this; }
        public Boolean isSaturday() { return Saturday; }
        public SchedulesLookup setSaturday(Boolean value) { this.Saturday = value; return this; }
        public Boolean isSunday() { return Sunday; }
        public SchedulesLookup setSunday(Boolean value) { this.Sunday = value; return this; }
        public Integer getDayOfMonth() { return DayOfMonth; }
        public SchedulesLookup setDayOfMonth(Integer value) { this.DayOfMonth = value; return this; }
        public Integer getMonthOfYear() { return MonthOfYear; }
        public SchedulesLookup setMonthOfYear(Integer value) { this.MonthOfYear = value; return this; }
        public Date getStartDate() { return StartDate; }
        public SchedulesLookup setStartDate(Date value) { this.StartDate = value; return this; }
        public Date getEndDate() { return EndDate; }
        public SchedulesLookup setEndDate(Date value) { this.EndDate = value; return this; }
    }

}

Java SchedulesLookup DTOs

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

HTTP + JSV

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

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

[
	{
		TenantsId: 0,
		IntervalsId: 0,
		RunAt: 0001-01-01,
		Monday: False,
		Tuesday: False,
		Wednesday: False,
		Thursday: False,
		Friday: False,
		Saturday: False,
		Sunday: False,
		DayOfMonth: 0,
		MonthOfYear: 0,
		ResponseStatus: 
		{
			ErrorCode: String,
			Message: String,
			StackTrace: String,
			Errors: 
			[
				{
					ErrorCode: String,
					FieldName: String,
					Message: String,
					Meta: 
					{
						String: String
					}
				}
			],
			Meta: 
			{
				String: String
			}
		}
	}
]