Booking Types - OBSOLETE API

List Booking Types

URL

https://dev.v3manager.com/demo/api/bookingType

HTTP Method

GET

Example

curl -H "key: {apiKey}" "https://dev.v3manager.com/demo/api/bookingType"

Count Booking Types

URL

https://dev.v3manager.com/demo/api/bookingType/count

HTTP Method

GET

Sum Booking Types

URL

https://dev.v3manager.com/demo/api/bookingType/sum

HTTP Method

GET

Example

curl -H "key: {apiKey}" "https://dev.v3manager.com/demo/api/bookingType/sum?field=total&search=["created",">","05-07-2023"]" Encoded: curl -H "key: {apiKey}" "https://dev.v3manager.com/demo/api/bookingType/sum?field=total&search=%5B%22created%22%2C%22%3E%22%2C%2205-07-2023%22%5D"

Parameters

Name Type Required
field string yes
filter array no

Load Booking type by id

URL

https://dev.v3manager.com/demo/api/bookingType/:id

HTTP Method

GET

Example

curl -H "key: {apiKey}" "https://dev.v3manager.com/demo/api/bookingType/22"

Create or update Booking Types

URL

https://dev.v3manager.com/demo/api/bookingType

HTTP Method

POST

Fields

Name Label Data type Readonly Descrition
updateUserName Updated by string No
updateUser Updated by int Yes
maxLimit Limit in advance to book duration No
minLimit Minimum limit before start duration No
maxLimitFullDays Advance limit for full days bool No
area Area int No
areaName Area string No
identifySearchByName Search by name in the club's database bool No Check your privacy policy
identifySearchByMemberCode Search by membership number bool No Check your privacy policy
calendar Calendar int No
calendarName Calendar string No
maxAmount Maximum quantity int No
minAmount Minimum quantity int No
categoryName Category string No
category Category int No
customerRequired Require a client bool No
bgColor Background color color No
color Text Color color No
confirmationEmailCopy Confirmation copy bool No
createUser Created by int Yes
createUserName Created by string No
description Short description text No
longDescription Long description text No
online Available online bool No
duration Duration duration No
daysOfWeek Days of the week daysOfWeek No
ageMax Maximum age int No
ageMin Minimum age int No
deleted Removed bool Yes
cancelTemplate Cancellation email int No
cancelTemplateDescription Cancellation email string No
confirmTemplateDescription Confirmation email string No
confirmTemplate Confirmation email int No
remindTemplateDescription Reminder email string No
remindTemplate Reminder email int No
isExtra It is extra bool No If you add it as extra of other bookings, for example a golf buggy
isPack It's pack bool No
consumerTags Card tag manyToMany No
apiTags API tags string No
customerTags Customer tags manyToMany No
tags Booking type labels manyToMany No
updated Update date datetime Yes
created Creation date datetime Yes
endDate End date date No
startDate Start date date No
holidays Holidays select No
gender Gender select No
endTime End time time No
startTime Start time time No
icon Icon string No
identifyCustomer Identify the client bool No
identifyAsText Identify by name bool No
image Image image No
cancelLimit Limit to cancel duration No Limit to cancel before start
minLimitFullDays Limit for full days bool No
maxCapacity Maximum slots int No
minCapacity Minimum slots int No
multiple Multiples int No Bookings required in multiples
levelMax Maximum level int No
levelMin Minimum level int No
uniqueParticipants Do not repeat participants bool No
name Name string No
participantAsCustomer Participant as client bool No
allowCancel Allow cancel bool No
allowAsGuest Allow as guest bool No Allow booking for any client if the person making the booking meets the conditions
allowPaymentPending Allow pending payment bool No
payPerPerson Price per person bool No
priority Priority int No
productName Product string No
product Product int No
resource Resource int No
resourceName Resource string No
id ID int Yes
separable Separable bool No It can be canceled separately
hasCrossings Has crossings bool No
hasParticipants Has participants bool No
resourceType Resource type int No
resourceTypeName Resource type string No
crossings BookingCrossing[] No
Values for holidays
Value Name
0 Include holidays
1 Exclude holidays
Values for gender
Value Name
0 Mixed
1 Male
2 Female