BokaMera.API.Host

<back to all web services

ResourceQuery

Requires Authentication
The following routes are available for this service:
GET/resourceFind resources.
ResourceQuery Parameters:
NameParameterData TypeRequiredDescription
CompanyIdqueryGuid?YesEnter the company and id you want to see the information for a resource, if blank company id and you are an admin, your company id will be used. If blank id, all resources will be shown
Idqueryint?No
Activequerybool?No
IncludeExceptionsquerybooleanNoIf you want to include the exceptions for each resource, only allowed for administrators. Select between what dates in the parameters [ExceptionsQueryFromDate] and [ExceptionsQueryToDate] , if no dates added
ExceptionsQueryFromDatequerydateTimeNoIf [IncludeExceptions], choose what from and to date to search exceptions between, if nothing entered i will search from todays date.
ExceptionsQueryToDatequerydateTimeNoIf [IncludeExceptions], choose what from and to date to search exceptions between, if nothing entered i will search to 1 year forward from todays date.
IncludeBookingsquerybooleanNoIf you want to include the bookings for each resource, only allowed for administrators. Select between what dates in the parameters [BookingsQueryFromDate] and [BookingsQueryToDate] , if nothing entered i will search to 1 year forward from todays date.
BookingsQueryFromDatequerydateTimeNoIf [IncludeBookings], choose what from and to date to search bookings between, if nothing entered i will search from todays date.
BookingsQueryToDatequerydateTimeNoIf [IncludeBookings], choose what from and to date to search bookings between, if nothing entered i will search to 1 year forward from todays date.
QueryBase Parameters:
NameParameterData TypeRequiredDescription
SkipqueryintNoSkip over a given number of elements in a sequence and then return the remainder. Use this when you need paging.

Example:
?skip=10&orderBy=Id
TakequeryintNoReturn a given number of elements in a sequence and then skip over the remainder. Use this when you need paging.

Example:
?take=20
OrderByquerystringNoComma separated list of fields to order by. Prefix the field name with a minus if you wan't to invert the sort for that field.

Example:
?orderBy=Id,-Age,FirstName
OrderByDescquerystringNoComma separated list of fields to order by in descending order. Prefix the field name with a minus if you wan't to invert the sort for that field.

Example:
?orderByDesc=Id,-Age,FirstName
IncludequerystringNoInclude any of the aggregates AVG, COUNT, FIRST, LAST, MAX, MIN, SUM in your result set. The results will be returned in the meta field.

Example:
?include=COUNT(*) as Total

or multiple fields with
?include=Count(*) Total, Min(Age), AVG(Age) AverageAge

or unique with
?include=COUNT(DISTINCT LivingStatus) as UniqueStatus
FieldsformstringNo
MetaformDictionary<string, string>No
Resource Parameters:
NameParameterData TypeRequiredDescription
PriorityformintNo
SchedulesformIList<ISchedule>No
ExceptionsformIList<ITimeException>No
BookingsformIList<IBookedTime>No
ActiveBookingsformIList<IBookedTime>No
CustomFieldsConfigformIList<CustomFieldConfig>No
CustomFieldsDataformIList<CustomFieldDataResponse>No
CompanyIdformGuidYes
IdformintNo
NameformstringYes
ActiveformboolYes
DescriptionformstringNo
ImageUrlformstringNo
UpdatedDateformDateTimeYes
CreatedDateformDateTimeYes
ColorformstringYes
EmailformstringNo
MobilePhoneformstringNo
EmailNotificationformbool?No
SMSNotificationformbool?No
SendSMSReminderformboolYes
SendEmailReminderformboolYes
ModifiedDateformDateTimeOffset?No
AccessGroupformstringNo
TextField1formstringNo
TextField2formstringNo
TextField3formstringNo
TextField4formstringNo
TextField5formstringNo
TextField6formstringNo
TextField7formstringNo
TextField8formstringNo
TextField9formstringNo
TextField10formstringNo
TextField11formstringNo
TextField12formstringNo
TextField13formstringNo
TextField14formstringNo
TextField15formstringNo
TextField16formstringNo
TextField17formstringNo
TextField18formstringNo
TextField19formstringNo
TextField20formstringNo
ISchedule Parameters:
NameParameterData TypeRequiredDescription
ResourcesformIList<Resource>No
TypeformScheduleTypeNo
ActiveformboolNo
IsResourceSpecificformboolNo
ScheduleType Enum:
NotDefined
RecurringSchedule
DateSchedule
ITimeException Parameters:
NameParameterData TypeRequiredDescription
IdformintNo
ReasonTextformstringNo
IsBlockformboolNo
ReasonTextPublicformstringNo
IsRecurringformboolNo
ResourceIdsformint[]No
IBookedTime Parameters:
NameParameterData TypeRequiredDescription
IdformintNo
ServiceIdformintNo
BookedSpotsformintNo
TotalSpotsformintNo
PauseAfterInMinutesformintNo
StatusformBookingStatusEnumNo
StatusIdformintNo
CustomerformBookedCustomerNo
BookingStatusEnum Enum:
NameValue
Booked1
Unbooked2
Reserved3
Canceled4
AwaitingPayment5
AwaitingPaymentNoTimeLimit6
Payed7
AwaitingPaymentRequestFromAdmin8
AwaitingPaymentFromProvider9
Invoiced10
BookedCustomer Parameters:
NameParameterData TypeRequiredDescription
IdformGuidNo
FirstnameformstringNo
LastnameformstringNo
EmailformstringNo
PhoneformstringNo
FacebookUserNameformstringNo
ImageUrlformstringNo
InvoiceAddress1formstringNo
InvoiceAddress2formstringNo
InvoiceCityformstringNo
InvoicePostalCodeformstringNo
InvoiceCountryCodeformstringNo
CustomFieldConfig Parameters:
NameParameterData TypeRequiredDescription
ValuesformList<CustomFieldValue>No
CustomFieldformCustomFieldNo
RegExformRegExNo
ServicesformList<Service>No
CustomFieldServiceRelationformList<CustomFieldServiceRelation>No
CompanyIdformGuidYes
IdformintNo
GroupIdformint?No
FieldIdformintYes
IconIdformintYes
RegExIdformint?No
NameformstringYes
DescriptionformstringYes
DatatypeformstringYes
MaxLengthformintYes
IsPublicformboolYes
IsHiddenformboolYes
IsMandatoryformboolYes
DefaultValueformstringNo
RegExErrorMessageformstringNo
MandatoryErrorMessageformstringNo
Widthformint?No
MultipleLineTextformboolYes
ModifiedDateformDateTimeOffset?No
CustomFieldValue Parameters:
NameParameterData TypeRequiredDescription
CompanyIdformGuidYes
IdformintNo
ValueformstringYes
ActiveformboolYes
SortOrderformshort?No
ModifiedDateformDateTimeOffset?No
CustomField Parameters:
NameParameterData TypeRequiredDescription
TableformstringYes
ColumnformstringYes
DataTypeformstringYes
DescriptionformstringYes
ActiveformboolYes
ModifiedDateformDateTimeOffset?No
IdformintNo
RegEx Parameters:
NameParameterData TypeRequiredDescription
NameformstringYes
DescriptionformstringYes
RegExCodeformstringYes
ErrorMessageformstringNo
ModifiedDateformDateTimeOffset?No
IdformintNo
Service Parameters:
NameParameterData TypeRequiredDescription
ResourceTypesformList<ResourceType>No
ResourcesformIEnumerable<Resource>No
TotalPriceformTotalPriceInformationNo
PricesformList<ServicePrice>No
BookingStatusOptionsformList<BookingStatusOptions>No
IsGroupBookingformboolNo
IsMultipleResourceformboolNo
SettingsformBookingSettingsNo
PaymentSettingformPaymentSettingNo
BookingCustomFieldsConfigformIList<CustomFieldConfig>No
CustomerCustomFieldsConfigformIList<CustomFieldConfig>No
CustomFieldsConfigformIList<CustomFieldConfig>No
CustomFieldsDataformIList<CustomFieldDataResponse>No
SchedulesformIList<ISchedule>No
CustomerActiveBookingsformIList<Booking>No
ScheduleTypeformScheduleTypeNo
LastTimeToUnbookThresholdformTimeSpanNo
LastTimeToBookThresholdformTimeSpanNo
RatingScoreformAverageRatingScoreNo
RatingsformList<Rating>No
CompanyIdformGuidYes
IdformintNo
NameformstringYes
DescriptionformstringYes
GroupformstringNo
ActiveformboolYes
SortOrderformintYes
PauseAfterBookingformintYes
UnbookBeforeDaysformintYes
UnbookBeforeHoursformintYes
UnbookBeforeMinutesformintYes
BookBeforeDaysformintYes
BookBeforeHoursformintYes
BookBeforeMinutesformintYes
Durationformint?No
TotalSpotsformint?No
ImageUrlformstringNo
ScheduleTypeIdformintYes
UpdatedDateformDateTimeYes
CreatedDateformDateTimeYes
OnlyVisibleByAdminformboolYes
MaxNumberOfSpotsPerBookingformintYes
MinNumberOfResourcesToBookformintYes
MaxNumberOfResourcesToBookformintYes
IsPaymentEnabledformboolYes
MaxPaymentTimeformintYes
LockSpotsToBookingformboolYes
EnableBookingQueueformboolYes
ModifiedDateformDateTimeOffset?No
BookingStatusIdformintYes
EnableCodeLockSyncformboolYes
EnableCustomerManualPaymentformboolYes
PriceViewTypeIdformint?No
TextField1formstringNo
TextField2formstringNo
TextField3formstringNo
TextField4formstringNo
TextField5formstringNo
TextField6formstringNo
TextField7formstringNo
TextField8formstringNo
TextField9formstringNo
TextField10formstringNo
TextField11formstringNo
TextField12formstringNo
TextField13formstringNo
TextField14formstringNo
TextField15formstringNo
TextField16formstringNo
TextField17formstringNo
TextField18formstringNo
TextField19formstringNo
TextField20formstringNo
ResourceType Parameters:
NameParameterData TypeRequiredDescription
SelectableByUserformboolNo
ResourcesformList<Resource>No
CompanyIdformGuidYes
IdformintNo
NameformstringYes
DescriptionformstringNo
ActiveformboolYes
UpdatedDateformDateTimeYes
CreatedDateformDateTimeYes
ModifiedDateformDateTimeOffset?No
TotalPriceInformation Parameters:
NameParameterData TypeRequiredDescription
TotalPriceformdoubleNo
TotalVATAmountformdoubleNo
TotalRebateformdoubleNo
TotalPriceBeforeRebateformdoubleNo
AppliedCodesformList<AppliedRebateCodes>No
CurrencyIdformstringNo
VATformdecimalNo
AppliedRebateCodes Parameters:
NameParameterData TypeRequiredDescription
RebateCodeIdformintNo
RebateCodeSignformstringNo
RebateCodeValueformintNo
RebateAmountformdoubleNo
RebateCodeTypeformRebateCodeTypeNo
RebateCodeType Parameters:
NameParameterData TypeRequiredDescription
NameformstringYes
DescriptionformstringNo
ModifiedDateformDateTimeOffset?No
IdformintNo
ServicePrice Parameters:
NameParameterData TypeRequiredDescription
CurrencyIdformstringNo
CurrencyInfoformCurrencyNo
ServiceformServiceNo
PriceMappingsformList<PriceMapping>No
isTimeSpecificformboolNo
isDaysOfWeekSpecificformboolNo
DayOfWeeksformList<ServicePriceDayOfWeekRelation>No
PriceBeforeRebateformdouble?No
RebateCodesAppliedformList<RebateCode>No
PriceTextformstringNo
IsWeightedformboolNo
OverlappingPricesformList<ServicePrice>No
CompanyIdformGuidYes
IdformintNo
ServiceIdformintYes
Priceformdouble?No
UpdatedformDateTimeYes
CreatedformDateTimeYes
FromTimeformTimeSpanYes
ToTimeformTimeSpanYes
VATformdecimalYes
CategoryformstringNo
ModifiedDateformDateTimeOffset?No
FromformDateTimeYes
ToformDateTimeYes
Currency Parameters:
NameParameterData TypeRequiredDescription
NameformstringYes
CurrencySignformstringYes
ActiveformboolYes
ModifiedDateformDateTimeOffset?No
IdformstringYes
PriceMapping Parameters:
NameParameterData TypeRequiredDescription
CompanyIdformGuidYes
IdformGuidYes
PriceIdformintYes
ReferenceTypeformstringNo
ExternalReferenceformstringNo
UpdatedDateformDateTimeYes
CreatedDateformDateTimeYes
ModifiedDateformDateTimeOffset?No
ServicePriceDayOfWeekRelation Parameters:
NameParameterData TypeRequiredDescription
DayOfWeekformBokaMeraDayOfWeekNo
CompanyIdformGuidYes
ServicePriceIdformintYes
DayOfWeekIdformintYes
ModifiedDateformDateTimeOffset?No
IdformintNo
BokaMeraDayOfWeek Enum:
NameValue
Monday1
Tuesday2
Wednesday3
Thursday4
Friday5
Saturday6
Sunday7
RebateCode Parameters:
NameParameterData TypeRequiredDescription
RebateCodeTypeIdformintNo
RebateCodeTypeInfoformRebateCodeTypeNo
RebateCodeStatusIdformintNo
RebateCodeStatusInfoformRebateCodeTypeNo
ServicesformList<Service>No
RebateCodeDayOfWeekRelationformList<RebateCodeDayOfWeekRelation>No
RebateCodeServiceRelationformList<RebateCodeServiceRelation>No
RebateCodeBookingPriceRelationformList<RebateCodeBookingPriceRelation>No
RebateCodeCustomerRelationformList<RebateCodeCustomerRelation>No
DaysOfWeekformList<DaysOfWeek>No
CustomersformList<Customer>No
RebateCodeStatusformRebateCodeStatusNo
RebateCodeTypeformRebateCodeTypeNo
CurrentNumberOfUsesPerCustomerformintNo
IsSpecificByDayOfWeekformboolNo
ActiveformboolNo
CompanyIdformGuidNo
ValidFromformDateTimeYes
ValidToformDateTimeYes
RebateCodeSignformstringYes
RebateCodeValueformintYes
MaxNumberOfUsesformintYes
MaxNumberOfUsesPerCustomerformintYes
NumberOfUsesUsedformintYes
PersonalNoteformstringNo
CreatedByformstringYes
CreatedformDateTimeYes
UpdatedByformstringYes
UpdatedformDateTimeYes
FromTimeformTimeSpanYes
ToTimeformTimeSpanYes
ModifiedDateformDateTimeOffset?No
IdformintNo
RebateCodeDayOfWeekRelation Parameters:
NameParameterData TypeRequiredDescription
DayOfWeekformBokaMeraDayOfWeekNo
DayOfWeekIdformintYes
RebateCodeIdformintYes
CompanyIdformGuidYes
IdformintNo
ModifiedDateformDateTimeOffset?No
RebateCodeServiceRelation Parameters:
NameParameterData TypeRequiredDescription
CompanyIdformGuidYes
ServiceIdformintYes
RebateCodeIdformintYes
IdformintNo
ModifiedDateformDateTimeOffset?No
RebateCodeBookingPriceRelation Parameters:
NameParameterData TypeRequiredDescription
CompanyIdformGuidYes
PriceIdformintYes
RebateCodeIdformintYes
IdformintNo
ModifiedDateformDateTimeOffset?No
RebateCodeCustomerRelation Parameters:
NameParameterData TypeRequiredDescription
CompanyIdformGuidYes
CustomerIdformGuidYes
RebateCodeIdformintYes
IdformintNo
ModifiedDateformDateTimeOffset?No
DaysOfWeek Parameters:
NameParameterData TypeRequiredDescription
DayOfWeekformstringYes
DayOfWeekTranslationformstringYes
DayOfWeekActiveformbool?No
DayOfWeekSortOrderformshort?No
ModifiedDateformDateTimeOffset?No
IdformintNo
Customer Parameters:
NameParameterData TypeRequiredDescription
IdentityIdformintNo
IdformGuidNo
CustomerIdformGuidNo
AccessKeysformIList<UserAccessKeys>No
EmailformstringNo
ExternalReferencesformIList<ExternalReference>No
CustomFieldsConfigformIList<CustomFieldConfig>No
CustomFieldsDataformIList<CustomFieldDataResponse>No
CommentsformIList<CustomerComment>No
FirstnameformstringNo
ImageUrlformstringNo
ActiveformboolYes
FacebookUsernameformstringNo
UpdatedformDateTimeYes
CreatedformDateTimeYes
IpAddressformstringNo
PinCodeformstringNo
CardIdformstringNo
ModifiedDateformDateTimeOffset?No
TextField1formstringNo
TextField2formstringNo
TextField3formstringNo
TextField4formstringNo
TextField5formstringNo
TextField6formstringNo
TextField7formstringNo
TextField8formstringNo
TextField9formstringNo
TextField10formstringNo
TextField11formstringNo
TextField12formstringNo
TextField13formstringNo
TextField14formstringNo
TextField15formstringNo
TextField16formstringNo
TextField17formstringNo
TextField18formstringNo
TextField19formstringNo
TextField20formstringNo
UserIdformGuidNo
LastnameformstringNo
PhoneformstringNo
InvoiceAddress1formstringNo
InvoiceAddress2formstringNo
InvoiceCityformstringNo
InvoicePostalCodeformstringNo
InvoiceCountryCodeformstringNo
CompanyIdformGuidYes
SubscribedToNewsletterformboolNo
UserAccessKeys Parameters:
NameParameterData TypeRequiredDescription
CompanyIdformGuidYes
AccessKeyTypeIdformintYes
ValueformstringYes
CustomerIdformGuidYes
DescriptionformstringNo
IdformGuidYes
ExternalReference Parameters:
NameParameterData TypeRequiredDescription
CompanyIdformGuidYes
IdformGuidYes
OwnerIdformGuidYes
ReferenceTypeformstringYes
ExternalDataformstringNo
CreatedByformstringNo
UpdatedformDateTimeYes
CreatedformDateTimeYes
ModifiedDateformDateTimeOffset?No
CustomFieldDataResponse Parameters:
NameParameterData TypeRequiredDescription
IdformintNo
ColumnformstringNo
NameformstringNo
DescriptionformstringNo
ValueformstringNo
DataTypeformstringNoData field of custom field. Valid values are: TextBox, ... Example: 'TextBox'
CustomerComment Parameters:
NameParameterData TypeRequiredDescription
CompanyIdformGuidYes
IdformintNo
CustomerIdformGuidYes
CommentsformstringYes
UpdatedformDateTimeYes
CreatedformDateTimeYes
ImageUrlformstringNo
ModifiedDateformDateTimeOffset?No
RebateCodeStatus Parameters:
NameParameterData TypeRequiredDescription
NameformstringYes
DescriptionformstringNo
ModifiedDateformDateTimeOffset?No
IdformintNo
BookingStatusOptions Parameters:
NameParameterData TypeRequiredDescription
IdformintNo
NameformstringNo
DescriptionformstringNo
BookingSettings Parameters:
NameParameterData TypeRequiredDescription
FreeSpotTextsIdformintNo
SendEmailConfirmationformboolNo
ScheduleViewOptionsformList<ScheduleView>No
WeekNumberSettingOptionsformList<WeekNumberSetting>No
BookingTemplateOptionsformList<BookingTemplate>No
CalendarTypeOptionsformList<CalendarType>No
FreeSpotTextOptionsformList<FreeSpotTexts>No
BookingStatusOptionsformList<BookingStatusOptions>No
FreeSpotTextsInfoformFreeSpotTextsNo
FreeSpotsTextSingularformstringNo
FreeSpotsTextPluralformstringNo
BookingStatusIdformintYes
ScheduleViewIdformintYes
BookingTemplateIdformintYes
CalendarTypeIdformintYes
AllowBookingOnUnbookedTimesformboolYes
SendEmailReminderformboolYes
SendSmsReminderformboolYes
SendSmsConfirmationformboolYes
EmailReminderTimeformintYes
SmsReminderTimeformintYes
MaxActiveBookingsformintYes
SendNotificationsformboolYes
SendNotificationsEmailformstringNo
EnableMobileAppformboolYes
ScheduleStartTimeformTimeSpan?No
ScheduleEndTimeformTimeSpan?No
ReceiptTemplateformstringNo
ScheduleTimeSlotMinutesformintYes
ShowFreeTimesLeftformboolYes
EnableICalGroupBookingsformboolYes
AgreementTemplateformstringNo
ScheduleShowTimeExeptionsformboolYes
EnableBookingsOnSameTimeformboolYes
ShowWeekNumberSettingIdformintYes
EnableShowBookedTimesformboolYes
EnableSendFollowUpMessageformboolYes
FollowUpMessageTimeformintYes
MessageTextformstringNo
ScheduleGroupResourcesformboolYes
BookSpotUserResponseMinutesformintYes
IsBookSpotDirectlyformboolYes
BookSpotDirectlyTimeLeftMinutesformintYes
SendEmailNotificationQueueformboolYes
SendSMSNotificationQueueformboolYes
SchedulerDisableHorizontalScrollingformboolYes
BookOnlyOnExistingCustomersformboolYes
AutoGenerateUniquePinCodeformboolYes
WeightedPricesformboolYes
ModifiedDateformDateTimeOffset?No
AutoCreateUserProfileformboolYes
ShowMultipleResourcesAsOneformboolNo
ShowMultiDayAsTimeformboolNo
IdformGuidYes
ScheduleView Parameters:
NameParameterData TypeRequiredDescription
NameformstringYes
ModifiedDateformDateTimeOffset?No
IdformintNo
WeekNumberSetting Parameters:
NameParameterData TypeRequiredDescription
NameformstringYes
DescriptionformstringYes
ModifiedDateformDateTimeOffset?No
IdformintYes
BookingTemplate Parameters:
NameParameterData TypeRequiredDescription
NameformstringYes
DescriptionformstringYes
UsedByApplicationformstringYes
ModifiedDateformDateTimeOffset?No
IdformintNo
CalendarType Parameters:
NameParameterData TypeRequiredDescription
NameformstringYes
DescriptionformstringYes
ActiveformboolYes
ModifiedDateformDateTimeOffset?No
IdformintNo
FreeSpotTexts Parameters:
NameParameterData TypeRequiredDescription
TextSingularformstringYes
TextPluralformstringYes
ModifiedDateformDateTimeOffset?No
IdformintYes
PaymentSetting Parameters:
NameParameterData TypeRequiredDescription
AdminPaymentOptionformAdminPaymentOptionsNo
AdminPaymentOptionsformList<AdminPaymentOptions>No
PaymentProviderOptionsformList<PaymentProviders>No
EnabledformboolYes
InvoiceFeeformintYes
AllowCreditCardPaymentformboolYes
AllowInvoicePaymentformboolYes
AllowBankPaymentformboolYes
GuaranteeOfferedformboolYes
RefundOnCancelBookingformboolYes
DefaultPaymentOptionIdformint?No
PaymentProviderIdformintYes
SendPaymentRequestDirectlyformboolYes
ModifiedDateformDateTimeOffset?No
IdformGuidYes
AdminPaymentOptions Parameters:
NameParameterData TypeRequiredDescription
NameformstringYes
DescriptionformstringYes
ModifiedDateformDateTimeOffset?No
IdformintYes
PaymentProviders Parameters:
NameParameterData TypeRequiredDescription
NameformstringYes
DescriptionformstringYes
CategoryformstringYes
UrlformstringNo
ActiveformboolYes
ModifiedDateformDateTimeOffset?No
IdformintYes
Booking Parameters:
NameParameterData TypeRequiredDescription
CustomerformCustomerNo
ServiceformServiceNo
CalendarExportformCalendarExportNo
LogformList<BookingLog>No
PaymentLogformList<PaymentLog>No
CheckoutLogsformList<PaymentDetails>No
PricesformList<BookingPrice>No
StatusformBookingStatusEnumNo
isReservedformboolNo
StatusNameformstringNo
CompanyformCompanyNo
CurrencyIdformstringNo
CurrencyInfoformCurrencyNo
BookingStatusformBookingStatusNo
TotalPriceformdouble?No
TotalSpotsformint?No
ResourcesformIList<Resource>No
ExternalReferencesformIList<ExternalReference>No
BookedResourcesformIList<BookedResourceType>No
CustomFieldsConfigformIList<CustomFieldConfig>No
CustomFieldsDataformIList<CustomFieldDataResponse>No
ActiveformboolNo
LastTimeToUnBookformDateTime?No
PriceMappingsformList<PriceMapping>No
UpdatedDateformDateTimeYes
CreatedDateformDateTimeYes
CompanyIdformGuidYes
IdformintNo
CustomerIdformGuidYes
ServiceIdformintYes
StatusIdformintYes
UnbookedOnformDateTime?No
UnbookedCommentsformstringNo
BookedCommentsformstringNo
BookedByformstringYes
UnBookedByformstringNo
SendSmsReminderformboolYes
SendEmailReminderformboolYes
SendSmsConfirmationformboolYes
RebateCodeformstringNo
CommentsformstringNo
IpAddressformstringNo
NumberOfBookedSpotsformintYes
CommentsToCustomerformstringNo
PaymentExpirationformDateTime?No
PriceVatformdecimal?No
SendEmailConfirmationformboolYes
CancellationCodeformstringNo
ModifiedDateformDateTimeOffset?No
RatingCodeformstringNo
TextField1formstringNo
TextField2formstringNo
TextField3formstringNo
TextField4formstringNo
TextField5formstringNo
TextField6formstringNo
TextField7formstringNo
TextField8formstringNo
TextField9formstringNo
TextField10formstringNo
TextField11formstringNo
TextField12formstringNo
TextField13formstringNo
TextField14formstringNo
TextField15formstringNo
TextField16formstringNo
TextField17formstringNo
TextField18formstringNo
TextField19formstringNo
TextField20formstringNo
FromformDateTimeYes
ToformDateTimeYes
CalendarExport Parameters:
NameParameterData TypeRequiredDescription
CompanyIdformGuidYes
BookingIdformintYes
ExceptionIdformintYes
CalendarSyncformbool?No
CalendarIdformstringNo
IsExceptionDeletedformbool?No
ModifiedDateformDateTimeOffset?No
IdformintNo
BookingLog Parameters:
NameParameterData TypeRequiredDescription
EventTypeIdformintNo
EventTypeformBookingLogEventTypeNo
CompanyIdformGuidYes
BookingIdformintYes
IdformintNo
CommentsformstringNo
UserIdformstringNo
CreatedformDateTimeYes
ModifiedDateformDateTimeOffset?No
BookingLogEventType Parameters:
NameParameterData TypeRequiredDescription
NameformstringYes
DescriptionformstringYes
ModifiedDateformDateTimeOffset?No
IdformintYes
PaymentLog Parameters:
NameParameterData TypeRequiredDescription
CurrencyIdformstringNo
CurrencyInfoformCurrencyNo
CompanyIdformGuidYes
IdformintNo
BookingIdformintYes
PaymentReferenceIdformstringNo
PaymentProviderIdformint?No
OrderItemReferenceIdformstringNo
Amountformdouble?No
VATformdecimal?No
AmountCreditedformdouble?No
CommentsformstringNo
CreatedformDateTimeYes
UpdatedformDateTimeYes
ModifiedDateformDateTimeOffset?No
PaymentDetails Parameters:
NameParameterData TypeRequiredDescription
QvicklyCheckoutSerializedformQvicklyCheckoutResponseNo
Payson2CheckoutSerializedformPayson2CheckoutResponseNo
CompanyIdformGuidYes
BookingIdformintYes
ExternalResponseDataformstringYes
ExternalResponseReferenceformstringYes
PaymentProviderIdformintYes
IsPaymentformboolYes
CreatedDateformDateTimeYes
UpdatedDateformDateTimeYes
ModifiedDateformDateTimeOffset?No
QvicklyCheckoutResponse Parameters:
NameParameterData TypeRequiredDescription
NumberformintNo
StatusformstringNo
OrderIdformstringNo
UrlformstringNo
Payson2CheckoutResponse Parameters:
NameParameterData TypeRequiredDescription
IdformGuidNo
ExpirationTimeformDateTime?No
SnippetformstringNo
StatusformPayson2CheckoutStatusNo
CustomerformCustomerNo
OrderformOrderNo
MerchantformMerchantNo
GuiformGuiNo
HistoryformHistoryNo
PurchaseIdformint?No
Payson2CheckoutStatus Enum:
None
Created
FormsFilled
ReadyToPay
ProcessingPayment
ReadyToShip
Shipped
PaidToAccount
Canceled
Credited
Expired
Denied
Customer Parameters:
NameParameterData TypeRequiredDescription
CityformstringNo
CountryCodeformstringNo
IdentityNumberformstringNo
EmailformstringNo
FirstNameformstringNo
LastNameformstringNo
PhoneformstringNo
PostalCodeformstringNo
StreetformstringNo
ReferenceformstringNo
TypeformCustomerTypeNo
CustomerType Enum:
Person
Business
Order Parameters:
NameParameterData TypeRequiredDescription
CurrencyformCurrencyNo
TotalFeeExcludingTaxformdecimalNo
TotalFeeIncludingTaxformdecimalNo
TotalPriceExcludingTaxformdecimalNo
TotalPriceIncludingTaxformdecimalNo
TotalTaxAmountformdecimalNo
TotalCreditedAmountformdecimalNo
ItemsformIList<Item>No
Currency Enum:
NameValue
SEK1
EUR2
Item Parameters:
NameParameterData TypeRequiredDescription
ItemIdformGuidNo
DiscountRateformdecimalNo
EanformstringNo
ImageUriformUriNo
NameformstringNo
QuantityformdecimalNo
ReferenceformstringNo
TaxRateformdecimalNo
TotalPriceExcludingTaxformdecimalNo
TotalPriceIncludingTaxformdecimalNo
TotalTaxAmountformdecimalNo
CreditedAmountformdecimalNo
TypeformItemTypeNo
UnitPriceformdecimalNo
UriformUriNo
ItemType Enum:
Physical
Service
Fee
Discount
Merchant Parameters:
NameParameterData TypeRequiredDescription
CheckoutUriformUriNo
ConfirmationUriformUriNo
NotificationUriformUriNo
ValidationUriformUriNo
TermsUriformUriNo
ReferenceformstringNo
PartnerIdformstringNo
Gui Parameters:
NameParameterData TypeRequiredDescription
ColorSchemeformColorSchemeNo
LocaleformstringNo
RequestPhoneformboolNo
PhoneOptionalformboolNo
ColorScheme Enum:
White
Blue
Gray
GrayTextLogos
BlueTextLogos
WhiteTextLogos
WhiteNoFooter
GrayNoFooter
BlueNoFooter
History Parameters:
NameParameterData TypeRequiredDescription
CreatedformDateTime?No
ReadyToPayformDateTime?No
ReadyToShipformDateTime?No
ShippedformDateTime?No
PaidToAccountformDateTime?No
CanceledformDateTime?No
ExpiredformDateTime?No
DeniedformDateTime?No
BookingPrice Parameters:
NameParameterData TypeRequiredDescription
CurrencyIdformstringNo
PriceIdformint?No
CurrencyInfoformCurrencyNo
PriceTextformstringNo
AppliedCodesformList<AppliedRebateCodes>No
IsRebateformboolNo
IsRebateCalculatedformboolNo
CompanyIdformGuidYes
BookingIdformintYes
QuantityformintYes
Priceformdouble?No
VATformdecimal?No
CategoryformstringNo
UpdatedformDateTimeYes
CreatedformDateTimeYes
InvoicedformboolYes
OccupiesSpotformboolYes
ModifiedDateformDateTimeOffset?No
IdformintNo
Company Parameters:
NameParameterData TypeRequiredDescription
StatusformCompanyStatusNo
ActiveformboolNo
CustomerCustomFieldsConfigformIList<CustomFieldConfig>No
BookingAgreementsformstringNo
BookingSettingsformBookingSettingsNo
CompanyTypeformCompanyTypeNo
CodeLockSettingsformCodeLockSettingNo
PaymentSettingsformPaymentSettingNo
SettingsformCompanySettingNo
WidgetSettingsformHomepageWidgetSettingNo
HomepageSettingsformHomepageSettingNo
RatingScoreformAverageRatingScoreNo
RatingsformList<Rating>No
Distanceformdouble?No
LicensesformList<License>No
ActiveLicensesformList<License>No
CurrentLicenseformLicenseNo
IsFreeAccountformboolNo
DefaultLanguageformCultureInfoNo
CategoryformCompanyCategoryNo
LatformdoubleNo
LonformdoubleNo
IsFavoriteformboolNo
ExternalReferencesformIList<ExternalReference>No
OrganisationNumberformstringYes
StatusIdformintYes
CategoryIdformintYes
SitePathformstringYes
NameformstringYes
Street1formstringNo
Street2formstringNo
ZipCodeformstringNo
CityformstringNo
OpeningHoursformstringNo
FaxNumberformstringNo
EmailformstringYes
PhoneformstringNo
DetailsformstringNo
LogoTypeformstringNo
ApprovedByAdminformboolYes
UpdatedformDateTimeYes
CreatedformDateTimeYes
IpAddressformstringNo
HomepageformstringNo
DomainNameformstringNo
CountryIdformstringYes
CompanyOwnerIdformintYes
TypeIdformint?No
ModifiedDateformDateTimeOffset?No
IdformGuidYes
CompanyStatus Enum:
NameValue
Registered1
AwaitingApproval2
Approved3
Inactive4
ClosedDown5
NotApproved6
CompanyType Parameters:
NameParameterData TypeRequiredDescription
NameformstringYes
DescriptionformstringYes
ModifiedDateformDateTimeOffset?No
IdformintYes
CodeLockSetting Parameters:
NameParameterData TypeRequiredDescription
CodeLockSystemOptionsformList<CodeLockSystem>No
ActiveformboolYes
CodeLockSystemsIdformintYes
ValidBeforeMinutesformintYes
ValidAfterMinutesformintYes
DeleteOldByScheduleformboolYes
CreatedformDateTimeYes
UpdatedformDateTimeYes
ModifiedDateformDateTimeOffset?No
SendEmailNotificationformboolYes
SendSMSNotificationformboolYes
EmailNotificationTimeformshortYes
SMSNotificationTimeformshortYes
IdformGuidYes
CodeLockSystem Parameters:
NameParameterData TypeRequiredDescription
NameformstringYes
SupplierformstringYes
LogoTypeformstringNo
DescriptionformstringYes
ModifiedDateformDateTimeOffset?No
IdformintYes
CompanySetting Parameters:
NameParameterData TypeRequiredDescription
LanguagesformList<LanguageResponse>No
ActiveformboolYes
InactiveMessageformstringNo
SearchableformboolYes
GATrackingIdformstringNo
FacebookPixelIdformstringNo
MultiLanguageformboolYes
EnableAPITranslationformboolYes
DefaultLanguageformstringYes
ModifiedDateformDateTimeOffset?No
GTMTrackingIdformstringNo
ShowOnMarketPlaceformboolYes
GoogleAdsConversionIdformstringNo
LinkedinTagIdformstringNo
GoogleAdsConversionLabelformstringNo
IdformGuidYes
LanguageResponse Parameters:
NameParameterData TypeRequiredDescription
IdformstringNo
NameformstringNo
HomepageWidgetSetting Parameters:
NameParameterData TypeRequiredDescription
WidgetServiceLayoutOptionsformList<WidgetServiceLayouts>No
WidgetTimeLayoutOptionsformList<WidgetTimeLayouts>No
WidgetBookingLayoutOptionsformList<WidgetBookingLayouts>No
WidgetBookingMethodOptionsformList<WidgetBookingMethods>No
ServiceLayoutIdformintYes
TimeLayoutIdformintYes
BookingLayoutIdformintYes
PrimaryColorformstringYes
ShowServiceImageformboolYes
ShowNextAvailableTimeformboolYes
ShowEndTimeformboolYes
BookedTimeSlotTextformstringNo
DarkThemeformboolYes
ShowRebateCodeFieldformboolYes
ModifiedDateformDateTimeOffset?No
EnableCreateAccountformboolYes
EnableLoginformboolYes
EnableDirectBookingformboolYes
EnableFacebookLoginformboolYes
IdformGuidYes
WidgetServiceLayouts Parameters:
NameParameterData TypeRequiredDescription
NameformstringYes
DescriptionformstringYes
CodeformstringYes
ModifiedDateformDateTimeOffset?No
IdformintYes
WidgetTimeLayouts Parameters:
NameParameterData TypeRequiredDescription
NameformstringYes
DescriptionformstringYes
CodeformstringYes
ModifiedDateformDateTimeOffset?No
IdformintYes
WidgetBookingLayouts Parameters:
NameParameterData TypeRequiredDescription
NameformstringYes
DescriptionformstringYes
CodeformstringYes
ModifiedDateformDateTimeOffset?No
IdformintYes
WidgetBookingMethods Parameters:
NameParameterData TypeRequiredDescription
NameformstringYes
DescriptionformstringYes
CodeformstringYes
ModifiedDateformDateTimeOffset?No
IdformintYes
HomepageSetting Parameters:
NameParameterData TypeRequiredDescription
HomepageTemplateOptionsformList<HomepageTemplate>No
HomepageHeroSectionStyleOptionsformList<HeroSectionStyle>No
CompanyIdformGuid?No
WelcomePageHeadingformstringNo
WelcomePageBodyformstringNo
AboutUsPageHeadingformstringNo
AboutUsPageBodyformstringNo
HomePageTemplateIdformintYes
ImageUrlformstringNo
UpdatedformDateTimeYes
CreatedformDateTimeYes
HomepageHeadingformstringNo
HeroSectionStyleIdformintYes
ModifiedDateformDateTimeOffset?No
ShowRatingformboolYes
EnableHomepageformboolYes
IdformGuidYes
HomepageTemplate Parameters:
NameParameterData TypeRequiredDescription
NameformstringYes
DescriptionformstringYes
ImageUrlformUriNo
PremiumformboolYes
ModifiedDateformDateTimeOffset?No
IdformintNo
HeroSectionStyle Parameters:
NameParameterData TypeRequiredDescription
NameformstringYes
DescriptionformstringNo
ModifiedDateformDateTimeOffset?No
IdformintYes
AverageRatingScore Parameters:
NameParameterData TypeRequiredDescription
AverageScoreformdoubleNo
Score1CountformintNo
Score2CountformintNo
Score3CountformintNo
Score4CountformintNo
Score5CountformintNo
CountformintNo
Rating Parameters:
NameParameterData TypeRequiredDescription
ReviewIdformGuid?No
ReviewformReviewNo
CompanyIdformGuidYes
BookingIdformintYes
RatingScoreformintYes
StatusformintYes
CreatedformDateTimeYes
UpdatedformDateTimeYes
ModifiedDateformDateTimeOffset?No
Review Parameters:
NameParameterData TypeRequiredDescription
ReviewIdformGuidNo
CompanyIdformGuidYes
TitleformstringYes
DescriptionformstringYes
AuthorformstringYes
StatusformintYes
CreatedformDateTimeYes
UpdatedformDateTimeYes
ModifiedDateformDateTimeOffset?No
ReviewAnswerformstringNo
License Parameters:
NameParameterData TypeRequiredDescription
TypeformLicenseTypeNo
CompanyIdformGuidYes
IdformintNo
TypeIdformintYes
ValidFromformDateTimeYes
ValidToformDateTimeYes
ActiveformboolYes
UpdatedformDateTimeYes
CreatedformDateTimeYes
ModifiedDateformDateTimeOffset?No
MetaDataformstringNo
LicenseType Parameters:
NameParameterData TypeRequiredDescription
LicenseItemsformIList<LicenseTypeItem>No
PricesformIList<LicensePrice>No
PeriodOfNoticeDaysformintNo
NextLicenseOptionformLicenseTypeNo
NameformstringYes
DescriptionformstringYes
ExtraLicenseOptionformboolYes
ModifiedDateformDateTimeOffset?No
IdformintNo
LicenseTypeItem Parameters:
NameParameterData TypeRequiredDescription
NameformstringNo
LicenseTypesIdformintYes
LicenseItemsIdformintYes
NumberOfItemsformintYes
IdformintNo
ModifiedDateformDateTimeOffset?No
LicensePrice Parameters:
NameParameterData TypeRequiredDescription
CountryformCountryNo
MonthlyPaymentformboolNo
LicenseTypeIdformintYes
CountryIdformstringYes
PriceformintYes
ModifiedDateformDateTimeOffset?No
Country Parameters:
NameParameterData TypeRequiredDescription
CurrencyIdformstringNo
CurrencyInfoformCurrencyNo
NameformstringYes
CultureformstringNo
TimeZoneformstringNo
ModifiedDateformDateTimeOffset?No
IdformstringYes
CompanyCategory Parameters:
NameParameterData TypeRequiredDescription
NameformstringYes
HeaderformstringYes
DescriptionformstringYes
ImageUrlformUriNo
ActiveformboolYes
SortOrderformint?No
ModifiedDateformDateTimeOffset?No
IdformintNo
BookingStatus Parameters:
NameParameterData TypeRequiredDescription
NameformstringYes
DescriptionformstringYes
ColorformstringYes
IconformstringYes
ModifiedDateformDateTimeOffset?No
IdformintNo
BookedResourceType Parameters:
NameParameterData TypeRequiredDescription
IdformintNoThe resource type id
NameformstringNoThe resource type name
ResourcesformList<BookedResource>NoThe resources inside resource type
BookedResource Parameters:
NameParameterData TypeRequiredDescription
IdformintNo
NameformstringNo
ColorformstringNo
ImageUrlformUriNo
EmailformstringNo
MobilePhoneformstringNo
AccessGroupformstringNo
EmailNotificationformboolNo
SMSNotificationformboolNo
EmailReminderformboolNo
SMSReminderformboolNo
CustomFieldServiceRelation Parameters:
NameParameterData TypeRequiredDescription
CompanyIdformGuidYes
IdformintNo
CustomFieldConfigIdformintYes
ServiceIdformintYes
ModifiedDateformDateTimeOffset?No
ResourceQueryResponse Parameters:
NameParameterData TypeRequiredDescription
IdformintNoThe resource id
NameformstringNoThe resource name
DescriptionformstringNoThe resource description
ActiveformboolNoIf resource is active or not
ColorformstringNoThe resource color in scheduler in hexadecimal color code. Example: #00b0f0 for blue.
EmailformstringNoThe email of the resource
ImageUrlformUriNoThe image url of the resource
MobilePhoneformstringNoThe mobile phone number of the resource
AccessGroupformstringNoUsed by example code locks to know what access group the resource is assigned to
EmailNotificationformboolNoIf the resource should receive email notification when booked
SMSNotificationformboolNoIf the resource should receive SMS notification when booked
SendEmailReminderformbool?NoIf the resource should receive email reminders on bookings
SendSMSReminderformbool?NoIf the resource should receive SMS reminders on bookings
ExceptionsformList<TimeException>NoThe resource time exceptions
BookingsformList<BookedTime>NoThe resource bookings
CreatedformDateTimeNoThen date when the resource was created
UpdatedformDateTimeNoThen date when the resource was updated
ResponseStatusformResponseStatusNo
TimeException Parameters:
NameParameterData TypeRequiredDescription
IdformintNoTime exception id
IsRecurringformboolNoIndicates whether or not the time exception is recurring
IsBlockformboolNoIndicates whether the time exception is blocking the time or not
ReasonTextformstringNoThe reason of the time exception, example: Vacation, doctors appointment, ...
ReasonTextPublicformstringNoThe public reason of the time exception, example: Vacation, doctors appointment, ...
FromformDateTimeNoTime exception start
ToformDateTimeNoTime exception end
ResourceIdsformint[]NoResources that owns this exception
BookedTime Parameters:
NameParameterData TypeRequiredDescription
IdformintNoBooking id
ServiceIdformintNoThe booked service
FromformDateTimeNoBooking start
ToformDateTimeNoBooking end
BookedSpotsformintNoNumber of booked spots
TotalSpotsformintNoNumber of total spots for the service
PauseAfterInMinutesformintNoThe pause after the booking
StatusIdformintNoThe booking status
StatusformBookingStatusEnumNo
CustomerformBookedCustomerNoThe customer the booking belongs to
QueryResponse<AccessKeyTypeResponse> Parameters:
NameParameterData TypeRequiredDescription
OffsetformintNo
TotalformintNo
ResultsformList<AccessKeyTypeResponse>No
MetaformDictionary<string, string>No
ResponseStatusformResponseStatusNo
AccessKeyTypeResponse Parameters:
NameParameterData TypeRequiredDescription
IdformintNo
KeyTypeformstringNo
DescriptionformstringNo

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 /resource HTTP/1.1 
Host: testapi.bokamera.se 
Accept: text/jsv
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	Offset: 0,
	Total: 0,
	Results: 
	[
		{
			Id: 0,
			Name: String,
			Description: String,
			Active: False,
			Color: String,
			Email: String,
			MobilePhone: String,
			AccessGroup: String,
			EmailNotification: False,
			SMSNotification: False,
			SendEmailReminder: False,
			SendSMSReminder: False,
			Exceptions: 
			[
				{
					Id: 0,
					IsRecurring: False,
					IsBlock: False,
					ReasonText: String,
					ReasonTextPublic: String,
					ResourceIds: 
					[
						0
					]
				}
			],
			Bookings: 
			[
				{
					Id: 0,
					ServiceId: 0,
					BookedSpots: 0,
					TotalSpots: 0,
					PauseAfterInMinutes: 0,
					StatusId: 0,
					Status: Booked,
					Customer: 
					{
						Firstname: String,
						Lastname: String,
						Email: String,
						Phone: String,
						FacebookUserName: String,
						ImageUrl: String,
						InvoiceAddress1: String,
						InvoiceAddress2: String,
						InvoiceCity: String,
						InvoicePostalCode: String,
						InvoiceCountryCode: String
					}
				}
			],
			ResponseStatus: 
			{
				ErrorCode: String,
				Message: String,
				StackTrace: String,
				Errors: 
				[
					{
						ErrorCode: String,
						FieldName: String,
						Message: String,
						Meta: 
						{
							String: String
						}
					}
				],
				Meta: 
				{
					String: String
				}
			}
		}
	],
	Meta: 
	{
		String: String
	},
	ResponseStatus: 
	{
		ErrorCode: String,
		Message: String,
		StackTrace: String,
		Errors: 
		[
			{
				ErrorCode: String,
				FieldName: String,
				Message: String,
				Meta: 
				{
					String: String
				}
			}
		],
		Meta: 
		{
			String: String
		}
	}
}