| GET,OPTIONS | /v1/Scheduler/{SchedulerUrl} | ||
|---|---|---|---|
| GET,OPTIONS | /v1/Scheduler/{SchedulerUrl}/{StartDate} | ||
| GET,OPTIONS | /v1/Scheduler/{SchedulerUrl}/{StartDate}/{LocalDate} | ||
| GET,OPTIONS | /v1/SchedulerServices/{SchedulerUrl}/{StartDate}/{ServiceIdsList} |
import java.math.*;
import java.util.*;
import java.io.InputStream;
import net.servicestack.client.*;
public class dtos
{
public static class SchedulerRequest
{
public String SchedulerUrl = null;
public Date StartDate = null;
public ArrayList<String> Session = new ArrayList<String>();
public String ServiceIdsList = null;
public String getSchedulerUrl() { return SchedulerUrl; }
public SchedulerRequest setSchedulerUrl(String value) { this.SchedulerUrl = value; return this; }
public Date getStartDate() { return StartDate; }
public SchedulerRequest setStartDate(Date value) { this.StartDate = value; return this; }
public ArrayList<String> getSession() { return Session; }
public SchedulerRequest setSession(ArrayList<String> value) { this.Session = value; return this; }
public String getServiceIdsList() { return ServiceIdsList; }
public SchedulerRequest setServiceIdsList(String value) { this.ServiceIdsList = value; return this; }
}
public static class SchedulerResponse
{
public Location Location = null;
public Agent Agent = null;
public ResponseStatus ResponseStatus = null;
public SchedulerWeek Week = null;
public ArrayList<Line> Services = new ArrayList<Line>();
public Location getLocation() { return Location; }
public SchedulerResponse setLocation(Location value) { this.Location = value; return this; }
public Agent getAgent() { return Agent; }
public SchedulerResponse setAgent(Agent value) { this.Agent = value; return this; }
public ResponseStatus getResponseStatus() { return ResponseStatus; }
public SchedulerResponse setResponseStatus(ResponseStatus value) { this.ResponseStatus = value; return this; }
public SchedulerWeek getWeek() { return Week; }
public SchedulerResponse setWeek(SchedulerWeek value) { this.Week = value; return this; }
public ArrayList<Line> getServices() { return Services; }
public SchedulerResponse setServices(ArrayList<Line> value) { this.Services = value; return this; }
}
public static class Location
{
public UUID Id = null;
public UUID ClientId = null;
public String Name = null;
public String Address1 = null;
public String Address2 = null;
public String City = null;
public String State = null;
public String Zip = null;
public String Phone = null;
public String Fax = null;
public String URL = null;
public String Email = null;
public String TimeZone = null;
public Boolean Active = null;
public Date EntDate = null;
public Date ModDate = null;
public String LocationImage = null;
public UUID getId() { return Id; }
public Location setId(UUID value) { this.Id = value; return this; }
public UUID getClientId() { return ClientId; }
public Location setClientId(UUID value) { this.ClientId = value; return this; }
public String getName() { return Name; }
public Location setName(String value) { this.Name = value; return this; }
public String getAddress1() { return Address1; }
public Location setAddress1(String value) { this.Address1 = value; return this; }
public String getAddress2() { return Address2; }
public Location setAddress2(String value) { this.Address2 = value; return this; }
public String getCity() { return City; }
public Location setCity(String value) { this.City = value; return this; }
public String getState() { return State; }
public Location setState(String value) { this.State = value; return this; }
public String getZip() { return Zip; }
public Location setZip(String value) { this.Zip = value; return this; }
public String getPhone() { return Phone; }
public Location setPhone(String value) { this.Phone = value; return this; }
public String getFax() { return Fax; }
public Location setFax(String value) { this.Fax = value; return this; }
public String getUrl() { return URL; }
public Location setUrl(String value) { this.URL = value; return this; }
public String getEmail() { return Email; }
public Location setEmail(String value) { this.Email = value; return this; }
public String getTimeZone() { return TimeZone; }
public Location setTimeZone(String value) { this.TimeZone = value; return this; }
public Boolean isActive() { return Active; }
public Location setActive(Boolean value) { this.Active = value; return this; }
public Date getEntDate() { return EntDate; }
public Location setEntDate(Date value) { this.EntDate = value; return this; }
public Date getModDate() { return ModDate; }
public Location setModDate(Date value) { this.ModDate = value; return this; }
public String getLocationImage() { return LocationImage; }
public Location setLocationImage(String value) { this.LocationImage = value; return this; }
}
public static class Agent
{
public Integer AgentId = null;
public String Company = null;
public String AgentName = null;
public String FirstName = null;
public String LastName = null;
public String MiddleInitial = null;
public String Address1 = null;
public String Address2 = null;
public String City = null;
public String State = null;
public String Zip = null;
public String Country = null;
public String Email = null;
public String EmailSignature = null;
public String HomePhone = null;
public String CellPhone = null;
public String WorkPhone = null;
public Boolean InsLicensed = null;
public Boolean AgreeToDisclosures = null;
public Date AgreeToDate = null;
public Date PaidDate = null;
public String AgentNumber = null;
public String ReferringAgent = null;
public String PlacementAgent = null;
public Date CreatedDate = null;
public UUID UserId = null;
public Boolean IsAgent = null;
public String Package = null;
public String StoreName = null;
public String Notes = null;
public Integer Upline1 = null;
public Integer Upline2 = null;
public Integer Upline3 = null;
public Integer Upline4 = null;
public Integer MVPID = null;
public Integer AVPID = null;
public Integer RVPID = null;
public BigDecimal AgentLevel = null;
public Boolean IsMVP = null;
public Boolean IsRVP = null;
public Boolean IsAVP = null;
public Boolean IsAdmin = null;
public Boolean IsBusinessCardAdmin = null;
public String TeamName = null;
public UUID LocationId = null;
public UUID CalendarId = null;
public String Rank = null;
public Boolean NBC = null;
public BigDecimal Upline1Percent = null;
public BigDecimal Upline2Percent = null;
public BigDecimal Upline3Percent = null;
public BigDecimal Upline4Percent = null;
public String AgentStatus = null;
public String Office = null;
public Date DOB = null;
public String SSN = null;
public String Fax = null;
public String BusinessEmail = null;
public Date ModifiedDate = null;
public String ModifiedBy = null;
public String TimeZone = null;
public Boolean LeaderLocked = null;
public Date LastSubmittedBusinessDate = null;
public Date GracePeriodDate = null;
public Boolean Vested = null;
public Date DirectPay = null;
public String DirectPayApprBy = null;
public BigDecimal FactFinderBilling = null;
public String FullName = null;
public String ByLastName = null;
public Boolean IsSecurityLicensed = null;
public Boolean IsEncompassAdmin = null;
public UUID ApiKey = null;
public String LastSessionId = null;
public Date LastLogin = null;
public Boolean MfaActive = null;
public Boolean RequireMFA = null;
public String SMSPhoneNumber = null;
public Boolean VerifiedEmailStatus = null;
public Boolean VerifiedCellPhoneStatus = null;
public String SchedulerUrl = null;
public QueueDefault QueueDefaults = null;
public ArrayList<String> Roles = new ArrayList<String>();
public Boolean PasswordUpdated = null;
public Boolean RestrictToSingleSession = null;
public String AgentImage = null;
public Integer getAgentId() { return AgentId; }
public Agent setAgentId(Integer value) { this.AgentId = value; return this; }
public String getCompany() { return Company; }
public Agent setCompany(String value) { this.Company = value; return this; }
public String getAgentName() { return AgentName; }
public Agent setAgentName(String value) { this.AgentName = value; return this; }
public String getFirstName() { return FirstName; }
public Agent setFirstName(String value) { this.FirstName = value; return this; }
public String getLastName() { return LastName; }
public Agent setLastName(String value) { this.LastName = value; return this; }
public String getMiddleInitial() { return MiddleInitial; }
public Agent setMiddleInitial(String value) { this.MiddleInitial = value; return this; }
public String getAddress1() { return Address1; }
public Agent setAddress1(String value) { this.Address1 = value; return this; }
public String getAddress2() { return Address2; }
public Agent setAddress2(String value) { this.Address2 = value; return this; }
public String getCity() { return City; }
public Agent setCity(String value) { this.City = value; return this; }
public String getState() { return State; }
public Agent setState(String value) { this.State = value; return this; }
public String getZip() { return Zip; }
public Agent setZip(String value) { this.Zip = value; return this; }
public String getCountry() { return Country; }
public Agent setCountry(String value) { this.Country = value; return this; }
public String getEmail() { return Email; }
public Agent setEmail(String value) { this.Email = value; return this; }
public String getEmailSignature() { return EmailSignature; }
public Agent setEmailSignature(String value) { this.EmailSignature = value; return this; }
public String getHomePhone() { return HomePhone; }
public Agent setHomePhone(String value) { this.HomePhone = value; return this; }
public String getCellPhone() { return CellPhone; }
public Agent setCellPhone(String value) { this.CellPhone = value; return this; }
public String getWorkPhone() { return WorkPhone; }
public Agent setWorkPhone(String value) { this.WorkPhone = value; return this; }
public Boolean isInsLicensed() { return InsLicensed; }
public Agent setInsLicensed(Boolean value) { this.InsLicensed = value; return this; }
public Boolean isAgreeToDisclosures() { return AgreeToDisclosures; }
public Agent setAgreeToDisclosures(Boolean value) { this.AgreeToDisclosures = value; return this; }
public Date getAgreeToDate() { return AgreeToDate; }
public Agent setAgreeToDate(Date value) { this.AgreeToDate = value; return this; }
public Date getPaidDate() { return PaidDate; }
public Agent setPaidDate(Date value) { this.PaidDate = value; return this; }
public String getAgentNumber() { return AgentNumber; }
public Agent setAgentNumber(String value) { this.AgentNumber = value; return this; }
public String getReferringAgent() { return ReferringAgent; }
public Agent setReferringAgent(String value) { this.ReferringAgent = value; return this; }
public String getPlacementAgent() { return PlacementAgent; }
public Agent setPlacementAgent(String value) { this.PlacementAgent = value; return this; }
public Date getCreatedDate() { return CreatedDate; }
public Agent setCreatedDate(Date value) { this.CreatedDate = value; return this; }
public UUID getUserId() { return UserId; }
public Agent setUserId(UUID value) { this.UserId = value; return this; }
public Boolean getIsAgent() { return IsAgent; }
public Agent setIsAgent(Boolean value) { this.IsAgent = value; return this; }
public String getPackage() { return Package; }
public Agent setPackage(String value) { this.Package = value; return this; }
public String getStoreName() { return StoreName; }
public Agent setStoreName(String value) { this.StoreName = value; return this; }
public String getNotes() { return Notes; }
public Agent setNotes(String value) { this.Notes = value; return this; }
public Integer getUpline1() { return Upline1; }
public Agent setUpline1(Integer value) { this.Upline1 = value; return this; }
public Integer getUpline2() { return Upline2; }
public Agent setUpline2(Integer value) { this.Upline2 = value; return this; }
public Integer getUpline3() { return Upline3; }
public Agent setUpline3(Integer value) { this.Upline3 = value; return this; }
public Integer getUpline4() { return Upline4; }
public Agent setUpline4(Integer value) { this.Upline4 = value; return this; }
public Integer getMvpid() { return MVPID; }
public Agent setMvpid(Integer value) { this.MVPID = value; return this; }
public Integer getAvpid() { return AVPID; }
public Agent setAvpid(Integer value) { this.AVPID = value; return this; }
public Integer getRvpid() { return RVPID; }
public Agent setRvpid(Integer value) { this.RVPID = value; return this; }
public BigDecimal getAgentLevel() { return AgentLevel; }
public Agent setAgentLevel(BigDecimal value) { this.AgentLevel = value; return this; }
public Boolean getIsMVP() { return IsMVP; }
public Agent setIsMVP(Boolean value) { this.IsMVP = value; return this; }
public Boolean getIsRVP() { return IsRVP; }
public Agent setIsRVP(Boolean value) { this.IsRVP = value; return this; }
public Boolean getIsAVP() { return IsAVP; }
public Agent setIsAVP(Boolean value) { this.IsAVP = value; return this; }
public Boolean getIsAdmin() { return IsAdmin; }
public Agent setIsAdmin(Boolean value) { this.IsAdmin = value; return this; }
public Boolean getIsBusinessCardAdmin() { return IsBusinessCardAdmin; }
public Agent setIsBusinessCardAdmin(Boolean value) { this.IsBusinessCardAdmin = value; return this; }
public String getTeamName() { return TeamName; }
public Agent setTeamName(String value) { this.TeamName = value; return this; }
public UUID getLocationId() { return LocationId; }
public Agent setLocationId(UUID value) { this.LocationId = value; return this; }
public UUID getCalendarId() { return CalendarId; }
public Agent setCalendarId(UUID value) { this.CalendarId = value; return this; }
public String getRank() { return Rank; }
public Agent setRank(String value) { this.Rank = value; return this; }
public Boolean isNbc() { return NBC; }
public Agent setNbc(Boolean value) { this.NBC = value; return this; }
public BigDecimal getUpline1Percent() { return Upline1Percent; }
public Agent setUpline1Percent(BigDecimal value) { this.Upline1Percent = value; return this; }
public BigDecimal getUpline2Percent() { return Upline2Percent; }
public Agent setUpline2Percent(BigDecimal value) { this.Upline2Percent = value; return this; }
public BigDecimal getUpline3Percent() { return Upline3Percent; }
public Agent setUpline3Percent(BigDecimal value) { this.Upline3Percent = value; return this; }
public BigDecimal getUpline4Percent() { return Upline4Percent; }
public Agent setUpline4Percent(BigDecimal value) { this.Upline4Percent = value; return this; }
public String getAgentStatus() { return AgentStatus; }
public Agent setAgentStatus(String value) { this.AgentStatus = value; return this; }
public String getOffice() { return Office; }
public Agent setOffice(String value) { this.Office = value; return this; }
public Date getDob() { return DOB; }
public Agent setDob(Date value) { this.DOB = value; return this; }
public String getSsn() { return SSN; }
public Agent setSsn(String value) { this.SSN = value; return this; }
public String getFax() { return Fax; }
public Agent setFax(String value) { this.Fax = value; return this; }
public String getBusinessEmail() { return BusinessEmail; }
public Agent setBusinessEmail(String value) { this.BusinessEmail = value; return this; }
public Date getModifiedDate() { return ModifiedDate; }
public Agent setModifiedDate(Date value) { this.ModifiedDate = value; return this; }
public String getModifiedBy() { return ModifiedBy; }
public Agent setModifiedBy(String value) { this.ModifiedBy = value; return this; }
public String getTimeZone() { return TimeZone; }
public Agent setTimeZone(String value) { this.TimeZone = value; return this; }
public Boolean isLeaderLocked() { return LeaderLocked; }
public Agent setLeaderLocked(Boolean value) { this.LeaderLocked = value; return this; }
public Date getLastSubmittedBusinessDate() { return LastSubmittedBusinessDate; }
public Agent setLastSubmittedBusinessDate(Date value) { this.LastSubmittedBusinessDate = value; return this; }
public Date getGracePeriodDate() { return GracePeriodDate; }
public Agent setGracePeriodDate(Date value) { this.GracePeriodDate = value; return this; }
public Boolean isVested() { return Vested; }
public Agent setVested(Boolean value) { this.Vested = value; return this; }
public Date getDirectPay() { return DirectPay; }
public Agent setDirectPay(Date value) { this.DirectPay = value; return this; }
public String getDirectPayApprBy() { return DirectPayApprBy; }
public Agent setDirectPayApprBy(String value) { this.DirectPayApprBy = value; return this; }
public BigDecimal getFactFinderBilling() { return FactFinderBilling; }
public Agent setFactFinderBilling(BigDecimal value) { this.FactFinderBilling = value; return this; }
public String getFullName() { return FullName; }
public Agent setFullName(String value) { this.FullName = value; return this; }
public String getByLastName() { return ByLastName; }
public Agent setByLastName(String value) { this.ByLastName = value; return this; }
public Boolean getIsSecurityLicensed() { return IsSecurityLicensed; }
public Agent setIsSecurityLicensed(Boolean value) { this.IsSecurityLicensed = value; return this; }
public Boolean getIsEncompassAdmin() { return IsEncompassAdmin; }
public Agent setIsEncompassAdmin(Boolean value) { this.IsEncompassAdmin = value; return this; }
public UUID getApiKey() { return ApiKey; }
public Agent setApiKey(UUID value) { this.ApiKey = value; return this; }
public String getLastSessionId() { return LastSessionId; }
public Agent setLastSessionId(String value) { this.LastSessionId = value; return this; }
public Date getLastLogin() { return LastLogin; }
public Agent setLastLogin(Date value) { this.LastLogin = value; return this; }
public Boolean isMfaActive() { return MfaActive; }
public Agent setMfaActive(Boolean value) { this.MfaActive = value; return this; }
public Boolean isRequireMFA() { return RequireMFA; }
public Agent setRequireMFA(Boolean value) { this.RequireMFA = value; return this; }
public String getSmsPhoneNumber() { return SMSPhoneNumber; }
public Agent setSmsPhoneNumber(String value) { this.SMSPhoneNumber = value; return this; }
public Boolean isVerifiedEmailStatus() { return VerifiedEmailStatus; }
public Agent setVerifiedEmailStatus(Boolean value) { this.VerifiedEmailStatus = value; return this; }
public Boolean isVerifiedCellPhoneStatus() { return VerifiedCellPhoneStatus; }
public Agent setVerifiedCellPhoneStatus(Boolean value) { this.VerifiedCellPhoneStatus = value; return this; }
public String getSchedulerUrl() { return SchedulerUrl; }
public Agent setSchedulerUrl(String value) { this.SchedulerUrl = value; return this; }
public QueueDefault getQueueDefaults() { return QueueDefaults; }
public Agent setQueueDefaults(QueueDefault value) { this.QueueDefaults = value; return this; }
public ArrayList<String> getRoles() { return Roles; }
public Agent setRoles(ArrayList<String> value) { this.Roles = value; return this; }
public Boolean isPasswordUpdated() { return PasswordUpdated; }
public Agent setPasswordUpdated(Boolean value) { this.PasswordUpdated = value; return this; }
public Boolean isRestrictToSingleSession() { return RestrictToSingleSession; }
public Agent setRestrictToSingleSession(Boolean value) { this.RestrictToSingleSession = value; return this; }
public String getAgentImage() { return AgentImage; }
public Agent setAgentImage(String value) { this.AgentImage = value; return this; }
}
public static class QueueDefault
{
public UUID LocationId = null;
public ArrayList<UUID> Services = new ArrayList<UUID>();
public UUID getLocationId() { return LocationId; }
public QueueDefault setLocationId(UUID value) { this.LocationId = value; return this; }
public ArrayList<UUID> getServices() { return Services; }
public QueueDefault setServices(ArrayList<UUID> value) { this.Services = value; return this; }
}
public static class SchedulerWeek
{
public SchedulerConfiguration Settings = null;
public ArrayList<SchedulerDay> Days = new ArrayList<SchedulerDay>();
public SchedulerConfiguration getSettings() { return Settings; }
public SchedulerWeek setSettings(SchedulerConfiguration value) { this.Settings = value; return this; }
public ArrayList<SchedulerDay> getDays() { return Days; }
public SchedulerWeek setDays(ArrayList<SchedulerDay> value) { this.Days = value; return this; }
}
public static class SchedulerConfiguration
{
public Integer ConfigId = null;
public String SchedulerUrl = null;
public String SchedulerName = null;
public String DefaultLocation = null;
public String DefaultSummary = null;
public String DefaultDescription = null;
public TimeSpan DayStart = null;
public String DayStartFriendly = null;
public TimeSpan DayEnd = null;
public String DayEndFriendly = null;
public Integer TimeslotDuration = null;
public Integer NumberOfSlots = null;
public UUID LocationId = null;
public UUID CalendarId = null;
public Integer AgentId = null;
public String TimeZone = null;
public ArrayList<ScheduleConfigDay> AvailableDateTimes = new ArrayList<ScheduleConfigDay>();
public ArrayList<UUID> AvailableServices = new ArrayList<UUID>();
public ArrayList<Line> AllServices = new ArrayList<Line>();
public Integer getConfigId() { return ConfigId; }
public SchedulerConfiguration setConfigId(Integer value) { this.ConfigId = value; return this; }
public String getSchedulerUrl() { return SchedulerUrl; }
public SchedulerConfiguration setSchedulerUrl(String value) { this.SchedulerUrl = value; return this; }
public String getSchedulerName() { return SchedulerName; }
public SchedulerConfiguration setSchedulerName(String value) { this.SchedulerName = value; return this; }
public String getDefaultLocation() { return DefaultLocation; }
public SchedulerConfiguration setDefaultLocation(String value) { this.DefaultLocation = value; return this; }
public String getDefaultSummary() { return DefaultSummary; }
public SchedulerConfiguration setDefaultSummary(String value) { this.DefaultSummary = value; return this; }
public String getDefaultDescription() { return DefaultDescription; }
public SchedulerConfiguration setDefaultDescription(String value) { this.DefaultDescription = value; return this; }
public TimeSpan getDayStart() { return DayStart; }
public SchedulerConfiguration setDayStart(TimeSpan value) { this.DayStart = value; return this; }
public String getDayStartFriendly() { return DayStartFriendly; }
public SchedulerConfiguration setDayStartFriendly(String value) { this.DayStartFriendly = value; return this; }
public TimeSpan getDayEnd() { return DayEnd; }
public SchedulerConfiguration setDayEnd(TimeSpan value) { this.DayEnd = value; return this; }
public String getDayEndFriendly() { return DayEndFriendly; }
public SchedulerConfiguration setDayEndFriendly(String value) { this.DayEndFriendly = value; return this; }
public Integer getTimeslotDuration() { return TimeslotDuration; }
public SchedulerConfiguration setTimeslotDuration(Integer value) { this.TimeslotDuration = value; return this; }
public Integer getNumberOfSlots() { return NumberOfSlots; }
public SchedulerConfiguration setNumberOfSlots(Integer value) { this.NumberOfSlots = value; return this; }
public UUID getLocationId() { return LocationId; }
public SchedulerConfiguration setLocationId(UUID value) { this.LocationId = value; return this; }
public UUID getCalendarId() { return CalendarId; }
public SchedulerConfiguration setCalendarId(UUID value) { this.CalendarId = value; return this; }
public Integer getAgentId() { return AgentId; }
public SchedulerConfiguration setAgentId(Integer value) { this.AgentId = value; return this; }
public String getTimeZone() { return TimeZone; }
public SchedulerConfiguration setTimeZone(String value) { this.TimeZone = value; return this; }
public ArrayList<ScheduleConfigDay> getAvailableDateTimes() { return AvailableDateTimes; }
public SchedulerConfiguration setAvailableDateTimes(ArrayList<ScheduleConfigDay> value) { this.AvailableDateTimes = value; return this; }
public ArrayList<UUID> getAvailableServices() { return AvailableServices; }
public SchedulerConfiguration setAvailableServices(ArrayList<UUID> value) { this.AvailableServices = value; return this; }
public ArrayList<Line> getAllServices() { return AllServices; }
public SchedulerConfiguration setAllServices(ArrayList<Line> value) { this.AllServices = value; return this; }
}
public static class ScheduleConfigDay
{
public String DayName = null;
public Integer DayNumber = null;
public Boolean DayEnabled = null;
public ArrayList<ScheduleConfigTimeBlock> TimeBlocks = new ArrayList<ScheduleConfigTimeBlock>();
public String getDayName() { return DayName; }
public ScheduleConfigDay setDayName(String value) { this.DayName = value; return this; }
public Integer getDayNumber() { return DayNumber; }
public ScheduleConfigDay setDayNumber(Integer value) { this.DayNumber = value; return this; }
public Boolean isDayEnabled() { return DayEnabled; }
public ScheduleConfigDay setDayEnabled(Boolean value) { this.DayEnabled = value; return this; }
public ArrayList<ScheduleConfigTimeBlock> getTimeBlocks() { return TimeBlocks; }
public ScheduleConfigDay setTimeBlocks(ArrayList<ScheduleConfigTimeBlock> value) { this.TimeBlocks = value; return this; }
}
public static class ScheduleConfigTimeBlock
{
public TimeSpan StartTime = null;
public String DayStartFriendly = null;
public TimeSpan EndTime = null;
public String DayEndFriendly = null;
public TimeSpan getStartTime() { return StartTime; }
public ScheduleConfigTimeBlock setStartTime(TimeSpan value) { this.StartTime = value; return this; }
public String getDayStartFriendly() { return DayStartFriendly; }
public ScheduleConfigTimeBlock setDayStartFriendly(String value) { this.DayStartFriendly = value; return this; }
public TimeSpan getEndTime() { return EndTime; }
public ScheduleConfigTimeBlock setEndTime(TimeSpan value) { this.EndTime = value; return this; }
public String getDayEndFriendly() { return DayEndFriendly; }
public ScheduleConfigTimeBlock setDayEndFriendly(String value) { this.DayEndFriendly = value; return this; }
}
public static class Line
{
public UUID Id = null;
public UUID LocationId = null;
public String LocationName = null;
public String Name = null;
public String Description = null;
public Integer ServiceDurationMinutes = null;
public Integer WaitTime = null;
public BigDecimal Cost = null;
public Integer UpperThreshold = null;
public Integer LowerThreshold = null;
public Boolean Active = null;
public Date EntDate = null;
public Date ModDate = null;
public Boolean SendQuestionnaire = null;
public Boolean RequireUpload = null;
public String UploadMessage = null;
public ArrayList<LineImage> LineImages = new ArrayList<LineImage>();
public UUID getId() { return Id; }
public Line setId(UUID value) { this.Id = value; return this; }
public UUID getLocationId() { return LocationId; }
public Line setLocationId(UUID value) { this.LocationId = value; return this; }
public String getLocationName() { return LocationName; }
public Line setLocationName(String value) { this.LocationName = value; return this; }
public String getName() { return Name; }
public Line setName(String value) { this.Name = value; return this; }
public String getDescription() { return Description; }
public Line setDescription(String value) { this.Description = value; return this; }
public Integer getServiceDurationMinutes() { return ServiceDurationMinutes; }
public Line setServiceDurationMinutes(Integer value) { this.ServiceDurationMinutes = value; return this; }
public Integer getWaitTime() { return WaitTime; }
public Line setWaitTime(Integer value) { this.WaitTime = value; return this; }
public BigDecimal getCost() { return Cost; }
public Line setCost(BigDecimal value) { this.Cost = value; return this; }
public Integer getUpperThreshold() { return UpperThreshold; }
public Line setUpperThreshold(Integer value) { this.UpperThreshold = value; return this; }
public Integer getLowerThreshold() { return LowerThreshold; }
public Line setLowerThreshold(Integer value) { this.LowerThreshold = value; return this; }
public Boolean isActive() { return Active; }
public Line setActive(Boolean value) { this.Active = value; return this; }
public Date getEntDate() { return EntDate; }
public Line setEntDate(Date value) { this.EntDate = value; return this; }
public Date getModDate() { return ModDate; }
public Line setModDate(Date value) { this.ModDate = value; return this; }
public Boolean isSendQuestionnaire() { return SendQuestionnaire; }
public Line setSendQuestionnaire(Boolean value) { this.SendQuestionnaire = value; return this; }
public Boolean isRequireUpload() { return RequireUpload; }
public Line setRequireUpload(Boolean value) { this.RequireUpload = value; return this; }
public String getUploadMessage() { return UploadMessage; }
public Line setUploadMessage(String value) { this.UploadMessage = value; return this; }
public ArrayList<LineImage> getLineImages() { return LineImages; }
public Line setLineImages(ArrayList<LineImage> value) { this.LineImages = value; return this; }
}
public static class LineImage
{
public UUID ImageId = null;
public UUID LineId = null;
public String ImageTitle = null;
public Date UploadDate = null;
public String MimeType = null;
public String FileName = null;
public UUID getImageId() { return ImageId; }
public LineImage setImageId(UUID value) { this.ImageId = value; return this; }
public UUID getLineId() { return LineId; }
public LineImage setLineId(UUID value) { this.LineId = value; return this; }
public String getImageTitle() { return ImageTitle; }
public LineImage setImageTitle(String value) { this.ImageTitle = value; return this; }
public Date getUploadDate() { return UploadDate; }
public LineImage setUploadDate(Date value) { this.UploadDate = value; return this; }
public String getMimeType() { return MimeType; }
public LineImage setMimeType(String value) { this.MimeType = value; return this; }
public String getFileName() { return FileName; }
public LineImage setFileName(String value) { this.FileName = value; return this; }
}
public static class SchedulerDay
{
public Date Day = null;
public Integer MonthNumber = null;
public Integer DayNumber = null;
public String DayOfWeek = null;
public ArrayList<SchedulerTimeslot> Timeslots = new ArrayList<SchedulerTimeslot>();
public Date getDay() { return Day; }
public SchedulerDay setDay(Date value) { this.Day = value; return this; }
public Integer getMonthNumber() { return MonthNumber; }
public SchedulerDay setMonthNumber(Integer value) { this.MonthNumber = value; return this; }
public Integer getDayNumber() { return DayNumber; }
public SchedulerDay setDayNumber(Integer value) { this.DayNumber = value; return this; }
public String getDayOfWeek() { return DayOfWeek; }
public SchedulerDay setDayOfWeek(String value) { this.DayOfWeek = value; return this; }
public ArrayList<SchedulerTimeslot> getTimeslots() { return Timeslots; }
public SchedulerDay setTimeslots(ArrayList<SchedulerTimeslot> value) { this.Timeslots = value; return this; }
}
public static class SchedulerTimeslot
{
public Date Day = null;
public TimeSpan Time = null;
public Integer Duration = null;
public Date StartDateTime = null;
public Date EndDateTime = null;
public String TimeFriendly = null;
public Contact Contact = null;
public ArrayList<UUID> ServiceIds = new ArrayList<UUID>();
public UUID LocationId = null;
public Boolean Unavailable = null;
public ArrayList<Integer> BookedIds = new ArrayList<Integer>();
public UUID CalendarId = null;
public String SchedulerUrl = null;
public Date getDay() { return Day; }
public SchedulerTimeslot setDay(Date value) { this.Day = value; return this; }
public TimeSpan getTime() { return Time; }
public SchedulerTimeslot setTime(TimeSpan value) { this.Time = value; return this; }
public Integer getDuration() { return Duration; }
public SchedulerTimeslot setDuration(Integer value) { this.Duration = value; return this; }
public Date getStartDateTime() { return StartDateTime; }
public SchedulerTimeslot setStartDateTime(Date value) { this.StartDateTime = value; return this; }
public Date getEndDateTime() { return EndDateTime; }
public SchedulerTimeslot setEndDateTime(Date value) { this.EndDateTime = value; return this; }
public String getTimeFriendly() { return TimeFriendly; }
public SchedulerTimeslot setTimeFriendly(String value) { this.TimeFriendly = value; return this; }
public Contact getContact() { return Contact; }
public SchedulerTimeslot setContact(Contact value) { this.Contact = value; return this; }
public ArrayList<UUID> getServiceIds() { return ServiceIds; }
public SchedulerTimeslot setServiceIds(ArrayList<UUID> value) { this.ServiceIds = value; return this; }
public UUID getLocationId() { return LocationId; }
public SchedulerTimeslot setLocationId(UUID value) { this.LocationId = value; return this; }
public Boolean isUnavailable() { return Unavailable; }
public SchedulerTimeslot setUnavailable(Boolean value) { this.Unavailable = value; return this; }
public ArrayList<Integer> getBookedIds() { return BookedIds; }
public SchedulerTimeslot setBookedIds(ArrayList<Integer> value) { this.BookedIds = value; return this; }
public UUID getCalendarId() { return CalendarId; }
public SchedulerTimeslot setCalendarId(UUID value) { this.CalendarId = value; return this; }
public String getSchedulerUrl() { return SchedulerUrl; }
public SchedulerTimeslot setSchedulerUrl(String value) { this.SchedulerUrl = value; return this; }
}
public static class Contact
{
public Integer ContactId = null;
public Integer ContactType = null;
public String FirstName = null;
public String LastName = null;
public String Name = null;
public String Role = null;
public String Title = null;
public String EmailWork = null;
public String EmailPersonal = null;
public String District = null;
public Integer DistrictID = null;
public String School = null;
public Long SchoolID = null;
public String State = null;
public String StateName = null;
public Long StateID = null;
public Long CountyID = null;
public String County = null;
public String Phone = null;
public String Department = null;
public String Flow = null;
public Date LastContact = null;
public Boolean DoNotContact = null;
public Boolean Active = null;
public Integer AgentId = null;
public String PhoneAlt = null;
public Integer PeraContactId = null;
public String RoomNumber = null;
public Integer SourceTypeId = null;
public String SourceTypeDesc = null;
public String SourceNote = null;
public Integer ContactStatusId = null;
public String ContactStatusDesc = null;
public String SSN = null;
public Date DateOfBirth = null;
public Boolean Deleted = null;
public Boolean IsShared = null;
public String address_line1 = null;
public String address_city = null;
public String address_state = null;
public String address_zip = null;
public String DeletedBy = null;
public Date DeletedDateTimeUtc = null;
public Boolean HasNBC = null;
public Boolean HasFactFinderSheet = null;
public String MiddleInitial = null;
public String Tags = null;
public Date DateCreated = null;
public String PhoneLabel = null;
public String AltPhoneLabel = null;
public String Carriers = null;
public String ContactImage = null;
public String CompanyAffiliation = null;
public String AdditionalInformation = null;
public Boolean HasGiftCard = null;
public Integer ContactCategory = null;
public Integer WritingAgentId = null;
public String WritingAgentName = null;
public String MaritalStatus = null;
public BigDecimal TotalDebtAmount = null;
public Integer NumberOfDebtAccounts = null;
public Integer FactFinderCodeId = null;
public String BusinessName = null;
public String DBA = null;
public UUID ContactGUID = null;
public Date ProjectEndDate = null;
public Integer Rate = null;
public Integer JobID = null;
public String JobName = null;
public Integer JobCount = null;
public Boolean Locked = null;
public Integer LockedByAgentId = null;
public Date LockedTimestamp = null;
public String Initials = null;
public String ContactCategoryName = null;
public Boolean SMSOptIn = null;
public Integer getContactId() { return ContactId; }
public Contact setContactId(Integer value) { this.ContactId = value; return this; }
public Integer getContactType() { return ContactType; }
public Contact setContactType(Integer value) { this.ContactType = value; return this; }
public String getFirstName() { return FirstName; }
public Contact setFirstName(String value) { this.FirstName = value; return this; }
public String getLastName() { return LastName; }
public Contact setLastName(String value) { this.LastName = value; return this; }
public String getName() { return Name; }
public Contact setName(String value) { this.Name = value; return this; }
public String getRole() { return Role; }
public Contact setRole(String value) { this.Role = value; return this; }
public String getTitle() { return Title; }
public Contact setTitle(String value) { this.Title = value; return this; }
public String getEmailWork() { return EmailWork; }
public Contact setEmailWork(String value) { this.EmailWork = value; return this; }
public String getEmailPersonal() { return EmailPersonal; }
public Contact setEmailPersonal(String value) { this.EmailPersonal = value; return this; }
public String getDistrict() { return District; }
public Contact setDistrict(String value) { this.District = value; return this; }
public Integer getDistrictID() { return DistrictID; }
public Contact setDistrictID(Integer value) { this.DistrictID = value; return this; }
public String getSchool() { return School; }
public Contact setSchool(String value) { this.School = value; return this; }
public Long getSchoolID() { return SchoolID; }
public Contact setSchoolID(Long value) { this.SchoolID = value; return this; }
public String getState() { return State; }
public Contact setState(String value) { this.State = value; return this; }
public String getStateName() { return StateName; }
public Contact setStateName(String value) { this.StateName = value; return this; }
public Long getStateID() { return StateID; }
public Contact setStateID(Long value) { this.StateID = value; return this; }
public Long getCountyID() { return CountyID; }
public Contact setCountyID(Long value) { this.CountyID = value; return this; }
public String getCounty() { return County; }
public Contact setCounty(String value) { this.County = value; return this; }
public String getPhone() { return Phone; }
public Contact setPhone(String value) { this.Phone = value; return this; }
public String getDepartment() { return Department; }
public Contact setDepartment(String value) { this.Department = value; return this; }
public String getFlow() { return Flow; }
public Contact setFlow(String value) { this.Flow = value; return this; }
public Date getLastContact() { return LastContact; }
public Contact setLastContact(Date value) { this.LastContact = value; return this; }
public Boolean isDoNotContact() { return DoNotContact; }
public Contact setDoNotContact(Boolean value) { this.DoNotContact = value; return this; }
public Boolean isActive() { return Active; }
public Contact setActive(Boolean value) { this.Active = value; return this; }
public Integer getAgentId() { return AgentId; }
public Contact setAgentId(Integer value) { this.AgentId = value; return this; }
public String getPhoneAlt() { return PhoneAlt; }
public Contact setPhoneAlt(String value) { this.PhoneAlt = value; return this; }
public Integer getPeraContactId() { return PeraContactId; }
public Contact setPeraContactId(Integer value) { this.PeraContactId = value; return this; }
public String getRoomNumber() { return RoomNumber; }
public Contact setRoomNumber(String value) { this.RoomNumber = value; return this; }
public Integer getSourceTypeId() { return SourceTypeId; }
public Contact setSourceTypeId(Integer value) { this.SourceTypeId = value; return this; }
public String getSourceTypeDesc() { return SourceTypeDesc; }
public Contact setSourceTypeDesc(String value) { this.SourceTypeDesc = value; return this; }
public String getSourceNote() { return SourceNote; }
public Contact setSourceNote(String value) { this.SourceNote = value; return this; }
public Integer getContactStatusId() { return ContactStatusId; }
public Contact setContactStatusId(Integer value) { this.ContactStatusId = value; return this; }
public String getContactStatusDesc() { return ContactStatusDesc; }
public Contact setContactStatusDesc(String value) { this.ContactStatusDesc = value; return this; }
public String getSsn() { return SSN; }
public Contact setSsn(String value) { this.SSN = value; return this; }
public Date getDateOfBirth() { return DateOfBirth; }
public Contact setDateOfBirth(Date value) { this.DateOfBirth = value; return this; }
public Boolean isDeleted() { return Deleted; }
public Contact setDeleted(Boolean value) { this.Deleted = value; return this; }
public Boolean getIsShared() { return IsShared; }
public Contact setIsShared(Boolean value) { this.IsShared = value; return this; }
public String getAddressLine1() { return address_line1; }
public Contact setAddressLine1(String value) { this.address_line1 = value; return this; }
public String getAddressCity() { return address_city; }
public Contact setAddressCity(String value) { this.address_city = value; return this; }
public String getAddressState() { return address_state; }
public Contact setAddressState(String value) { this.address_state = value; return this; }
public String getAddressZip() { return address_zip; }
public Contact setAddressZip(String value) { this.address_zip = value; return this; }
public String getDeletedBy() { return DeletedBy; }
public Contact setDeletedBy(String value) { this.DeletedBy = value; return this; }
public Date getDeletedDateTimeUtc() { return DeletedDateTimeUtc; }
public Contact setDeletedDateTimeUtc(Date value) { this.DeletedDateTimeUtc = value; return this; }
public Boolean isHasNBC() { return HasNBC; }
public Contact setHasNBC(Boolean value) { this.HasNBC = value; return this; }
public Boolean isHasFactFinderSheet() { return HasFactFinderSheet; }
public Contact setHasFactFinderSheet(Boolean value) { this.HasFactFinderSheet = value; return this; }
public String getMiddleInitial() { return MiddleInitial; }
public Contact setMiddleInitial(String value) { this.MiddleInitial = value; return this; }
public String getTags() { return Tags; }
public Contact setTags(String value) { this.Tags = value; return this; }
public Date getDateCreated() { return DateCreated; }
public Contact setDateCreated(Date value) { this.DateCreated = value; return this; }
public String getPhoneLabel() { return PhoneLabel; }
public Contact setPhoneLabel(String value) { this.PhoneLabel = value; return this; }
public String getAltPhoneLabel() { return AltPhoneLabel; }
public Contact setAltPhoneLabel(String value) { this.AltPhoneLabel = value; return this; }
public String getCarriers() { return Carriers; }
public Contact setCarriers(String value) { this.Carriers = value; return this; }
public String getContactImage() { return ContactImage; }
public Contact setContactImage(String value) { this.ContactImage = value; return this; }
public String getCompanyAffiliation() { return CompanyAffiliation; }
public Contact setCompanyAffiliation(String value) { this.CompanyAffiliation = value; return this; }
public String getAdditionalInformation() { return AdditionalInformation; }
public Contact setAdditionalInformation(String value) { this.AdditionalInformation = value; return this; }
public Boolean isHasGiftCard() { return HasGiftCard; }
public Contact setHasGiftCard(Boolean value) { this.HasGiftCard = value; return this; }
public Integer getContactCategory() { return ContactCategory; }
public Contact setContactCategory(Integer value) { this.ContactCategory = value; return this; }
public Integer getWritingAgentId() { return WritingAgentId; }
public Contact setWritingAgentId(Integer value) { this.WritingAgentId = value; return this; }
public String getWritingAgentName() { return WritingAgentName; }
public Contact setWritingAgentName(String value) { this.WritingAgentName = value; return this; }
public String getMaritalStatus() { return MaritalStatus; }
public Contact setMaritalStatus(String value) { this.MaritalStatus = value; return this; }
public BigDecimal getTotalDebtAmount() { return TotalDebtAmount; }
public Contact setTotalDebtAmount(BigDecimal value) { this.TotalDebtAmount = value; return this; }
public Integer getNumberOfDebtAccounts() { return NumberOfDebtAccounts; }
public Contact setNumberOfDebtAccounts(Integer value) { this.NumberOfDebtAccounts = value; return this; }
public Integer getFactFinderCodeId() { return FactFinderCodeId; }
public Contact setFactFinderCodeId(Integer value) { this.FactFinderCodeId = value; return this; }
public String getBusinessName() { return BusinessName; }
public Contact setBusinessName(String value) { this.BusinessName = value; return this; }
public String getDba() { return DBA; }
public Contact setDba(String value) { this.DBA = value; return this; }
public UUID getContactGUID() { return ContactGUID; }
public Contact setContactGUID(UUID value) { this.ContactGUID = value; return this; }
public Date getProjectEndDate() { return ProjectEndDate; }
public Contact setProjectEndDate(Date value) { this.ProjectEndDate = value; return this; }
public Integer getRate() { return Rate; }
public Contact setRate(Integer value) { this.Rate = value; return this; }
public Integer getJobID() { return JobID; }
public Contact setJobID(Integer value) { this.JobID = value; return this; }
public String getJobName() { return JobName; }
public Contact setJobName(String value) { this.JobName = value; return this; }
public Integer getJobCount() { return JobCount; }
public Contact setJobCount(Integer value) { this.JobCount = value; return this; }
public Boolean isLocked() { return Locked; }
public Contact setLocked(Boolean value) { this.Locked = value; return this; }
public Integer getLockedByAgentId() { return LockedByAgentId; }
public Contact setLockedByAgentId(Integer value) { this.LockedByAgentId = value; return this; }
public Date getLockedTimestamp() { return LockedTimestamp; }
public Contact setLockedTimestamp(Date value) { this.LockedTimestamp = value; return this; }
public String getInitials() { return Initials; }
public Contact setInitials(String value) { this.Initials = value; return this; }
public String getContactCategoryName() { return ContactCategoryName; }
public Contact setContactCategoryName(String value) { this.ContactCategoryName = value; return this; }
public Boolean isSmsOptIn() { return SMSOptIn; }
public Contact setSmsOptIn(Boolean value) { this.SMSOptIn = value; return this; }
}
}
To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
GET /v1/Scheduler/{SchedulerUrl} HTTP/1.1
Host: api.dev.dynamics.trendsic.com
Accept: text/jsv
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length
{
Location:
{
Id: 00000000000000000000000000000000,
ClientId: 00000000000000000000000000000000,
Name: String,
Address1: String,
Address2: String,
City: String,
State: String,
Zip: String,
Phone: String,
Fax: String,
URL: String,
Email: String,
TimeZone: String,
Active: False,
EntDate: 0001-01-01,
ModDate: 0001-01-01,
LocationImage: String
},
Agent:
{
AgentId: 0,
Company: String,
AgentName: String,
FirstName: String,
LastName: String,
MiddleInitial: String,
Address1: String,
Address2: String,
City: String,
State: String,
Zip: String,
Country: String,
Email: String,
EmailSignature: String,
HomePhone: String,
CellPhone: String,
WorkPhone: String,
InsLicensed: False,
AgreeToDisclosures: False,
AgreeToDate: 0001-01-01,
PaidDate: 0001-01-01,
AgentNumber: String,
ReferringAgent: String,
PlacementAgent: String,
CreatedDate: 0001-01-01,
UserId: 00000000000000000000000000000000,
IsAgent: False,
Package: String,
StoreName: String,
Notes: String,
Upline1: 0,
Upline2: 0,
Upline3: 0,
Upline4: 0,
MVPID: 0,
AVPID: 0,
RVPID: 0,
AgentLevel: 0,
IsMVP: False,
IsRVP: False,
IsAVP: False,
IsAdmin: False,
IsBusinessCardAdmin: False,
TeamName: String,
LocationId: 00000000000000000000000000000000,
CalendarId: 00000000000000000000000000000000,
Rank: String,
NBC: False,
Upline1Percent: 0,
Upline2Percent: 0,
Upline3Percent: 0,
Upline4Percent: 0,
AgentStatus: String,
Office: String,
DOB: 0001-01-01,
SSN: String,
Fax: String,
BusinessEmail: String,
ModifiedDate: 0001-01-01,
ModifiedBy: String,
TimeZone: String,
LeaderLocked: False,
LastSubmittedBusinessDate: 0001-01-01,
GracePeriodDate: 0001-01-01,
Vested: False,
DirectPay: 0001-01-01,
DirectPayApprBy: String,
FactFinderBilling: 0,
FullName: String,
ByLastName: String,
IsSecurityLicensed: False,
IsEncompassAdmin: False,
ApiKey: 00000000000000000000000000000000,
LastSessionId: String,
LastLogin: 0001-01-01,
MfaActive: False,
RequireMFA: False,
SMSPhoneNumber: String,
VerifiedEmailStatus: False,
VerifiedCellPhoneStatus: False,
SchedulerUrl: String,
QueueDefaults:
{
LocationId: 00000000000000000000000000000000,
Services:
[
00000000000000000000000000000000
]
},
Roles:
[
String
],
PasswordUpdated: False,
RestrictToSingleSession: False,
AgentImage: String
},
ResponseStatus:
{
ErrorCode: String,
Message: String,
StackTrace: String,
Errors:
[
{
ErrorCode: String,
FieldName: String,
Message: String,
Meta:
{
String: String
}
}
],
Meta:
{
String: String
}
},
Week:
{
Settings:
{
ConfigId: 0,
SchedulerUrl: String,
SchedulerName: String,
DefaultLocation: String,
DefaultSummary: String,
DefaultDescription: String,
DayStart: PT0S,
DayStartFriendly: "00:00",
DayEnd: PT0S,
DayEndFriendly: "00:00",
TimeslotDuration: 0,
NumberOfSlots: 0,
LocationId: 00000000000000000000000000000000,
CalendarId: 00000000000000000000000000000000,
AgentId: 0,
TimeZone: String,
AvailableDateTimes:
[
{
DayName: String,
DayNumber: 0,
DayEnabled: False,
TimeBlocks:
[
{
StartTime: PT0S,
DayStartFriendly: "00:00",
EndTime: PT0S,
DayEndFriendly: "00:00"
}
]
}
],
AvailableServices:
[
00000000000000000000000000000000
],
AllServices:
[
{
Id: 00000000000000000000000000000000,
LocationId: 00000000000000000000000000000000,
LocationName: String,
Name: String,
Description: String,
ServiceDurationMinutes: 0,
WaitTime: 0,
Cost: 0,
UpperThreshold: 0,
LowerThreshold: 0,
Active: False,
EntDate: 0001-01-01,
ModDate: 0001-01-01,
SendQuestionnaire: False,
RequireUpload: False,
UploadMessage: String,
LineImages:
[
{
ImageId: 00000000000000000000000000000000,
LineId: 00000000000000000000000000000000,
ImageTitle: String,
UploadDate: 0001-01-01,
MimeType: String,
FileName: String
}
]
}
]
},
Days:
[
{
}
]
},
Services:
[
{
Id: 00000000000000000000000000000000,
LocationId: 00000000000000000000000000000000,
LocationName: String,
Name: String,
Description: String,
ServiceDurationMinutes: 0,
WaitTime: 0,
Cost: 0,
UpperThreshold: 0,
LowerThreshold: 0,
Active: False,
EntDate: 0001-01-01,
ModDate: 0001-01-01,
SendQuestionnaire: False,
RequireUpload: False,
UploadMessage: String,
LineImages:
[
{
ImageId: 00000000000000000000000000000000,
LineId: 00000000000000000000000000000000,
ImageTitle: String,
UploadDate: 0001-01-01,
MimeType: String,
FileName: String
}
]
}
]
}