Bookings - OBSOLETE API

List Bookings

URL

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

HTTP Method

GET

Example

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

Count Bookings

URL

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

HTTP Method

GET

Sum Bookings

URL

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

HTTP Method

GET

Example

curl -H "key: {apiKey}" "https://dev.v3manager.com/demo/api/booking/sum?field=total&search=["created",">","05-07-2023"]" Encoded: curl -H "key: {apiKey}" "https://dev.v3manager.com/demo/api/booking/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 by id

URL

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

HTTP Method

GET

Example

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

Create or update Bookings

URL

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

HTTP Method

POST

Fields

Name Label Data type Readonly Descrition
updateUser Updated by int Yes
updateUserName Updated by string No
area Area int Yes
areaName Area string No
categoryName Category string No
checkin Checkin bool No
checkout Checkout bool No
customerName Customer string No
customer Customer int No
online Created online bool Yes
createUser Created by int Yes
createUserName Created by string No
crossing Crossing bool Yes
description Description string No
email Email email No
confirmationSent Confirmation sent bool Yes
reminderSent Reminder envoy bool No
status Status select Yes
tag Tag string No
extra Extra bool Yes
automaticExtras Automatic extras json No
updated Update date datetime Yes
timeout Expiration date datetime Yes
cancelation Cancellation date datetime No
created Creation date datetime Yes
end End date datetime No
start Start date datetime No
reference Locator string Yes
maxCapacity Máximo Plazas int No
minCapacity Minimum places int No
noShow No show bool No
name Name string No
notify Notify bool No
comments Observations text No
onlineComments Online observations text No
pin PIN string No
multipackName Pack string No
multipack Pack int No
price Price currency No
payPerPerson Price per person bool No
origin Origin int No
originName Origin string No
productName Product string No
product Product int No
remind Reminder bool No
resourceName Resource string No
resource Resource int No
id ID int Yes
needInfo Requires information bool Yes
parentReference Main booking string No
parent Main booking int No
byDays Book by days bool No
hasParticipants It has participants bool No
typeName Booking type string No
type Booking type int No
sale Sale int Yes
Values for status
Value Name
0 Draft
1 For free
2 Not paid
3 Paid
4 Cancelled