| Requires any of the roles: | bookingsupplier-administrator-write, superadmin, bookingsupplier-administrator-read |
| GET | /settings | Get settings for the currently logged in user | Get settings for the currently logged in user. |
|---|
import java.math.*;
import java.util.*;
import java.io.InputStream;
import net.servicestack.client.*;
import com.google.gson.annotations.*;
import com.google.gson.reflect.*;
public class dtos
{
@ApiResponse(Description="You were unauthorized to call this service", StatusCode=401)
// @ApiResponse(Description="You have too low privileges to call this service", StatusCode=403)
@ValidateRequest(Validator="IsAuthenticated")
public static class BookingSettingQuery
{
/**
* 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 BookingSettingQuery setIncludeScheduleViewOptions(Boolean value) { this.IncludeScheduleViewOptions = value; return this; }
public Boolean isIncludeWeekNumberOptions() { return IncludeWeekNumberOptions; }
public BookingSettingQuery setIncludeWeekNumberOptions(Boolean value) { this.IncludeWeekNumberOptions = value; return this; }
public Boolean isIncludeBookingTemplateOptions() { return IncludeBookingTemplateOptions; }
public BookingSettingQuery setIncludeBookingTemplateOptions(Boolean value) { this.IncludeBookingTemplateOptions = value; return this; }
public Boolean isIncludeCalendarTypeOptions() { return IncludeCalendarTypeOptions; }
public BookingSettingQuery setIncludeCalendarTypeOptions(Boolean value) { this.IncludeCalendarTypeOptions = value; return this; }
public Boolean isIncludeBookingStatusOptions() { return IncludeBookingStatusOptions; }
public BookingSettingQuery setIncludeBookingStatusOptions(Boolean value) { this.IncludeBookingStatusOptions = value; return this; }
public Boolean isIncludeFreeSpotTextOptions() { return IncludeFreeSpotTextOptions; }
public BookingSettingQuery setIncludeFreeSpotTextOptions(Boolean value) { this.IncludeFreeSpotTextOptions = value; return this; }
}
public static class BookingSettingResponse
{
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;
/**
* If the customer should receive Push notification when booked
*/
@ApiMember(DataType="boolean", Description="If the customer should receive Push notification when booked")
public Boolean SendPushNotification = null;
/**
* If the customer should receive Push notification reminders on bookings
*/
@ApiMember(DataType="boolean", Description="If the customer should receive Push notification reminders on bookings")
public Boolean SendPushNotificationReminder = null;
/**
* How many minutes before booking starts the customer should receive the notification
*/
@ApiMember(DataType="int", Description="How many minutes before booking starts the customer should receive the notification")
public Integer PushNotificationReminderTime = 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 separate group
*/
@ApiMember(DataType="boolean", Description="The admin scheduler if each resources should be shown in a separate 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 = new ArrayList<ScheduleViewResponse>();
/**
* The available week number options to choose from
*/
@ApiMember(Description="The available week number options to choose from")
public ArrayList<WeekNumberSettingResponse> WeekNumberOptions = new ArrayList<WeekNumberSettingResponse>();
/**
* The booking template options to choose from
*/
@ApiMember(Description="The booking template options to choose from")
public ArrayList<BookingTemplateResponse> BookingTemplateOptions = new ArrayList<BookingTemplateResponse>();
/**
* The calendar type options to choose from
*/
@ApiMember(Description="The calendar type options to choose from")
public ArrayList<CalendarTypeResponse> CalendarTypeOptions = new ArrayList<CalendarTypeResponse>();
/**
* The booking status options to choose from
*/
@ApiMember(Description="The booking status options to choose from")
public ArrayList<BookingStatusOptions> BookingStatusOptions = new ArrayList<BookingStatusOptions>();
/**
* The free spot text options to choose from
*/
@ApiMember(Description="The free spot text options to choose from")
public ArrayList<FreeSpotTextsResponse> FreeSpotTextOptions = new ArrayList<FreeSpotTextsResponse>();
/**
* 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;
/**
* If booking should be restricted by a pin code
*/
@ApiMember(Description="If booking should be restricted by a pin code")
public String BookingPinCodeRestriction = null;
/**
* If checked customer invoice will be required when creating booking
*/
@ApiMember(Description="If checked customer invoice will be required when creating booking")
public Boolean CustomerInvoiceAdressRequired = null;
public UUID getCompanyId() { return CompanyId; }
public BookingSettingResponse setCompanyId(UUID value) { this.CompanyId = value; return this; }
public Integer getBookingStatusId() { return BookingStatusId; }
public BookingSettingResponse setBookingStatusId(Integer value) { this.BookingStatusId = value; return this; }
public Integer getScheduleViewId() { return ScheduleViewId; }
public BookingSettingResponse setScheduleViewId(Integer value) { this.ScheduleViewId = value; return this; }
public Integer getBookingTemplateId() { return BookingTemplateId; }
public BookingSettingResponse setBookingTemplateId(Integer value) { this.BookingTemplateId = value; return this; }
public Integer getCalendarTypeId() { return CalendarTypeId; }
public BookingSettingResponse setCalendarTypeId(Integer value) { this.CalendarTypeId = value; return this; }
public Boolean isAllowBookingOnUnbookedTimes() { return AllowBookingOnUnbookedTimes; }
public BookingSettingResponse setAllowBookingOnUnbookedTimes(Boolean value) { this.AllowBookingOnUnbookedTimes = value; return this; }
public Boolean isSendEmailReminder() { return SendEmailReminder; }
public BookingSettingResponse setSendEmailReminder(Boolean value) { this.SendEmailReminder = value; return this; }
public Boolean isSendSmsReminder() { return SendSmsReminder; }
public BookingSettingResponse setSendSmsReminder(Boolean value) { this.SendSmsReminder = value; return this; }
public Boolean isSendEmailConfirmation() { return SendEmailConfirmation; }
public BookingSettingResponse setSendEmailConfirmation(Boolean value) { this.SendEmailConfirmation = value; return this; }
public Boolean isSendSmsConfirmation() { return SendSmsConfirmation; }
public BookingSettingResponse setSendSmsConfirmation(Boolean value) { this.SendSmsConfirmation = value; return this; }
public Boolean isSendPushNotification() { return SendPushNotification; }
public BookingSettingResponse setSendPushNotification(Boolean value) { this.SendPushNotification = value; return this; }
public Boolean isSendPushNotificationReminder() { return SendPushNotificationReminder; }
public BookingSettingResponse setSendPushNotificationReminder(Boolean value) { this.SendPushNotificationReminder = value; return this; }
public Integer getPushNotificationReminderTime() { return PushNotificationReminderTime; }
public BookingSettingResponse setPushNotificationReminderTime(Integer value) { this.PushNotificationReminderTime = value; return this; }
public String getMessageText() { return MessageText; }
public BookingSettingResponse setMessageText(String value) { this.MessageText = value; return this; }
public Integer getEmailReminderTime() { return EmailReminderTime; }
public BookingSettingResponse setEmailReminderTime(Integer value) { this.EmailReminderTime = value; return this; }
public Integer getSmsReminderTime() { return SmsReminderTime; }
public BookingSettingResponse setSmsReminderTime(Integer value) { this.SmsReminderTime = value; return this; }
public Integer getMaxActiveBookings() { return MaxActiveBookings; }
public BookingSettingResponse setMaxActiveBookings(Integer value) { this.MaxActiveBookings = value; return this; }
public Boolean isSendNotifications() { return SendNotifications; }
public BookingSettingResponse setSendNotifications(Boolean value) { this.SendNotifications = value; return this; }
public String getSendNotificationsEmail() { return SendNotificationsEmail; }
public BookingSettingResponse setSendNotificationsEmail(String value) { this.SendNotificationsEmail = value; return this; }
public Boolean isEnableMobileApp() { return EnableMobileApp; }
public BookingSettingResponse setEnableMobileApp(Boolean value) { this.EnableMobileApp = value; return this; }
public TimeSpan getScheduleStartTime() { return ScheduleStartTime; }
public BookingSettingResponse setScheduleStartTime(TimeSpan value) { this.ScheduleStartTime = value; return this; }
public TimeSpan getScheduleEndTime() { return ScheduleEndTime; }
public BookingSettingResponse setScheduleEndTime(TimeSpan value) { this.ScheduleEndTime = value; return this; }
public Boolean isScheduleGroupResources() { return ScheduleGroupResources; }
public BookingSettingResponse setScheduleGroupResources(Boolean value) { this.ScheduleGroupResources = value; return this; }
public Boolean isSchedulerDisableHorizontalScrolling() { return SchedulerDisableHorizontalScrolling; }
public BookingSettingResponse setSchedulerDisableHorizontalScrolling(Boolean value) { this.SchedulerDisableHorizontalScrolling = value; return this; }
public String getReceiptTemplate() { return ReceiptTemplate; }
public BookingSettingResponse setReceiptTemplate(String value) { this.ReceiptTemplate = value; return this; }
public Integer getScheduleTimeSlotMinutes() { return ScheduleTimeSlotMinutes; }
public BookingSettingResponse setScheduleTimeSlotMinutes(Integer value) { this.ScheduleTimeSlotMinutes = value; return this; }
public Boolean isShowFreeTimesLeft() { return ShowFreeTimesLeft; }
public BookingSettingResponse setShowFreeTimesLeft(Boolean value) { this.ShowFreeTimesLeft = value; return this; }
public Integer getFreeSpotTextsId() { return FreeSpotTextsId; }
public BookingSettingResponse setFreeSpotTextsId(Integer value) { this.FreeSpotTextsId = value; return this; }
public Boolean isEnableICalGroupBookings() { return EnableICalGroupBookings; }
public BookingSettingResponse setEnableICalGroupBookings(Boolean value) { this.EnableICalGroupBookings = value; return this; }
public String getAgreementTemplate() { return AgreementTemplate; }
public BookingSettingResponse setAgreementTemplate(String value) { this.AgreementTemplate = value; return this; }
public Boolean isScheduleShowTimeExeptions() { return ScheduleShowTimeExeptions; }
public BookingSettingResponse setScheduleShowTimeExeptions(Boolean value) { this.ScheduleShowTimeExeptions = value; return this; }
public Boolean isEnableBookingsOnSameTime() { return EnableBookingsOnSameTime; }
public BookingSettingResponse setEnableBookingsOnSameTime(Boolean value) { this.EnableBookingsOnSameTime = value; return this; }
public Integer getShowWeekNumberSettingId() { return ShowWeekNumberSettingId; }
public BookingSettingResponse setShowWeekNumberSettingId(Integer value) { this.ShowWeekNumberSettingId = value; return this; }
public Boolean isEnableShowBookedTimes() { return EnableShowBookedTimes; }
public BookingSettingResponse setEnableShowBookedTimes(Boolean value) { this.EnableShowBookedTimes = value; return this; }
public Integer getBookSpotUserResponseMinutes() { return BookSpotUserResponseMinutes; }
public BookingSettingResponse setBookSpotUserResponseMinutes(Integer value) { this.BookSpotUserResponseMinutes = value; return this; }
public Boolean getIsBookSpotDirectly() { return IsBookSpotDirectly; }
public BookingSettingResponse setIsBookSpotDirectly(Boolean value) { this.IsBookSpotDirectly = value; return this; }
public Integer getBookSpotDirectlyTimeLeftMinutes() { return BookSpotDirectlyTimeLeftMinutes; }
public BookingSettingResponse setBookSpotDirectlyTimeLeftMinutes(Integer value) { this.BookSpotDirectlyTimeLeftMinutes = value; return this; }
public Boolean isSendEmailNotificationQueue() { return SendEmailNotificationQueue; }
public BookingSettingResponse setSendEmailNotificationQueue(Boolean value) { this.SendEmailNotificationQueue = value; return this; }
public Boolean isSendSMSNotificationQueue() { return SendSMSNotificationQueue; }
public BookingSettingResponse setSendSMSNotificationQueue(Boolean value) { this.SendSMSNotificationQueue = value; return this; }
public Boolean isEnableSendFollowUpMessage() { return EnableSendFollowUpMessage; }
public BookingSettingResponse setEnableSendFollowUpMessage(Boolean value) { this.EnableSendFollowUpMessage = value; return this; }
public Integer getFollowUpMessageTime() { return FollowUpMessageTime; }
public BookingSettingResponse setFollowUpMessageTime(Integer value) { this.FollowUpMessageTime = value; return this; }
public Boolean isBookOnlyOnExistingCustomers() { return BookOnlyOnExistingCustomers; }
public BookingSettingResponse setBookOnlyOnExistingCustomers(Boolean value) { this.BookOnlyOnExistingCustomers = value; return this; }
public Boolean isAutoGenerateUniquePinCode() { return AutoGenerateUniquePinCode; }
public BookingSettingResponse setAutoGenerateUniquePinCode(Boolean value) { this.AutoGenerateUniquePinCode = value; return this; }
public Boolean isAutoCreateUserProfile() { return AutoCreateUserProfile; }
public BookingSettingResponse setAutoCreateUserProfile(Boolean value) { this.AutoCreateUserProfile = value; return this; }
public ArrayList<ScheduleViewResponse> getScheduleViewOptions() { return ScheduleViewOptions; }
public BookingSettingResponse setScheduleViewOptions(ArrayList<ScheduleViewResponse> value) { this.ScheduleViewOptions = value; return this; }
public ArrayList<WeekNumberSettingResponse> getWeekNumberOptions() { return WeekNumberOptions; }
public BookingSettingResponse setWeekNumberOptions(ArrayList<WeekNumberSettingResponse> value) { this.WeekNumberOptions = value; return this; }
public ArrayList<BookingTemplateResponse> getBookingTemplateOptions() { return BookingTemplateOptions; }
public BookingSettingResponse setBookingTemplateOptions(ArrayList<BookingTemplateResponse> value) { this.BookingTemplateOptions = value; return this; }
public ArrayList<CalendarTypeResponse> getCalendarTypeOptions() { return CalendarTypeOptions; }
public BookingSettingResponse setCalendarTypeOptions(ArrayList<CalendarTypeResponse> value) { this.CalendarTypeOptions = value; return this; }
public ArrayList<BookingStatusOptions> getBookingStatusOptions() { return BookingStatusOptions; }
public BookingSettingResponse setBookingStatusOptions(ArrayList<BookingStatusOptions> value) { this.BookingStatusOptions = value; return this; }
public ArrayList<FreeSpotTextsResponse> getFreeSpotTextOptions() { return FreeSpotTextOptions; }
public BookingSettingResponse setFreeSpotTextOptions(ArrayList<FreeSpotTextsResponse> value) { this.FreeSpotTextOptions = value; return this; }
public Boolean isWeightedPrices() { return WeightedPrices; }
public BookingSettingResponse setWeightedPrices(Boolean value) { this.WeightedPrices = value; return this; }
public Boolean isShowMultiDayAsTime() { return ShowMultiDayAsTime; }
public BookingSettingResponse setShowMultiDayAsTime(Boolean value) { this.ShowMultiDayAsTime = value; return this; }
public Boolean isShowMultipleResourcesAsOne() { return ShowMultipleResourcesAsOne; }
public BookingSettingResponse setShowMultipleResourcesAsOne(Boolean value) { this.ShowMultipleResourcesAsOne = value; return this; }
public String getBookingPinCodeRestriction() { return BookingPinCodeRestriction; }
public BookingSettingResponse setBookingPinCodeRestriction(String value) { this.BookingPinCodeRestriction = value; return this; }
public Boolean isCustomerInvoiceAdressRequired() { return CustomerInvoiceAdressRequired; }
public BookingSettingResponse setCustomerInvoiceAdressRequired(Boolean value) { this.CustomerInvoiceAdressRequired = 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 .xml suffix or ?format=xml
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: application/xml
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length
<BookingSettingResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BokaMera.API.ServiceModel.Dtos">
<AgreementTemplate>String</AgreementTemplate>
<AllowBookingOnUnbookedTimes>false</AllowBookingOnUnbookedTimes>
<AutoCreateUserProfile>false</AutoCreateUserProfile>
<AutoGenerateUniquePinCode>false</AutoGenerateUniquePinCode>
<BookOnlyOnExistingCustomers>false</BookOnlyOnExistingCustomers>
<BookSpotDirectlyTimeLeftMinutes>0</BookSpotDirectlyTimeLeftMinutes>
<BookSpotUserResponseMinutes>0</BookSpotUserResponseMinutes>
<BookingPinCodeRestriction>String</BookingPinCodeRestriction>
<BookingStatusId>0</BookingStatusId>
<BookingStatusOptions xmlns:d2p1="http://schemas.datacontract.org/2004/07/BokaMera.API.ServiceModel.Db">
<d2p1:BookingStatusOptions>
<d2p1:Description>String</d2p1:Description>
<d2p1:Id>0</d2p1:Id>
<d2p1:Name>String</d2p1:Name>
</d2p1:BookingStatusOptions>
</BookingStatusOptions>
<BookingTemplateId>0</BookingTemplateId>
<BookingTemplateOptions>
<BookingTemplateResponse>
<Description>String</Description>
<Id>0</Id>
<Name>String</Name>
<UsedByApplication>String</UsedByApplication>
</BookingTemplateResponse>
</BookingTemplateOptions>
<CalendarTypeId>0</CalendarTypeId>
<CalendarTypeOptions>
<CalendarTypeResponse>
<Active>false</Active>
<Description>String</Description>
<Id>0</Id>
<Name>String</Name>
</CalendarTypeResponse>
</CalendarTypeOptions>
<CompanyId>00000000-0000-0000-0000-000000000000</CompanyId>
<CustomerInvoiceAdressRequired>false</CustomerInvoiceAdressRequired>
<EmailReminderTime>0</EmailReminderTime>
<EnableBookingsOnSameTime>false</EnableBookingsOnSameTime>
<EnableICalGroupBookings>false</EnableICalGroupBookings>
<EnableMobileApp>false</EnableMobileApp>
<EnableSendFollowUpMessage>false</EnableSendFollowUpMessage>
<EnableShowBookedTimes>false</EnableShowBookedTimes>
<FollowUpMessageTime>0</FollowUpMessageTime>
<FreeSpotTextOptions>
<FreeSpotTextsResponse>
<Id>0</Id>
<TextPlural>String</TextPlural>
<TextSingular>String</TextSingular>
</FreeSpotTextsResponse>
</FreeSpotTextOptions>
<FreeSpotTextsId>0</FreeSpotTextsId>
<IsBookSpotDirectly>false</IsBookSpotDirectly>
<MaxActiveBookings>0</MaxActiveBookings>
<MessageText>String</MessageText>
<PushNotificationReminderTime>0</PushNotificationReminderTime>
<ReceiptTemplate>String</ReceiptTemplate>
<ScheduleEndTime>PT0S</ScheduleEndTime>
<ScheduleGroupResources>false</ScheduleGroupResources>
<ScheduleShowTimeExeptions>false</ScheduleShowTimeExeptions>
<ScheduleStartTime>PT0S</ScheduleStartTime>
<ScheduleTimeSlotMinutes>0</ScheduleTimeSlotMinutes>
<ScheduleViewId>0</ScheduleViewId>
<ScheduleViewOptions>
<ScheduleViewResponse>
<Id>0</Id>
<Name>String</Name>
</ScheduleViewResponse>
</ScheduleViewOptions>
<SchedulerDisableHorizontalScrolling>false</SchedulerDisableHorizontalScrolling>
<SendEmailConfirmation>false</SendEmailConfirmation>
<SendEmailNotificationQueue>false</SendEmailNotificationQueue>
<SendEmailReminder>false</SendEmailReminder>
<SendNotifications>false</SendNotifications>
<SendNotificationsEmail>String</SendNotificationsEmail>
<SendPushNotification>false</SendPushNotification>
<SendPushNotificationReminder>false</SendPushNotificationReminder>
<SendSMSNotificationQueue>false</SendSMSNotificationQueue>
<SendSmsConfirmation>false</SendSmsConfirmation>
<SendSmsReminder>false</SendSmsReminder>
<ShowFreeTimesLeft>false</ShowFreeTimesLeft>
<ShowMultiDayAsTime>false</ShowMultiDayAsTime>
<ShowMultipleResourcesAsOne>false</ShowMultipleResourcesAsOne>
<ShowWeekNumberSettingId>0</ShowWeekNumberSettingId>
<SmsReminderTime>0</SmsReminderTime>
<WeekNumberOptions>
<WeekNumberSettingResponse>
<Description>String</Description>
<Id>0</Id>
<Name>String</Name>
</WeekNumberSettingResponse>
</WeekNumberOptions>
<WeightedPrices>false</WeightedPrices>
</BookingSettingResponse>