Skip to main content
POST
Precalculate a possible booking

Abfrageparameter

auto-correct-intervals
boolean

If true, the specified dates will be extended to the next possible interval

check_availability
boolean

Body

application/vnd.api+json
resource_id
string
erforderlich

id of the resource that should be booked

service_id
string
erforderlich

When no id is provided, the default service is taken.

start_date
string<date>
erforderlich

atomic date time string

end_date
string<date-time>
erforderlich

atomic date time string

description
string
customer_note
string
booking_add_ons
object[]
sub_bookings
object[]
quantity
number

Antwort

200 - application/vnd.api+json

OK

start_date
string<date-time>
end_date
string<date-time>
unit
string

Pricing unit (e.g. hourly, daily)

subtotal
number

Subtotal before tax

total
number

Total amount including tax

gross_amount
number

Gross total amount

net_amount
number

Net amount excluding tax

tax_amount
number

Tax amount

charged_duration
number

Duration in minutes that is charged

currency
string
price_hidden
boolean

Whether the price should be hidden from the customer

tax_rate
number

Applied tax rate (e.g. 19)

is_net_price
boolean

Whether the configured price is net (tax calculated on top)

service
object
resource
object
booking_add_ons
object[]
sub_bookings
object[]
quantity
number
booking_quota_grants
object[]

Eligible quota grants for this booking with applicability and usage info.