BokaMera.API.Host

<back to all web services

HomepageSchedulerSettingsQuery

The following routes are available for this service:
GET/homepage/scheduler/settingsGet homepage scheduler settings
HomepageSchedulerSettingsQuery Parameters:
NameParameterData TypeRequiredDescription
CompanyIdqueryGuid?NoEnter the company you want to see news for, if blank and you are an admin, your company id will be used
IncludeServicesquerybooleanNoIf you want to include the services that is connected
IncludeResourcesquerybooleanNoIf you want to include the resources that is connected
IncludeFieldsquerybooleanNoIf you want to include the scheduler fields that is connected
IncludeServiceOptionsquerybooleanNoIf you want to include the service to select from
IncludeResourceOptionsquerybooleanNoIf you want to include the resources to select from
IncludeFieldOptionsquerybooleanNoIf you want to include the scheduler fields to select from
IncludeScheduleViewOptionsquerybooleanNoIf you want to include the schedule views to select from
SitePathquerystringNoThe homeage sitepath.
HomepageSchedulerSettingsQueryResponse Parameters:
NameParameterData TypeRequiredDescription
CompanyIdformGuidNoThe company id.
ActiveformboolNoIf the user schedule is activated.
ScheduleViewIdformintNoIf the user schedule views id.
ScheduleTimeSlotMinutesformintNoIf the user schedule time slots in minutes.
StartTimeformTimeSpan?NoIf the user schedule time start time.
EndTimeformTimeSpan?NoIf the user schedule time end time.
ShowTimeExceptionsformboolNoIf the user schedule should contain time exceptions.
EnableBookingformboolNoIf allow booking in the scheduler.
ServicesformList<HomepageSchedulerServiceResponse>NoThe homepage schedule services that are selected
ResourcesformList<HomepageSchedulerResourceResponse>NoThe homepage schedule resources that are selected
FieldsformList<HomepageSchedulerFieldResponse>NoThe homepage schedule fields that are selected
FieldOptionsformList<HomepageSchedulerFieldOptionsResponse>NoThe homepage schedule fields select from
ScheduleViewOptionsformList<ScheduleViewResponse>NoThe available schedule view options to choose from
HomepageSchedulerServiceResponse Parameters:
NameParameterData TypeRequiredDescription
IdformintNoThe service id.
NameformstringNoThe service name.
DescriptionformstringNoThe service description.
ImageUrlformUriNoThe service image url.
HomepageSchedulerResourceResponse Parameters:
NameParameterData TypeRequiredDescription
IdformintNoThe resource id.
NameformstringNoThe resource name.
DescriptionformstringNoThe resource description.
ImageUrlformUriNoThe resource image url.
HomepageSchedulerFieldResponse Parameters:
NameParameterData TypeRequiredDescription
IdformintNoThe field id.
ShowOnBookingformboolNoIf the field should be shown on booking.
ShowOnTooltipformboolNoIf the field should be shown on tooltip.
HomepageSchedulerFieldOptionsResponse Parameters:
NameParameterData TypeRequiredDescription
IdformintNoThe field id.
NameformstringNoThe field name.
DescriptionformstringNoThe field description.
SortOrderformintNoThe field sort order when listing.
ScheduleViewResponse Parameters:
NameParameterData TypeRequiredDescription
IdformintNo
NameformstringNo

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

HTTP + OTHER

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

GET /homepage/scheduler/settings HTTP/1.1 
Host: testapi.bokamera.se 
Accept: text/jsonl
HTTP/1.1 200 OK
Content-Type: text/jsonl
Content-Length: length

{"Active":false,"ScheduleViewId":0,"ScheduleTimeSlotMinutes":0,"StartTime":"00:00:00","EndTime":"00:00:00","ShowTimeExceptions":false,"EnableBooking":false,"Services":[{"Id":0,"Name":"String","Description":"String"}],"Resources":[{"Id":0,"Name":"String","Description":"String"}],"Fields":[{"Id":0,"ShowOnBooking":false,"ShowOnTooltip":false}],"FieldOptions":[{"Id":0,"Name":"String","Description":"String","SortOrder":0}],"ScheduleViewOptions":[{"Id":0,"Name":"String"}]}