Requires any of the roles: | bookingsupplier-administrator-write, superadmin |
PUT | /settings | Update settings for the company of the currently logged in user | Update settings for the company of the currently logged in user. |
---|
import java.math.*;
import java.util.*;
import net.servicestack.client.*;
import com.google.gson.annotations.*;
import com.google.gson.reflect.*;
public class dtos
{
@ApiResponse(Description="You were unauthorized to call this service", StatusCode=401)
// @ApiResponse(Description="You have too low privilegies to call this service", StatusCode=403)
@ValidateRequest(Validator="IsAuthenticated")
public static class UpdateSetting implements ICompany
{
/**
* The company id, if empty will use the company id for the user you are logged in with.
*/
@ApiMember(Description="The company id, if empty will use the company id for the user you are logged in with.")
public UUID CompanyId = null;
/**
*
*/
@ApiMember(DataType="int", Description="")
public Integer BookingStatusId = null;
/**
*
*/
@ApiMember(DataType="int", Description="")
public Integer ScheduleViewId = null;
/**
*
*/
@ApiMember(DataType="int", Description="")
public Integer BookingTemplateId = null;
/**
*
*/
@ApiMember(DataType="int", Description="")
public Integer CalendarTypeId = null;
/**
*
*/
@ApiMember(DataType="bool", Description="")
public Boolean AllowBookingOnUnbookedTimes = null;
/**
*
*/
@DataMember(Name="SendEmailReminder")
@SerializedName("SendEmailReminder")
@ApiMember(DataType="boolean", Description="")
public Boolean SendEmailReminder = null;
/**
*
*/
@DataMember(Name="SendSmsReminder")
@SerializedName("SendSmsReminder")
@ApiMember(DataType="boolean", Description="")
public Boolean SendSmsReminder = null;
/**
*
*/
@DataMember(Name="SendEmailConfirmation")
@SerializedName("SendEmailConfirmation")
@ApiMember(DataType="boolean", Description="")
public Boolean SendEmailConfirmation = null;
/**
*
*/
@DataMember(Name="SendSmsConfirmation")
@SerializedName("SendSmsConfirmation")
@ApiMember(DataType="boolean", Description="")
public Boolean SendSmsConfirmation = null;
/**
*
*/
@ApiMember(DataType="int", Description="")
public Integer EmailReminderTime = null;
/**
*
*/
@ApiMember(DataType="int", Description="")
public Integer SmsReminderTime = null;
/**
*
*/
@ApiMember(DataType="int", Description="")
public Integer MaxActiveBookings = null;
/**
*
*/
@ApiMember(DataType="bool", Description="")
public Boolean SendNotifications = null;
/**
*
*/
@ApiMember(DataType="string", Description="")
public String SendNotificationsEmail = null;
/**
* Message text field that could be used inside message templates using [MessageText].
*/
@ApiMember(DataType="string", Description="Message text field that could be used inside message templates using [MessageText].")
public String MessageText = null;
/**
*
*/
@ApiMember(DataType="bool", Description="")
public Boolean EnableMobileApp = null;
/**
* The admin scheduler start time to show as default
*/
@ApiMember(Description="The admin scheduler start time to show as default")
public TimeSpan ScheduleStartTime = null;
/**
* The admin scheduler end time to show as default
*/
@ApiMember(Description="The admin scheduler end time to show as default")
public TimeSpan ScheduleEndTime = null;
/**
* Booking receipt text.
*/
@ApiMember(DataType="string", Description="Booking receipt text.")
public String ReceiptTemplate = null;
/**
* The admin scheduler minutes of each timeslot
*/
@ApiMember(Description="The admin scheduler minutes of each timeslot")
public Integer ScheduleTimeSlotMinutes = null;
/**
* The admin scheduler if each resources should be shown in a seperate group
*/
@ApiMember(Description="The admin scheduler if each resources should be shown in a seperate group")
public Boolean ScheduleGroupResources = null;
/**
* The admin scheduler if the horizontal scrolling should be turned off
*/
@ApiMember(DataType="boolean", Description="The admin scheduler if the horizontal scrolling should be turned off")
public Boolean SchedulerDisableHorizontalScrolling = null;
/**
* If it's only allowed for existing customers to book
*/
@ApiMember(DataType="boolean", Description="If it's only allowed for existing customers to book")
public Boolean BookOnlyOnExistingCustomers = null;
/**
* If a unique pin code should be generated for the customer
*/
@ApiMember(DataType="boolean", Description="If a unique pin code should be generated for the customer")
public Boolean AutoGenerateUniquePinCode = null;
/**
* If a user profile should be created when customer is booking time. With the property customer can login.
*/
@ApiMember(DataType="boolean", Description="If a user profile should be created when customer is booking time. With the property customer can login.")
public Boolean AutoCreateUserProfile = null;
/**
* When follow up message should be sent in hours after the booking.
*/
@ApiMember(Description="When follow up message should be sent in hours after the booking.")
public Integer FollowUpMessageTime = null;
/**
*
*/
@ApiMember(Description="")
public Boolean ShowFreeTimesLeft = null;
/**
*
*/
@ApiMember(Description="")
public Integer FreeSpotTextsId = null;
/**
*
*/
@ApiMember(Description="")
public Boolean EnableICalGroupBookings = null;
/**
* Booking agreement text. All html needs to entered using markup. Read about markup here https://github.com/adam-p/markdown-here/wiki/Markdown-Cheatsheet. Use this editor to create markup https://stackedit.io/app#
*/
@ApiMember(DataType="string", Description="Booking agreement text. All html needs to entered using markup. Read about markup here https://github.com/adam-p/markdown-here/wiki/Markdown-Cheatsheet. Use this editor to create markup https://stackedit.io/app#")
public String AgreementTemplate = null;
/**
*
*/
@ApiMember(Description="")
public Boolean ScheduleShowTimeExeptions = null;
/**
*
*/
@ApiMember(Description="")
public Boolean EnableBookingsOnSameTime = null;
/**
*
*/
@ApiMember(Description="")
public Integer ShowWeekNumberSettingId = null;
/**
*
*/
@ApiMember(Description="")
public Boolean EnableShowBookedTimes = null;
/**
*
*/
@ApiMember(Description="")
public Boolean EnableSendFollowUpMessage = null;
/**
*
*/
@ApiMember(DataType="int", Description="")
public Integer BookSpotUserResponseMinutes = null;
/**
*
*/
@ApiMember(DataType="boolean", Description="")
public Boolean IsBookSpotDirectly = null;
/**
*
*/
@ApiMember(DataType="int", Description="")
public Integer BookSpotDirectlyTimeLeftMinutes = null;
/**
*
*/
@ApiMember(DataType="int", Description="")
public Boolean SendEmailNotificationQueue = null;
/**
*
*/
@ApiMember(DataType="boolean", Description="")
public Boolean SendSMSNotificationQueue = null;
/**
* If you have different prices over different times per day and want it to calculate the weighted price for the booked time.
*/
@ApiMember(DataType="boolean", Description="If you have different prices over different times per day and want it to calculate the weighted price for the booked time.")
public Boolean WeightedPrices = null;
/**
*
*/
@ApiMember(DataType="boolean", Description="")
public Boolean ShowMultiDayAsTime = null;
/**
*
*/
@ApiMember(DataType="boolean", Description="")
public Boolean ShowMultipleResourcesAsOne = null;
public UUID getCompanyId() { return CompanyId; }
public UpdateSetting setCompanyId(UUID value) { this.CompanyId = value; return this; }
public Integer getBookingStatusId() { return BookingStatusId; }
public UpdateSetting setBookingStatusId(Integer value) { this.BookingStatusId = value; return this; }
public Integer getScheduleViewId() { return ScheduleViewId; }
public UpdateSetting setScheduleViewId(Integer value) { this.ScheduleViewId = value; return this; }
public Integer getBookingTemplateId() { return BookingTemplateId; }
public UpdateSetting setBookingTemplateId(Integer value) { this.BookingTemplateId = value; return this; }
public Integer getCalendarTypeId() { return CalendarTypeId; }
public UpdateSetting setCalendarTypeId(Integer value) { this.CalendarTypeId = value; return this; }
public Boolean isAllowBookingOnUnbookedTimes() { return AllowBookingOnUnbookedTimes; }
public UpdateSetting setAllowBookingOnUnbookedTimes(Boolean value) { this.AllowBookingOnUnbookedTimes = value; return this; }
public Boolean isSendEmailReminder() { return SendEmailReminder; }
public UpdateSetting setSendEmailReminder(Boolean value) { this.SendEmailReminder = value; return this; }
public Boolean isSendSmsReminder() { return SendSmsReminder; }
public UpdateSetting setSendSmsReminder(Boolean value) { this.SendSmsReminder = value; return this; }
public Boolean isSendEmailConfirmation() { return SendEmailConfirmation; }
public UpdateSetting setSendEmailConfirmation(Boolean value) { this.SendEmailConfirmation = value; return this; }
public Boolean isSendSmsConfirmation() { return SendSmsConfirmation; }
public UpdateSetting setSendSmsConfirmation(Boolean value) { this.SendSmsConfirmation = value; return this; }
public Integer getEmailReminderTime() { return EmailReminderTime; }
public UpdateSetting setEmailReminderTime(Integer value) { this.EmailReminderTime = value; return this; }
public Integer getSmsReminderTime() { return SmsReminderTime; }
public UpdateSetting setSmsReminderTime(Integer value) { this.SmsReminderTime = value; return this; }
public Integer getMaxActiveBookings() { return MaxActiveBookings; }
public UpdateSetting setMaxActiveBookings(Integer value) { this.MaxActiveBookings = value; return this; }
public Boolean isSendNotifications() { return SendNotifications; }
public UpdateSetting setSendNotifications(Boolean value) { this.SendNotifications = value; return this; }
public String getSendNotificationsEmail() { return SendNotificationsEmail; }
public UpdateSetting setSendNotificationsEmail(String value) { this.SendNotificationsEmail = value; return this; }
public String getMessageText() { return MessageText; }
public UpdateSetting setMessageText(String value) { this.MessageText = value; return this; }
public Boolean isEnableMobileApp() { return EnableMobileApp; }
public UpdateSetting setEnableMobileApp(Boolean value) { this.EnableMobileApp = value; return this; }
public TimeSpan getScheduleStartTime() { return ScheduleStartTime; }
public UpdateSetting setScheduleStartTime(TimeSpan value) { this.ScheduleStartTime = value; return this; }
public TimeSpan getScheduleEndTime() { return ScheduleEndTime; }
public UpdateSetting setScheduleEndTime(TimeSpan value) { this.ScheduleEndTime = value; return this; }
public String getReceiptTemplate() { return ReceiptTemplate; }
public UpdateSetting setReceiptTemplate(String value) { this.ReceiptTemplate = value; return this; }
public Integer getScheduleTimeSlotMinutes() { return ScheduleTimeSlotMinutes; }
public UpdateSetting setScheduleTimeSlotMinutes(Integer value) { this.ScheduleTimeSlotMinutes = value; return this; }
public Boolean isScheduleGroupResources() { return ScheduleGroupResources; }
public UpdateSetting setScheduleGroupResources(Boolean value) { this.ScheduleGroupResources = value; return this; }
public Boolean isSchedulerDisableHorizontalScrolling() { return SchedulerDisableHorizontalScrolling; }
public UpdateSetting setSchedulerDisableHorizontalScrolling(Boolean value) { this.SchedulerDisableHorizontalScrolling = value; return this; }
public Boolean isBookOnlyOnExistingCustomers() { return BookOnlyOnExistingCustomers; }
public UpdateSetting setBookOnlyOnExistingCustomers(Boolean value) { this.BookOnlyOnExistingCustomers = value; return this; }
public Boolean isAutoGenerateUniquePinCode() { return AutoGenerateUniquePinCode; }
public UpdateSetting setAutoGenerateUniquePinCode(Boolean value) { this.AutoGenerateUniquePinCode = value; return this; }
public Boolean isAutoCreateUserProfile() { return AutoCreateUserProfile; }
public UpdateSetting setAutoCreateUserProfile(Boolean value) { this.AutoCreateUserProfile = value; return this; }
public Integer getFollowUpMessageTime() { return FollowUpMessageTime; }
public UpdateSetting setFollowUpMessageTime(Integer value) { this.FollowUpMessageTime = value; return this; }
public Boolean isShowFreeTimesLeft() { return ShowFreeTimesLeft; }
public UpdateSetting setShowFreeTimesLeft(Boolean value) { this.ShowFreeTimesLeft = value; return this; }
public Integer getFreeSpotTextsId() { return FreeSpotTextsId; }
public UpdateSetting setFreeSpotTextsId(Integer value) { this.FreeSpotTextsId = value; return this; }
public Boolean isEnableICalGroupBookings() { return EnableICalGroupBookings; }
public UpdateSetting setEnableICalGroupBookings(Boolean value) { this.EnableICalGroupBookings = value; return this; }
public String getAgreementTemplate() { return AgreementTemplate; }
public UpdateSetting setAgreementTemplate(String value) { this.AgreementTemplate = value; return this; }
public Boolean isScheduleShowTimeExeptions() { return ScheduleShowTimeExeptions; }
public UpdateSetting setScheduleShowTimeExeptions(Boolean value) { this.ScheduleShowTimeExeptions = value; return this; }
public Boolean isEnableBookingsOnSameTime() { return EnableBookingsOnSameTime; }
public UpdateSetting setEnableBookingsOnSameTime(Boolean value) { this.EnableBookingsOnSameTime = value; return this; }
public Integer getShowWeekNumberSettingId() { return ShowWeekNumberSettingId; }
public UpdateSetting setShowWeekNumberSettingId(Integer value) { this.ShowWeekNumberSettingId = value; return this; }
public Boolean isEnableShowBookedTimes() { return EnableShowBookedTimes; }
public UpdateSetting setEnableShowBookedTimes(Boolean value) { this.EnableShowBookedTimes = value; return this; }
public Boolean isEnableSendFollowUpMessage() { return EnableSendFollowUpMessage; }
public UpdateSetting setEnableSendFollowUpMessage(Boolean value) { this.EnableSendFollowUpMessage = value; return this; }
public Integer getBookSpotUserResponseMinutes() { return BookSpotUserResponseMinutes; }
public UpdateSetting setBookSpotUserResponseMinutes(Integer value) { this.BookSpotUserResponseMinutes = value; return this; }
public Boolean getIsBookSpotDirectly() { return IsBookSpotDirectly; }
public UpdateSetting setIsBookSpotDirectly(Boolean value) { this.IsBookSpotDirectly = value; return this; }
public Integer getBookSpotDirectlyTimeLeftMinutes() { return BookSpotDirectlyTimeLeftMinutes; }
public UpdateSetting setBookSpotDirectlyTimeLeftMinutes(Integer value) { this.BookSpotDirectlyTimeLeftMinutes = value; return this; }
public Boolean isSendEmailNotificationQueue() { return SendEmailNotificationQueue; }
public UpdateSetting setSendEmailNotificationQueue(Boolean value) { this.SendEmailNotificationQueue = value; return this; }
public Boolean isSendSMSNotificationQueue() { return SendSMSNotificationQueue; }
public UpdateSetting setSendSMSNotificationQueue(Boolean value) { this.SendSMSNotificationQueue = value; return this; }
public Boolean isWeightedPrices() { return WeightedPrices; }
public UpdateSetting setWeightedPrices(Boolean value) { this.WeightedPrices = value; return this; }
public Boolean isShowMultiDayAsTime() { return ShowMultiDayAsTime; }
public UpdateSetting setShowMultiDayAsTime(Boolean value) { this.ShowMultiDayAsTime = value; return this; }
public Boolean isShowMultipleResourcesAsOne() { return ShowMultipleResourcesAsOne; }
public UpdateSetting setShowMultipleResourcesAsOne(Boolean value) { this.ShowMultipleResourcesAsOne = value; return this; }
}
public static class SettingResponse
{
public UUID CompanyId = null;
/**
*
*/
@ApiMember(DataType="int", Description="")
public Integer BookingStatusId = null;
/**
*
*/
@ApiMember(DataType="int", Description="")
public Integer ScheduleViewId = null;
/**
*
*/
@ApiMember(DataType="int", Description="")
public Integer BookingTemplateId = null;
/**
*
*/
@ApiMember(DataType="int", Description="")
public Integer CalendarTypeId = null;
/**
*
*/
@ApiMember(DataType="boolean", Description="")
public Boolean AllowBookingOnUnbookedTimes = null;
/**
*
*/
@DataMember(Name="SendEmailReminder")
@SerializedName("SendEmailReminder")
@ApiMember(DataType="boolean", Description="")
public Boolean SendEmailReminder = null;
/**
*
*/
@DataMember(Name="SendSmsReminder")
@SerializedName("SendSmsReminder")
@ApiMember(DataType="boolean", Description="")
public Boolean SendSmsReminder = null;
/**
*
*/
@DataMember(Name="SendEmailConfirmation")
@SerializedName("SendEmailConfirmation")
@ApiMember(DataType="boolean", Description="")
public Boolean SendEmailConfirmation = null;
/**
*
*/
@DataMember(Name="SendSmsConfirmation")
@SerializedName("SendSmsConfirmation")
@ApiMember(DataType="boolean", Description="")
public Boolean SendSmsConfirmation = null;
/**
* Message text field that could be used inside message templates using [MessageText].
*/
@ApiMember(DataType="string", Description="Message text field that could be used inside message templates using [MessageText].")
public String MessageText = null;
/**
*
*/
@ApiMember(DataType="int", Description="")
public Integer EmailReminderTime = null;
/**
*
*/
@ApiMember(DataType="int", Description="")
public Integer SmsReminderTime = null;
/**
*
*/
@ApiMember(DataType="int", Description="")
public Integer MaxActiveBookings = null;
/**
*
*/
@ApiMember(DataType="boolean", Description="")
public Boolean SendNotifications = null;
/**
*
*/
@ApiMember(DataType="string", Description="")
public String SendNotificationsEmail = null;
/**
*
*/
@ApiMember(DataType="boolean", Description="")
public Boolean EnableMobileApp = null;
/**
*
*/
@ApiMember(Description="")
public TimeSpan ScheduleStartTime = null;
/**
*
*/
@ApiMember(DataType="boolean", Description="")
public TimeSpan ScheduleEndTime = null;
/**
* The admin scheduler if each resources should be shown in a seperate group
*/
@ApiMember(DataType="boolean", Description="The admin scheduler if each resources should be shown in a seperate group")
public Boolean ScheduleGroupResources = null;
/**
* The admin scheduler if the horizontal scrolling should be turned off
*/
@ApiMember(DataType="boolean", Description="The admin scheduler if the horizontal scrolling should be turned off")
public Boolean SchedulerDisableHorizontalScrolling = null;
/**
*
*/
@ApiMember(DataType="string", Description="")
public String ReceiptTemplate = null;
/**
*
*/
@ApiMember(DataType="int", Description="")
public Integer ScheduleTimeSlotMinutes = null;
/**
*
*/
@ApiMember(DataType="boolean", Description="")
public Boolean ShowFreeTimesLeft = null;
/**
*
*/
@ApiMember(DataType="int", Description="")
public Integer FreeSpotTextsId = null;
/**
*
*/
@ApiMember(DataType="boolean", Description="")
public Boolean EnableICalGroupBookings = null;
/**
* Booking agreement text. All html needs to entered using markup. Read about markup here https://github.com/adam-p/markdown-here/wiki/Markdown-Cheatsheet. Use this editor to create markup https://stackedit.io/app#
*/
@ApiMember(DataType="string", Description="Booking agreement text. All html needs to entered using markup. Read about markup here https://github.com/adam-p/markdown-here/wiki/Markdown-Cheatsheet. Use this editor to create markup https://stackedit.io/app#")
public String AgreementTemplate = null;
/**
*
*/
@ApiMember(DataType="boolean", Description="")
public Boolean ScheduleShowTimeExeptions = null;
/**
*
*/
@ApiMember(DataType="boolean", Description="")
public Boolean EnableBookingsOnSameTime = null;
/**
*
*/
@ApiMember(DataType="int", Description="")
public Integer ShowWeekNumberSettingId = null;
/**
*
*/
@ApiMember(DataType="boolean", Description="")
public Boolean EnableShowBookedTimes = null;
/**
*
*/
@ApiMember(DataType="", Description="")
public Integer BookSpotUserResponseMinutes = null;
/**
*
*/
@ApiMember(DataType="", Description="")
public Boolean IsBookSpotDirectly = null;
/**
*
*/
@ApiMember(DataType="", Description="")
public Integer BookSpotDirectlyTimeLeftMinutes = null;
/**
*
*/
@ApiMember(DataType="", Description="")
public Boolean SendEmailNotificationQueue = null;
/**
*
*/
@ApiMember(DataType="", Description="")
public Boolean SendSMSNotificationQueue = null;
/**
*
*/
@ApiMember(Description="")
public Boolean EnableSendFollowUpMessage = null;
/**
* When follow up message should be sent in hours after the booking.
*/
@ApiMember(Description="When follow up message should be sent in hours after the booking.")
public Integer FollowUpMessageTime = null;
/**
* If it's only allowed for existing customers to book
*/
@ApiMember(DataType="boolean", Description="If it's only allowed for existing customers to book")
public Boolean BookOnlyOnExistingCustomers = null;
/**
* If a unique pin code should be generated for the customer
*/
@ApiMember(DataType="boolean", Description="If a unique pin code should be generated for the customer")
public Boolean AutoGenerateUniquePinCode = null;
/**
* If a user profile should be created when customer is booking time. With the property customer can login.
*/
@ApiMember(DataType="boolean", Description="If a user profile should be created when customer is booking time. With the property customer can login.")
public Boolean AutoCreateUserProfile = null;
/**
* The available schedule view options to choose from
*/
@ApiMember(Description="The available schedule view options to choose from")
public ArrayList<ScheduleViewResponse> ScheduleViewOptions = null;
/**
* The available week number options to choose from
*/
@ApiMember(Description="The available week number options to choose from")
public ArrayList<WeekNumberSettingResponse> WeekNumberOptions = null;
/**
* The booking template options to choose from
*/
@ApiMember(Description="The booking template options to choose from")
public ArrayList<BookingTemplateResponse> BookingTemplateOptions = null;
/**
* The calendar type options to choose from
*/
@ApiMember(Description="The calendar type options to choose from")
public ArrayList<CalendarTypeResponse> CalendarTypeOptions = null;
/**
* The booking status options to choose from
*/
@ApiMember(Description="The booking status options to choose from")
public ArrayList<BookingStatusOptions> BookingStatusOptions = null;
/**
* The free spot text options to choose from
*/
@ApiMember(Description="The free spot text options to choose from")
public ArrayList<FreeSpotTextsResponse> FreeSpotTextOptions = null;
/**
* If you have different prices over different times per day and want it to calculate the weighted price for the booked time.
*/
@ApiMember(DataType="boolean", Description="If you have different prices over different times per day and want it to calculate the weighted price for the booked time.")
public Boolean WeightedPrices = null;
/**
*
*/
@ApiMember(DataType="boolean", Description="")
public Boolean ShowMultiDayAsTime = null;
/**
*
*/
@ApiMember(DataType="boolean", Description="")
public Boolean ShowMultipleResourcesAsOne = null;
public UUID getCompanyId() { return CompanyId; }
public SettingResponse setCompanyId(UUID value) { this.CompanyId = value; return this; }
public Integer getBookingStatusId() { return BookingStatusId; }
public SettingResponse setBookingStatusId(Integer value) { this.BookingStatusId = value; return this; }
public Integer getScheduleViewId() { return ScheduleViewId; }
public SettingResponse setScheduleViewId(Integer value) { this.ScheduleViewId = value; return this; }
public Integer getBookingTemplateId() { return BookingTemplateId; }
public SettingResponse setBookingTemplateId(Integer value) { this.BookingTemplateId = value; return this; }
public Integer getCalendarTypeId() { return CalendarTypeId; }
public SettingResponse setCalendarTypeId(Integer value) { this.CalendarTypeId = value; return this; }
public Boolean isAllowBookingOnUnbookedTimes() { return AllowBookingOnUnbookedTimes; }
public SettingResponse setAllowBookingOnUnbookedTimes(Boolean value) { this.AllowBookingOnUnbookedTimes = value; return this; }
public Boolean isSendEmailReminder() { return SendEmailReminder; }
public SettingResponse setSendEmailReminder(Boolean value) { this.SendEmailReminder = value; return this; }
public Boolean isSendSmsReminder() { return SendSmsReminder; }
public SettingResponse setSendSmsReminder(Boolean value) { this.SendSmsReminder = value; return this; }
public Boolean isSendEmailConfirmation() { return SendEmailConfirmation; }
public SettingResponse setSendEmailConfirmation(Boolean value) { this.SendEmailConfirmation = value; return this; }
public Boolean isSendSmsConfirmation() { return SendSmsConfirmation; }
public SettingResponse setSendSmsConfirmation(Boolean value) { this.SendSmsConfirmation = value; return this; }
public String getMessageText() { return MessageText; }
public SettingResponse setMessageText(String value) { this.MessageText = value; return this; }
public Integer getEmailReminderTime() { return EmailReminderTime; }
public SettingResponse setEmailReminderTime(Integer value) { this.EmailReminderTime = value; return this; }
public Integer getSmsReminderTime() { return SmsReminderTime; }
public SettingResponse setSmsReminderTime(Integer value) { this.SmsReminderTime = value; return this; }
public Integer getMaxActiveBookings() { return MaxActiveBookings; }
public SettingResponse setMaxActiveBookings(Integer value) { this.MaxActiveBookings = value; return this; }
public Boolean isSendNotifications() { return SendNotifications; }
public SettingResponse setSendNotifications(Boolean value) { this.SendNotifications = value; return this; }
public String getSendNotificationsEmail() { return SendNotificationsEmail; }
public SettingResponse setSendNotificationsEmail(String value) { this.SendNotificationsEmail = value; return this; }
public Boolean isEnableMobileApp() { return EnableMobileApp; }
public SettingResponse setEnableMobileApp(Boolean value) { this.EnableMobileApp = value; return this; }
public TimeSpan getScheduleStartTime() { return ScheduleStartTime; }
public SettingResponse setScheduleStartTime(TimeSpan value) { this.ScheduleStartTime = value; return this; }
public TimeSpan getScheduleEndTime() { return ScheduleEndTime; }
public SettingResponse setScheduleEndTime(TimeSpan value) { this.ScheduleEndTime = value; return this; }
public Boolean isScheduleGroupResources() { return ScheduleGroupResources; }
public SettingResponse setScheduleGroupResources(Boolean value) { this.ScheduleGroupResources = value; return this; }
public Boolean isSchedulerDisableHorizontalScrolling() { return SchedulerDisableHorizontalScrolling; }
public SettingResponse setSchedulerDisableHorizontalScrolling(Boolean value) { this.SchedulerDisableHorizontalScrolling = value; return this; }
public String getReceiptTemplate() { return ReceiptTemplate; }
public SettingResponse setReceiptTemplate(String value) { this.ReceiptTemplate = value; return this; }
public Integer getScheduleTimeSlotMinutes() { return ScheduleTimeSlotMinutes; }
public SettingResponse setScheduleTimeSlotMinutes(Integer value) { this.ScheduleTimeSlotMinutes = value; return this; }
public Boolean isShowFreeTimesLeft() { return ShowFreeTimesLeft; }
public SettingResponse setShowFreeTimesLeft(Boolean value) { this.ShowFreeTimesLeft = value; return this; }
public Integer getFreeSpotTextsId() { return FreeSpotTextsId; }
public SettingResponse setFreeSpotTextsId(Integer value) { this.FreeSpotTextsId = value; return this; }
public Boolean isEnableICalGroupBookings() { return EnableICalGroupBookings; }
public SettingResponse setEnableICalGroupBookings(Boolean value) { this.EnableICalGroupBookings = value; return this; }
public String getAgreementTemplate() { return AgreementTemplate; }
public SettingResponse setAgreementTemplate(String value) { this.AgreementTemplate = value; return this; }
public Boolean isScheduleShowTimeExeptions() { return ScheduleShowTimeExeptions; }
public SettingResponse setScheduleShowTimeExeptions(Boolean value) { this.ScheduleShowTimeExeptions = value; return this; }
public Boolean isEnableBookingsOnSameTime() { return EnableBookingsOnSameTime; }
public SettingResponse setEnableBookingsOnSameTime(Boolean value) { this.EnableBookingsOnSameTime = value; return this; }
public Integer getShowWeekNumberSettingId() { return ShowWeekNumberSettingId; }
public SettingResponse setShowWeekNumberSettingId(Integer value) { this.ShowWeekNumberSettingId = value; return this; }
public Boolean isEnableShowBookedTimes() { return EnableShowBookedTimes; }
public SettingResponse setEnableShowBookedTimes(Boolean value) { this.EnableShowBookedTimes = value; return this; }
public Integer getBookSpotUserResponseMinutes() { return BookSpotUserResponseMinutes; }
public SettingResponse setBookSpotUserResponseMinutes(Integer value) { this.BookSpotUserResponseMinutes = value; return this; }
public Boolean getIsBookSpotDirectly() { return IsBookSpotDirectly; }
public SettingResponse setIsBookSpotDirectly(Boolean value) { this.IsBookSpotDirectly = value; return this; }
public Integer getBookSpotDirectlyTimeLeftMinutes() { return BookSpotDirectlyTimeLeftMinutes; }
public SettingResponse setBookSpotDirectlyTimeLeftMinutes(Integer value) { this.BookSpotDirectlyTimeLeftMinutes = value; return this; }
public Boolean isSendEmailNotificationQueue() { return SendEmailNotificationQueue; }
public SettingResponse setSendEmailNotificationQueue(Boolean value) { this.SendEmailNotificationQueue = value; return this; }
public Boolean isSendSMSNotificationQueue() { return SendSMSNotificationQueue; }
public SettingResponse setSendSMSNotificationQueue(Boolean value) { this.SendSMSNotificationQueue = value; return this; }
public Boolean isEnableSendFollowUpMessage() { return EnableSendFollowUpMessage; }
public SettingResponse setEnableSendFollowUpMessage(Boolean value) { this.EnableSendFollowUpMessage = value; return this; }
public Integer getFollowUpMessageTime() { return FollowUpMessageTime; }
public SettingResponse setFollowUpMessageTime(Integer value) { this.FollowUpMessageTime = value; return this; }
public Boolean isBookOnlyOnExistingCustomers() { return BookOnlyOnExistingCustomers; }
public SettingResponse setBookOnlyOnExistingCustomers(Boolean value) { this.BookOnlyOnExistingCustomers = value; return this; }
public Boolean isAutoGenerateUniquePinCode() { return AutoGenerateUniquePinCode; }
public SettingResponse setAutoGenerateUniquePinCode(Boolean value) { this.AutoGenerateUniquePinCode = value; return this; }
public Boolean isAutoCreateUserProfile() { return AutoCreateUserProfile; }
public SettingResponse setAutoCreateUserProfile(Boolean value) { this.AutoCreateUserProfile = value; return this; }
public ArrayList<ScheduleViewResponse> getScheduleViewOptions() { return ScheduleViewOptions; }
public SettingResponse setScheduleViewOptions(ArrayList<ScheduleViewResponse> value) { this.ScheduleViewOptions = value; return this; }
public ArrayList<WeekNumberSettingResponse> getWeekNumberOptions() { return WeekNumberOptions; }
public SettingResponse setWeekNumberOptions(ArrayList<WeekNumberSettingResponse> value) { this.WeekNumberOptions = value; return this; }
public ArrayList<BookingTemplateResponse> getBookingTemplateOptions() { return BookingTemplateOptions; }
public SettingResponse setBookingTemplateOptions(ArrayList<BookingTemplateResponse> value) { this.BookingTemplateOptions = value; return this; }
public ArrayList<CalendarTypeResponse> getCalendarTypeOptions() { return CalendarTypeOptions; }
public SettingResponse setCalendarTypeOptions(ArrayList<CalendarTypeResponse> value) { this.CalendarTypeOptions = value; return this; }
public ArrayList<BookingStatusOptions> getBookingStatusOptions() { return BookingStatusOptions; }
public SettingResponse setBookingStatusOptions(ArrayList<BookingStatusOptions> value) { this.BookingStatusOptions = value; return this; }
public ArrayList<FreeSpotTextsResponse> getFreeSpotTextOptions() { return FreeSpotTextOptions; }
public SettingResponse setFreeSpotTextOptions(ArrayList<FreeSpotTextsResponse> value) { this.FreeSpotTextOptions = value; return this; }
public Boolean isWeightedPrices() { return WeightedPrices; }
public SettingResponse setWeightedPrices(Boolean value) { this.WeightedPrices = value; return this; }
public Boolean isShowMultiDayAsTime() { return ShowMultiDayAsTime; }
public SettingResponse setShowMultiDayAsTime(Boolean value) { this.ShowMultiDayAsTime = value; return this; }
public Boolean isShowMultipleResourcesAsOne() { return ShowMultipleResourcesAsOne; }
public SettingResponse setShowMultipleResourcesAsOne(Boolean value) { this.ShowMultipleResourcesAsOne = value; return this; }
}
public static class ScheduleViewResponse
{
public Integer Id = null;
public String Name = null;
public Integer getId() { return Id; }
public ScheduleViewResponse setId(Integer value) { this.Id = value; return this; }
public String getName() { return Name; }
public ScheduleViewResponse setName(String value) { this.Name = value; return this; }
}
public static class WeekNumberSettingResponse
{
public Integer Id = null;
public String Name = null;
public String Description = null;
public Integer getId() { return Id; }
public WeekNumberSettingResponse setId(Integer value) { this.Id = value; return this; }
public String getName() { return Name; }
public WeekNumberSettingResponse setName(String value) { this.Name = value; return this; }
public String getDescription() { return Description; }
public WeekNumberSettingResponse setDescription(String value) { this.Description = value; return this; }
}
public static class BookingTemplateResponse
{
public Integer Id = null;
public String Name = null;
public String Description = null;
public String UsedByApplication = null;
public Integer getId() { return Id; }
public BookingTemplateResponse setId(Integer value) { this.Id = value; return this; }
public String getName() { return Name; }
public BookingTemplateResponse setName(String value) { this.Name = value; return this; }
public String getDescription() { return Description; }
public BookingTemplateResponse setDescription(String value) { this.Description = value; return this; }
public String getUsedByApplication() { return UsedByApplication; }
public BookingTemplateResponse setUsedByApplication(String value) { this.UsedByApplication = value; return this; }
}
public static class CalendarTypeResponse
{
public Integer Id = null;
public String Name = null;
public String Description = null;
public Boolean Active = null;
public Integer getId() { return Id; }
public CalendarTypeResponse setId(Integer value) { this.Id = value; return this; }
public String getName() { return Name; }
public CalendarTypeResponse setName(String value) { this.Name = value; return this; }
public String getDescription() { return Description; }
public CalendarTypeResponse setDescription(String value) { this.Description = value; return this; }
public Boolean isActive() { return Active; }
public CalendarTypeResponse setActive(Boolean value) { this.Active = value; return this; }
}
public static class BookingStatusOptions
{
public Integer Id = null;
public String Name = null;
public String Description = null;
public Integer getId() { return Id; }
public BookingStatusOptions setId(Integer value) { this.Id = value; return this; }
public String getName() { return Name; }
public BookingStatusOptions setName(String value) { this.Name = value; return this; }
public String getDescription() { return Description; }
public BookingStatusOptions setDescription(String value) { this.Description = value; return this; }
}
public static class FreeSpotTextsResponse
{
public Integer Id = null;
public String TextSingular = null;
public String TextPlural = null;
public Integer getId() { return Id; }
public FreeSpotTextsResponse setId(Integer value) { this.Id = value; return this; }
public String getTextSingular() { return TextSingular; }
public FreeSpotTextsResponse setTextSingular(String value) { this.TextSingular = value; return this; }
public String getTextPlural() { return TextPlural; }
public FreeSpotTextsResponse setTextPlural(String value) { this.TextPlural = value; return this; }
}
}
To override the Content-type in your clients, use the HTTP Accept Header, append the .other suffix or ?format=other
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
PUT /settings HTTP/1.1
Host: api.bokamera.se
Accept: text/jsonl
Content-Type: text/jsonl
Content-Length: length
{"CompanyId":"00000000-0000-0000-0000-000000000000","BookingStatusId":0,"ScheduleViewId":0,"BookingTemplateId":0,"CalendarTypeId":0,"AllowBookingOnUnbookedTimes":false,"SendEmailReminder":false,"SendSmsReminder":false,"SendEmailConfirmation":false,"SendSmsConfirmation":false,"EmailReminderTime":0,"SmsReminderTime":0,"MaxActiveBookings":0,"SendNotifications":false,"SendNotificationsEmail":"String","MessageText":"String","EnableMobileApp":false,"ScheduleStartTime":"00:00:00","ScheduleEndTime":"00:00:00","ReceiptTemplate":"String","ScheduleTimeSlotMinutes":0,"ScheduleGroupResources":false,"SchedulerDisableHorizontalScrolling":false,"BookOnlyOnExistingCustomers":false,"AutoGenerateUniquePinCode":false,"AutoCreateUserProfile":false,"FollowUpMessageTime":0,"ShowFreeTimesLeft":false,"FreeSpotTextsId":0,"EnableICalGroupBookings":false,"AgreementTemplate":"String","ScheduleShowTimeExeptions":false,"EnableBookingsOnSameTime":false,"ShowWeekNumberSettingId":0,"EnableShowBookedTimes":false,"EnableSendFollowUpMessage":false,"BookSpotUserResponseMinutes":0,"IsBookSpotDirectly":false,"BookSpotDirectlyTimeLeftMinutes":0,"SendEmailNotificationQueue":false,"SendSMSNotificationQueue":false,"WeightedPrices":false,"ShowMultiDayAsTime":false,"ShowMultipleResourcesAsOne":false}
HTTP/1.1 200 OK Content-Type: text/jsonl Content-Length: length {"BookingStatusId":0,"ScheduleViewId":0,"BookingTemplateId":0,"CalendarTypeId":0,"AllowBookingOnUnbookedTimes":false,"SendEmailReminder":false,"SendSmsReminder":false,"SendEmailConfirmation":false,"SendSmsConfirmation":false,"MessageText":"String","EmailReminderTime":0,"SmsReminderTime":0,"MaxActiveBookings":0,"SendNotifications":false,"SendNotificationsEmail":"String","EnableMobileApp":false,"ScheduleStartTime":"00:00:00","ScheduleEndTime":"00:00:00","ScheduleGroupResources":false,"SchedulerDisableHorizontalScrolling":false,"ReceiptTemplate":"String","ScheduleTimeSlotMinutes":0,"ShowFreeTimesLeft":false,"FreeSpotTextsId":0,"EnableICalGroupBookings":false,"AgreementTemplate":"String","ScheduleShowTimeExeptions":false,"EnableBookingsOnSameTime":false,"ShowWeekNumberSettingId":0,"EnableShowBookedTimes":false,"BookSpotUserResponseMinutes":0,"IsBookSpotDirectly":false,"BookSpotDirectlyTimeLeftMinutes":0,"SendEmailNotificationQueue":false,"SendSMSNotificationQueue":false,"EnableSendFollowUpMessage":false,"FollowUpMessageTime":0,"BookOnlyOnExistingCustomers":false,"AutoGenerateUniquePinCode":false,"AutoCreateUserProfile":false,"ScheduleViewOptions":[{"Id":0,"Name":"String"}],"WeekNumberOptions":[{"Id":0,"Name":"String","Description":"String"}],"BookingTemplateOptions":[{"Id":0,"Name":"String","Description":"String","UsedByApplication":"String"}],"CalendarTypeOptions":[{"Id":0,"Name":"String","Description":"String","Active":false}],"BookingStatusOptions":[{"Id":0,"Name":"String","Description":"String"}],"FreeSpotTextOptions":[{"Id":0,"TextSingular":"String","TextPlural":"String"}],"WeightedPrices":false,"ShowMultiDayAsTime":false,"ShowMultipleResourcesAsOne":false}