BokaMera.API.Host

<back to all web services

SettingQuery

Requires Authentication
Requires any of the roles:bookingsupplier-administrator-write, superadmin, bookingsupplier-administrator-read
The following routes are available for this service:
GET/settingsGet settings for the currently logged in userGet settings for 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 SettingQuery
    {
        /**
        * If you want to include the schedule views to select from
        */
        @ApiMember(DataType="boolean", Description="If you want to include the schedule views to select from", ParameterType="query")
        public Boolean IncludeScheduleViewOptions = null;

        /**
        * If you want to include the week number settings to select from
        */
        @ApiMember(DataType="boolean", Description="If you want to include the week number settings to select from", ParameterType="query")
        public Boolean IncludeWeekNumberOptions = null;

        /**
        * If you want to include the booking template options to select from
        */
        @ApiMember(DataType="boolean", Description="If you want to include the booking template options to select from", ParameterType="query")
        public Boolean IncludeBookingTemplateOptions = null;

        /**
        * If you want to include the calendar type options to select from
        */
        @ApiMember(DataType="boolean", Description="If you want to include the calendar type options to select from", ParameterType="query")
        public Boolean IncludeCalendarTypeOptions = null;

        /**
        * If you want to include the booking status options to select from
        */
        @ApiMember(DataType="boolean", Description="If you want to include the booking status options to select from", ParameterType="query")
        public Boolean IncludeBookingStatusOptions = null;

        /**
        * If you want to include the Free spot text options to select from
        */
        @ApiMember(DataType="boolean", Description="If you want to include the Free spot text options to select from", ParameterType="query")
        public Boolean IncludeFreeSpotTextOptions = null;
        
        public Boolean isIncludeScheduleViewOptions() { return IncludeScheduleViewOptions; }
        public SettingQuery setIncludeScheduleViewOptions(Boolean value) { this.IncludeScheduleViewOptions = value; return this; }
        public Boolean isIncludeWeekNumberOptions() { return IncludeWeekNumberOptions; }
        public SettingQuery setIncludeWeekNumberOptions(Boolean value) { this.IncludeWeekNumberOptions = value; return this; }
        public Boolean isIncludeBookingTemplateOptions() { return IncludeBookingTemplateOptions; }
        public SettingQuery setIncludeBookingTemplateOptions(Boolean value) { this.IncludeBookingTemplateOptions = value; return this; }
        public Boolean isIncludeCalendarTypeOptions() { return IncludeCalendarTypeOptions; }
        public SettingQuery setIncludeCalendarTypeOptions(Boolean value) { this.IncludeCalendarTypeOptions = value; return this; }
        public Boolean isIncludeBookingStatusOptions() { return IncludeBookingStatusOptions; }
        public SettingQuery setIncludeBookingStatusOptions(Boolean value) { this.IncludeBookingStatusOptions = value; return this; }
        public Boolean isIncludeFreeSpotTextOptions() { return IncludeFreeSpotTextOptions; }
        public SettingQuery setIncludeFreeSpotTextOptions(Boolean value) { this.IncludeFreeSpotTextOptions = 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; }
    }

}

Java SettingQuery 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 /settings HTTP/1.1 
Host: api.bokamera.se 
Accept: text/jsv
HTTP/1.1 200 OK
Content-Type: text/jsv
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: PT0S,
	ScheduleEndTime: PT0S,
	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
}