Unit_Update
PUT
/v1/booking/units/{id}
const url = 'https://rms.dev.caspeco.net/api/booking/v1/booking/units/1';const options = { method: 'PUT', headers: { system: 'example', Authorization: 'Bearer <token>', 'Content-Type': 'application/json' }, body: '{"name":"example","number":"example","hidden":true,"articleGroupsId":"example","dayBreak":1,"caspecoStationId":1,"locationId":"example","brandId":"example","areaId":"example","usePRIM":true,"isDefault":true,"sections":[{"name":"example","unitId":1,"hidden":true,"id":1,"sortOrder":1,"image":"example","description":"example","uploadImage":{"tags":["example"],"cropRatios":[{"id":1,"imageId":1,"left":1,"top":1,"width":1,"height":1,"aspectRatio":"example"}],"image":"example","imageUrl":"example","imageFilename":"example","imageUploadData":"example"},"changeStatus":0}],"articleGroups":[{"name":"example","sortOrder":1,"hidden":true,"isRestaurants":true,"onePerGuest":true,"notRelevantForCheckout":true,"id":1,"accountNumber":1,"accountVat25":"example","accountVat12":"example","accountVat06":"example","accountVat00":"example","accountCostOfGoods":"example","colorIndex":1,"color":"example","type":0,"centralKey":"example","changeDate":"2026-04-15T12:00:00Z"}],"unitSetting":{"currentDBHash":1,"webBookingPayMethods":[0],"id":1,"tableBooking":{"timePeriods":[{"name":"example","startTime":"example","endTime":"example","selectableMinutesResolution":1,"bookingWindow":1,"maxArrivingGuests":1}],"showArrivingGuestAboveTimeAxis":true,"advancedTimeBooking":true,"advancedBookingDetailsDialog":true,"shareBetweenUnits":true,"cancelBookingTemplate":"example","confirmTemplate":"example","timeplanTablebooking":true,"defaultTableStatus":1,"standardSitLengths":[{"id":1,"unitId":1,"doRemove":true,"isRestRule":true,"weekDays":["example"],"articleGroupIds":"example","sitLength":1,"startTime":"example","endTime":"example","recoupLength":1,"minGroupSize":1,"maxGroupSize":1}],"statusColorMappings":[{"statusCode":1,"colorCode":1}],"noteTemplates":[{"name":"example","template":"example","type":0}],"dayOpenTimeTable":1,"dayCloseTimeTable":1,"nameStyle":0,"confirmEmail":true,"confirmSms":true,"confirmExternal":true,"emailPolicyLink":true,"emailCancelDisabled":true,"smsBookingLinkEnabled":true,"cancelDisabledHoursBefore":1,"selectableMinutesResolution":1,"hoverInformationTags":"example","messageCompletedBooking":"example","showHoverInformationTags":true,"showHoverInformationTagsInBook":true,"activateChildrenField":true,"activateAutomaticCancel":true,"activateBookingMarkings":true,"activateInvoiceMarking":true,"activateBookingEventTag":true,"activateNoteTemplates":true,"standardSurveyId":"example","bookingPrinters":[{"id":"example","description":"example","paperWidth":1,"printBeforeMinutes":1,"jobExpireMinutes":1,"header":0,"includeBookingNumber":true,"includePrinterName":true,"includeStartTime":true,"includeEndTime":true,"includeGuests":true,"includeGuestsChildren":true,"includeStatus":true,"includeMessage":true,"includeContactName":true,"includeContactMobile":true,"includeTableArticles":true,"includeNonTableArticles":true,"includeArticleName":true,"includeArticleNumber":true,"includeArticleQuantity":true,"includeArticleRetailPrice":true,"includeArticleMessage":true,"includeBarcode":true,"includePrinterId":true,"includeTotalPriceInclVat":true,"includePayedAmount":true,"nrCopies":1,"nrEmptyRowsAtTop":1,"largeArticleTextSize":true,"inactive":true}],"bowlingScoreSheetIncludeSummaryPage":true,"bowlingScoreSheetColumnCount":1,"bowlingMinutesToWaitWhenStartingNow":1,"bowlingMinutesToReduceFromReservationDuration":1,"bowlingMaxTimeOnHold":1,"bowlingEndGameOnTime":true,"notifyCheckout":0,"showContactCheckInInformation":true},"contactSettings":{"replyEmail":"example","signatur":"example","signaturSMS":"example","signaturEmail":"example","smSsender":"example","emailSender":"example","phone":"example","cancellationSMS":"example","address":"example","webpage":"example","backupEmail":"example"},"notificationSettings":{"email":"example","sms":"example"},"paymentSettings":{"captureMessageNoShow":"example","captureMessagePrePayment":"example","creditMessage":"example","reminderMessage":"example","paymentLinkMessage":"example","reservationOfCardMessage":"example","paymentLinkDurationHours":1,"paymentLinkDurationDays":1,"noShowLinkMessage":"example","noShowBookingMessage":"example"},"webBooking":{"introductionMessageHeader":"example","introductionMessage":"example","checkFakeBookings":true,"allowEditBooking":true,"collapseConditions":true,"inquiryInfo":"example"},"maxWebGuests":1,"defaultAmountGuests":1,"confirmEmail":true,"confirmSms":true,"waitListWebEnabled":true,"emailPolicyLink":true,"emailCancelDisabled":true,"smsBookingLinkEnabled":true,"cancelDisabledHoursBefore":1,"enableInvoicing":true,"activateWebChildren":true,"activateInquiry":true,"bookingWindow":1,"bookingWindowUnit":0,"bookingWindowAsMonth":1,"enableOnlineBooking40":true,"settingsAfterBugUpdated":true,"messageDescription":"example","deliveryInfoDescription":"example","displayMessageBox":true,"menuMessageDescription":"example","displayMenuMessageBox":true,"messagePUL":"example","defaultExpandedSectionIds":[1],"messageBookingClosed":"example","webConditions":"example","menuHeader":"example","menuMessage":"example","lastGrab":true,"unitCategoryIds":"example","unitSubCategoryIds":"example","city":"example","postalCode":"example","countryCode":"example","inactivateNewsletter":true,"gaTrackingId":"example","takeAwaySetting":true,"pling":true,"showWaitingTime":true,"colorTheme":"example","whiteLabelConfig":{"colors":{"background":"example","onBackground":"example","onBackgroundSubdued":"example","onBackgroundBorder":"example","backgroundDisabled":"example","onBackgroundHeader":"example","surface":"example","onSurface":"example","onSurfaceSubdued":"example","onSurfaceBorder":"example","surfaceDisabled":"example","onSurfaceHeader":"example","primary":"example","primaryHover":"example","primaryActive":"example","onPrimary":"example","primaryContainer":"example","onPrimaryContainer":"example","secondary":"example","secondaryHover":"example","secondaryActive":"example","onSecondary":"example","secondaryContainer":"example","onSecondaryContainer":"example","accent":"example","accentHover":"example","accentActive":"example","accentHoverAlpha":"example","accentActiveAlpha":"example","onAccent":"example","accentContainer":"example","onAccentContainer":"example","info":"example","infoHover":"example","infoActive":"example","onInfo":"example","infoContainer":"example","onInfoContainer":"example","success":"example","successHover":"example","successActive":"example","onSuccess":"example","successContainer":"example","onSuccessContainer":"example","warning":"example","warningHover":"example","warningActive":"example","onWarning":"example","warningContainer":"example","onWarningContainer":"example","error":"example","errorHover":"example","errorActive":"example","onError":"example","errorContainer":"example","onErrorContainer":"example","neutral":"example","neutralHover":"example","neutralActive":"example","onNeutral":"example","neutralContainer":"example","onNeutralContainer":"example"},"logo":{"tags":["example"],"cropRatios":[{"id":1,"imageId":1,"left":1,"top":1,"width":1,"height":1,"aspectRatio":"example"}],"image":"example","imageUrl":"example","imageFilename":"example","imageUploadData":"example"},"coverImageThirtyTwoByNine":{"tags":["example"],"cropRatios":[{"id":1,"imageId":1,"left":1,"top":1,"width":1,"height":1,"aspectRatio":"example"}],"image":"example","imageUrl":"example","imageFilename":"example","imageUploadData":"example"},"coverImageOneByOne":{"tags":["example"],"cropRatios":[{"id":1,"imageId":1,"left":1,"top":1,"width":1,"height":1,"aspectRatio":"example"}],"image":"example","imageUrl":"example","imageFilename":"example","imageUploadData":"example"}},"showTimeFilter":true,"waitListSetting":{"automaticWaitListOffersEnabled":true,"smsDispatchInterval":1,"smsDispatchIntervalTimeUnit":0,"lastDispatchBeforeSeating":1,"lastDispatchBeforeSeatingTimeUnit":0},"showSpecialDiets":true,"showValidUntil":true,"showFeedbackDate":true},"unitMetaData":{"currentDBHash":1,"id":1,"unitId":1,"messageExceededGuests":"example","messageCompleted":"example","cssurl":"example","logo":"example","takeAwayWaitTimeMinutes":1,"name":"example","binaryFlags":0,"maxWebGuests":1,"defaultAmountGuests":1,"confirmEmail":true,"confirmSMS":true,"activateWebChildren":true,"bookingWindow":1,"contact":{"replyEmail":"example","signatur":"example","signaturSMS":"example","signaturEmail":"example","smSsender":"example","emailSender":"example","phone":"example","cancellationSMS":"example","address":"example","webpage":"example","backupEmail":"example"},"colorTheme":"example","showTimeFilter":true},"payMethods":[{"id":1,"name":"example","hidden":true,"changeStatus":0}],"invoiceSetting":{"paymentTerms":1,"invoicingFee":1,"payEventPayMethods":[1],"useCaspecoPayInvoice":true,"useCostOfGoods":true,"fileExport":0,"usePayrollLockPeriod":true,"bookAndSend":true,"lastLockDate":"example","ourReference":"example","markingTags":"example","bookingTags":"example","invoicingSystem":0},"bookingMarkings":[{"id":1,"text":"example","prefix":"example","colorIndex":1,"hidden":true,"changeStatus":0}],"mandatoryContactFields":{"customerNumber":true,"streetaddress":true,"zipcode":true,"city":true,"mobile":true,"email":true,"phone":true,"fax":true,"invoiceReference":true,"information":true,"contactFilter":true},"mandatoryCustomerFields":{"customerNumber":true,"orgNr":true,"streetaddress":true,"zipcode":true,"city":true,"phone":true,"email":true,"fax":true,"webAddress":true,"information":true,"marking":true,"invoiceStreetaddress":true,"customerFilter":true},"timeZone":"example","id":1}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request PUT \ --url https://rms.dev.caspeco.net/api/booking/v1/booking/units/1 \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --header 'system: example' \ --data '{ "name": "example", "number": "example", "hidden": true, "articleGroupsId": "example", "dayBreak": 1, "caspecoStationId": 1, "locationId": "example", "brandId": "example", "areaId": "example", "usePRIM": true, "isDefault": true, "sections": [ { "name": "example", "unitId": 1, "hidden": true, "id": 1, "sortOrder": 1, "image": "example", "description": "example", "uploadImage": { "tags": [ "example" ], "cropRatios": [ { "id": 1, "imageId": 1, "left": 1, "top": 1, "width": 1, "height": 1, "aspectRatio": "example" } ], "image": "example", "imageUrl": "example", "imageFilename": "example", "imageUploadData": "example" }, "changeStatus": 0 } ], "articleGroups": [ { "name": "example", "sortOrder": 1, "hidden": true, "isRestaurants": true, "onePerGuest": true, "notRelevantForCheckout": true, "id": 1, "accountNumber": 1, "accountVat25": "example", "accountVat12": "example", "accountVat06": "example", "accountVat00": "example", "accountCostOfGoods": "example", "colorIndex": 1, "color": "example", "type": 0, "centralKey": "example", "changeDate": "2026-04-15T12:00:00Z" } ], "unitSetting": { "currentDBHash": 1, "webBookingPayMethods": [ 0 ], "id": 1, "tableBooking": { "timePeriods": [ { "name": "example", "startTime": "example", "endTime": "example", "selectableMinutesResolution": 1, "bookingWindow": 1, "maxArrivingGuests": 1 } ], "showArrivingGuestAboveTimeAxis": true, "advancedTimeBooking": true, "advancedBookingDetailsDialog": true, "shareBetweenUnits": true, "cancelBookingTemplate": "example", "confirmTemplate": "example", "timeplanTablebooking": true, "defaultTableStatus": 1, "standardSitLengths": [ { "id": 1, "unitId": 1, "doRemove": true, "isRestRule": true, "weekDays": [ "example" ], "articleGroupIds": "example", "sitLength": 1, "startTime": "example", "endTime": "example", "recoupLength": 1, "minGroupSize": 1, "maxGroupSize": 1 } ], "statusColorMappings": [ { "statusCode": 1, "colorCode": 1 } ], "noteTemplates": [ { "name": "example", "template": "example", "type": 0 } ], "dayOpenTimeTable": 1, "dayCloseTimeTable": 1, "nameStyle": 0, "confirmEmail": true, "confirmSms": true, "confirmExternal": true, "emailPolicyLink": true, "emailCancelDisabled": true, "smsBookingLinkEnabled": true, "cancelDisabledHoursBefore": 1, "selectableMinutesResolution": 1, "hoverInformationTags": "example", "messageCompletedBooking": "example", "showHoverInformationTags": true, "showHoverInformationTagsInBook": true, "activateChildrenField": true, "activateAutomaticCancel": true, "activateBookingMarkings": true, "activateInvoiceMarking": true, "activateBookingEventTag": true, "activateNoteTemplates": true, "standardSurveyId": "example", "bookingPrinters": [ { "id": "example", "description": "example", "paperWidth": 1, "printBeforeMinutes": 1, "jobExpireMinutes": 1, "header": 0, "includeBookingNumber": true, "includePrinterName": true, "includeStartTime": true, "includeEndTime": true, "includeGuests": true, "includeGuestsChildren": true, "includeStatus": true, "includeMessage": true, "includeContactName": true, "includeContactMobile": true, "includeTableArticles": true, "includeNonTableArticles": true, "includeArticleName": true, "includeArticleNumber": true, "includeArticleQuantity": true, "includeArticleRetailPrice": true, "includeArticleMessage": true, "includeBarcode": true, "includePrinterId": true, "includeTotalPriceInclVat": true, "includePayedAmount": true, "nrCopies": 1, "nrEmptyRowsAtTop": 1, "largeArticleTextSize": true, "inactive": true } ], "bowlingScoreSheetIncludeSummaryPage": true, "bowlingScoreSheetColumnCount": 1, "bowlingMinutesToWaitWhenStartingNow": 1, "bowlingMinutesToReduceFromReservationDuration": 1, "bowlingMaxTimeOnHold": 1, "bowlingEndGameOnTime": true, "notifyCheckout": 0, "showContactCheckInInformation": true }, "contactSettings": { "replyEmail": "example", "signatur": "example", "signaturSMS": "example", "signaturEmail": "example", "smSsender": "example", "emailSender": "example", "phone": "example", "cancellationSMS": "example", "address": "example", "webpage": "example", "backupEmail": "example" }, "notificationSettings": { "email": "example", "sms": "example" }, "paymentSettings": { "captureMessageNoShow": "example", "captureMessagePrePayment": "example", "creditMessage": "example", "reminderMessage": "example", "paymentLinkMessage": "example", "reservationOfCardMessage": "example", "paymentLinkDurationHours": 1, "paymentLinkDurationDays": 1, "noShowLinkMessage": "example", "noShowBookingMessage": "example" }, "webBooking": { "introductionMessageHeader": "example", "introductionMessage": "example", "checkFakeBookings": true, "allowEditBooking": true, "collapseConditions": true, "inquiryInfo": "example" }, "maxWebGuests": 1, "defaultAmountGuests": 1, "confirmEmail": true, "confirmSms": true, "waitListWebEnabled": true, "emailPolicyLink": true, "emailCancelDisabled": true, "smsBookingLinkEnabled": true, "cancelDisabledHoursBefore": 1, "enableInvoicing": true, "activateWebChildren": true, "activateInquiry": true, "bookingWindow": 1, "bookingWindowUnit": 0, "bookingWindowAsMonth": 1, "enableOnlineBooking40": true, "settingsAfterBugUpdated": true, "messageDescription": "example", "deliveryInfoDescription": "example", "displayMessageBox": true, "menuMessageDescription": "example", "displayMenuMessageBox": true, "messagePUL": "example", "defaultExpandedSectionIds": [ 1 ], "messageBookingClosed": "example", "webConditions": "example", "menuHeader": "example", "menuMessage": "example", "lastGrab": true, "unitCategoryIds": "example", "unitSubCategoryIds": "example", "city": "example", "postalCode": "example", "countryCode": "example", "inactivateNewsletter": true, "gaTrackingId": "example", "takeAwaySetting": true, "pling": true, "showWaitingTime": true, "colorTheme": "example", "whiteLabelConfig": { "colors": { "background": "example", "onBackground": "example", "onBackgroundSubdued": "example", "onBackgroundBorder": "example", "backgroundDisabled": "example", "onBackgroundHeader": "example", "surface": "example", "onSurface": "example", "onSurfaceSubdued": "example", "onSurfaceBorder": "example", "surfaceDisabled": "example", "onSurfaceHeader": "example", "primary": "example", "primaryHover": "example", "primaryActive": "example", "onPrimary": "example", "primaryContainer": "example", "onPrimaryContainer": "example", "secondary": "example", "secondaryHover": "example", "secondaryActive": "example", "onSecondary": "example", "secondaryContainer": "example", "onSecondaryContainer": "example", "accent": "example", "accentHover": "example", "accentActive": "example", "accentHoverAlpha": "example", "accentActiveAlpha": "example", "onAccent": "example", "accentContainer": "example", "onAccentContainer": "example", "info": "example", "infoHover": "example", "infoActive": "example", "onInfo": "example", "infoContainer": "example", "onInfoContainer": "example", "success": "example", "successHover": "example", "successActive": "example", "onSuccess": "example", "successContainer": "example", "onSuccessContainer": "example", "warning": "example", "warningHover": "example", "warningActive": "example", "onWarning": "example", "warningContainer": "example", "onWarningContainer": "example", "error": "example", "errorHover": "example", "errorActive": "example", "onError": "example", "errorContainer": "example", "onErrorContainer": "example", "neutral": "example", "neutralHover": "example", "neutralActive": "example", "onNeutral": "example", "neutralContainer": "example", "onNeutralContainer": "example" }, "logo": { "tags": [ "example" ], "cropRatios": [ { "id": 1, "imageId": 1, "left": 1, "top": 1, "width": 1, "height": 1, "aspectRatio": "example" } ], "image": "example", "imageUrl": "example", "imageFilename": "example", "imageUploadData": "example" }, "coverImageThirtyTwoByNine": { "tags": [ "example" ], "cropRatios": [ { "id": 1, "imageId": 1, "left": 1, "top": 1, "width": 1, "height": 1, "aspectRatio": "example" } ], "image": "example", "imageUrl": "example", "imageFilename": "example", "imageUploadData": "example" }, "coverImageOneByOne": { "tags": [ "example" ], "cropRatios": [ { "id": 1, "imageId": 1, "left": 1, "top": 1, "width": 1, "height": 1, "aspectRatio": "example" } ], "image": "example", "imageUrl": "example", "imageFilename": "example", "imageUploadData": "example" } }, "showTimeFilter": true, "waitListSetting": { "automaticWaitListOffersEnabled": true, "smsDispatchInterval": 1, "smsDispatchIntervalTimeUnit": 0, "lastDispatchBeforeSeating": 1, "lastDispatchBeforeSeatingTimeUnit": 0 }, "showSpecialDiets": true, "showValidUntil": true, "showFeedbackDate": true }, "unitMetaData": { "currentDBHash": 1, "id": 1, "unitId": 1, "messageExceededGuests": "example", "messageCompleted": "example", "cssurl": "example", "logo": "example", "takeAwayWaitTimeMinutes": 1, "name": "example", "binaryFlags": 0, "maxWebGuests": 1, "defaultAmountGuests": 1, "confirmEmail": true, "confirmSMS": true, "activateWebChildren": true, "bookingWindow": 1, "contact": { "replyEmail": "example", "signatur": "example", "signaturSMS": "example", "signaturEmail": "example", "smSsender": "example", "emailSender": "example", "phone": "example", "cancellationSMS": "example", "address": "example", "webpage": "example", "backupEmail": "example" }, "colorTheme": "example", "showTimeFilter": true }, "payMethods": [ { "id": 1, "name": "example", "hidden": true, "changeStatus": 0 } ], "invoiceSetting": { "paymentTerms": 1, "invoicingFee": 1, "payEventPayMethods": [ 1 ], "useCaspecoPayInvoice": true, "useCostOfGoods": true, "fileExport": 0, "usePayrollLockPeriod": true, "bookAndSend": true, "lastLockDate": "example", "ourReference": "example", "markingTags": "example", "bookingTags": "example", "invoicingSystem": 0 }, "bookingMarkings": [ { "id": 1, "text": "example", "prefix": "example", "colorIndex": 1, "hidden": true, "changeStatus": 0 } ], "mandatoryContactFields": { "customerNumber": true, "streetaddress": true, "zipcode": true, "city": true, "mobile": true, "email": true, "phone": true, "fax": true, "invoiceReference": true, "information": true, "contactFilter": true }, "mandatoryCustomerFields": { "customerNumber": true, "orgNr": true, "streetaddress": true, "zipcode": true, "city": true, "phone": true, "email": true, "fax": true, "webAddress": true, "information": true, "marking": true, "invoiceStreetaddress": true, "customerFilter": true }, "timeZone": "example", "id": 1 }'Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”id
required
integer format: int64
Header Parameters
Section titled “Header Parameters”system
required
string
The system name / database to query
Request Bodyrequired
Section titled “Request Bodyrequired”Media typeapplication/json
object
name
string
number
string
hidden
boolean
articleGroupsId
string
dayBreak
number format: decimal
caspecoStationId
integer format: int64
locationId
string
brandId
string
areaId
string
usePRIM
boolean
isDefault
boolean
sections
Array<object>
object
name
string
unitId
integer format: int64
hidden
boolean
id
integer format: int64
sortOrder
integer format: int64
image
string
description
string
uploadImage
One of:
object
tags
Array<string>
cropRatios
Array<object>
object
id
integer format: int64
imageId
integer format: int64
left
number format: double
top
number format: double
width
number format: double
height
number format: double
aspectRatio
string
image
string
imageUrl
string
imageFilename
string
imageUploadData
string
changeStatus
integer
articleGroups
Array<object>
object
name
string
sortOrder
integer format: int32
hidden
boolean
isRestaurants
boolean
onePerGuest
boolean
notRelevantForCheckout
boolean
id
integer format: int64
accountNumber
integer format: int32
accountVat25
string
accountVat12
string
accountVat06
string
accountVat00
string
accountCostOfGoods
string
colorIndex
integer format: int32
color
string
type
integer
centralKey
string
changeDate
string format: date-time
unitSetting
One of:
object
currentDBHash
integer format: int32
webBookingPayMethods
Array<integer>
id
integer format: int64
tableBooking
One of:
object
timePeriods
Array<object>
object
name
string
startTime
string
endTime
string
selectableMinutesResolution
integer format: int32
bookingWindow
integer format: int32
maxArrivingGuests
integer format: int32
showArrivingGuestAboveTimeAxis
boolean
advancedTimeBooking
boolean
advancedBookingDetailsDialog
boolean
shareBetweenUnits
boolean
cancelBookingTemplate
string
confirmTemplate
string
timeplanTablebooking
boolean
defaultTableStatus
integer format: int32
standardSitLengths
Array<object>
object
id
integer format: int64
unitId
integer format: int64
doRemove
boolean
isRestRule
boolean
weekDays
Array<string>
articleGroupIds
string
sitLength
number format: double
startTime
string
endTime
string
recoupLength
integer format: int32
minGroupSize
integer format: int32
maxGroupSize
integer format: int32
statusColorMappings
Array<object>
object
statusCode
integer format: int32
colorCode
integer format: int32
noteTemplates
Array<object>
object
name
string
template
string
type
integer
dayOpenTimeTable
number format: decimal
dayCloseTimeTable
number format: decimal
nameStyle
integer
confirmEmail
boolean
confirmSms
boolean
confirmExternal
boolean
emailPolicyLink
boolean
emailCancelDisabled
boolean
smsBookingLinkEnabled
boolean
cancelDisabledHoursBefore
integer format: int32
selectableMinutesResolution
integer format: int32
hoverInformationTags
string
messageCompletedBooking
string
showHoverInformationTags
boolean
showHoverInformationTagsInBook
boolean
activateChildrenField
boolean
activateAutomaticCancel
boolean
activateBookingMarkings
boolean
activateInvoiceMarking
boolean
activateBookingEventTag
boolean
activateNoteTemplates
boolean
standardSurveyId
string
bookingPrinters
Array<object>
object
id
string
description
string
paperWidth
integer format: int32
printBeforeMinutes
integer format: int32
jobExpireMinutes
integer format: int32
header
integer
includeBookingNumber
boolean
includePrinterName
boolean
includeStartTime
boolean
includeEndTime
boolean
includeGuests
boolean
includeGuestsChildren
boolean
includeStatus
boolean
includeMessage
boolean
includeContactName
boolean
includeContactMobile
boolean
includeTableArticles
boolean
includeNonTableArticles
boolean
includeArticleName
boolean
includeArticleNumber
boolean
includeArticleQuantity
boolean
includeArticleRetailPrice
boolean
includeArticleMessage
boolean
includeBarcode
boolean
includePrinterId
boolean
includeTotalPriceInclVat
boolean
includePayedAmount
boolean
nrCopies
integer format: int32
nrEmptyRowsAtTop
integer format: int32
largeArticleTextSize
boolean
inactive
boolean
bowlingScoreSheetIncludeSummaryPage
boolean
bowlingScoreSheetColumnCount
integer format: int32
bowlingMinutesToWaitWhenStartingNow
integer format: int32
bowlingMinutesToReduceFromReservationDuration
integer format: int32
bowlingMaxTimeOnHold
integer format: int32
bowlingEndGameOnTime
boolean
notifyCheckout
integer
showContactCheckInInformation
boolean
contactSettings
One of:
object
replyEmail
string
signatur
string
signaturSMS
string
signaturEmail
string
smSsender
string
emailSender
string
phone
string
cancellationSMS
string
address
string
webpage
string
backupEmail
string
notificationSettings
One of:
object
email
string
sms
string
paymentSettings
One of:
object
captureMessageNoShow
string
captureMessagePrePayment
string
creditMessage
string
reminderMessage
string
paymentLinkMessage
string
reservationOfCardMessage
string
paymentLinkDurationHours
number format: double
paymentLinkDurationDays
number format: double
noShowLinkMessage
string
noShowBookingMessage
string
webBooking
One of:
object
introductionMessageHeader
string
introductionMessage
string
checkFakeBookings
boolean
allowEditBooking
boolean
collapseConditions
boolean
inquiryInfo
string
maxWebGuests
integer format: int32
defaultAmountGuests
integer format: int32
confirmEmail
boolean
confirmSms
boolean
waitListWebEnabled
boolean
emailPolicyLink
boolean
emailCancelDisabled
boolean
smsBookingLinkEnabled
boolean
cancelDisabledHoursBefore
integer format: int32
enableInvoicing
boolean
activateWebChildren
boolean
activateInquiry
boolean
bookingWindow
integer format: int32
bookingWindowUnit
integer
bookingWindowAsMonth
integer format: int32
enableOnlineBooking40
boolean
settingsAfterBugUpdated
boolean
messageDescription
string
deliveryInfoDescription
string
displayMessageBox
boolean
menuMessageDescription
string
displayMenuMessageBox
boolean
messagePUL
string
defaultExpandedSectionIds
Array<integer>
messageBookingClosed
string
webConditions
string
menuHeader
string
menuMessage
string
lastGrab
boolean
unitCategoryIds
string
unitSubCategoryIds
string
city
string
postalCode
string
countryCode
string
inactivateNewsletter
boolean
gaTrackingId
string
takeAwaySetting
boolean
pling
boolean
showWaitingTime
boolean
colorTheme
string
whiteLabelConfig
One of:
object
colors
object
background
string
onBackground
string
onBackgroundSubdued
string
onBackgroundBorder
string
backgroundDisabled
string
onBackgroundHeader
string
surface
string
onSurface
string
onSurfaceSubdued
string
onSurfaceBorder
string
surfaceDisabled
string
onSurfaceHeader
string
primary
string
primaryHover
string
primaryActive
string
onPrimary
string
primaryContainer
string
onPrimaryContainer
string
secondary
string
secondaryHover
string
secondaryActive
string
onSecondary
string
secondaryContainer
string
onSecondaryContainer
string
accent
string
accentHover
string
accentActive
string
accentHoverAlpha
string
accentActiveAlpha
string
onAccent
string
accentContainer
string
onAccentContainer
string
info
string
infoHover
string
infoActive
string
onInfo
string
infoContainer
string
onInfoContainer
string
success
string
successHover
string
successActive
string
onSuccess
string
successContainer
string
onSuccessContainer
string
warning
string
warningHover
string
warningActive
string
onWarning
string
warningContainer
string
onWarningContainer
string
error
string
errorHover
string
errorActive
string
onError
string
errorContainer
string
onErrorContainer
string
neutral
string
neutralHover
string
neutralActive
string
onNeutral
string
neutralContainer
string
onNeutralContainer
string
logo
object
tags
Array<string>
cropRatios
Array<object>
object
id
integer format: int64
imageId
integer format: int64
left
number format: double
top
number format: double
width
number format: double
height
number format: double
aspectRatio
string
image
string
imageUrl
string
imageFilename
string
imageUploadData
string
coverImageThirtyTwoByNine
object
tags
Array<string>
cropRatios
Array<object>
object
id
integer format: int64
imageId
integer format: int64
left
number format: double
top
number format: double
width
number format: double
height
number format: double
aspectRatio
string
image
string
imageUrl
string
imageFilename
string
imageUploadData
string
coverImageOneByOne
object
tags
Array<string>
cropRatios
Array<object>
object
id
integer format: int64
imageId
integer format: int64
left
number format: double
top
number format: double
width
number format: double
height
number format: double
aspectRatio
string
image
string
imageUrl
string
imageFilename
string
imageUploadData
string
showTimeFilter
boolean
waitListSetting
One of:
object
automaticWaitListOffersEnabled
boolean
smsDispatchInterval
integer format: int32
smsDispatchIntervalTimeUnit
integer
lastDispatchBeforeSeating
integer format: int32
lastDispatchBeforeSeatingTimeUnit
integer
showSpecialDiets
boolean
showValidUntil
boolean
showFeedbackDate
boolean
unitMetaData
One of:
object
currentDBHash
integer format: int32
id
integer format: int64
unitId
integer format: int64
messageExceededGuests
string
messageCompleted
string
cssurl
string
logo
string
takeAwayWaitTimeMinutes
integer format: int32
name
string
binaryFlags
integer
maxWebGuests
integer format: int32
defaultAmountGuests
integer format: int32
confirmEmail
boolean
confirmSMS
boolean
activateWebChildren
boolean
bookingWindow
integer format: int32
contact
One of:
object
replyEmail
string
signatur
string
signaturSMS
string
signaturEmail
string
smSsender
string
emailSender
string
phone
string
cancellationSMS
string
address
string
webpage
string
backupEmail
string
colorTheme
string
showTimeFilter
boolean
payMethods
Array<object>
object
id
integer format: int64
name
string
hidden
boolean
changeStatus
integer
invoiceSetting
One of:
object
paymentTerms
integer format: int32
invoicingFee
integer format: int32
payEventPayMethods
Array<integer>
useCaspecoPayInvoice
boolean
useCostOfGoods
boolean
fileExport
integer
usePayrollLockPeriod
boolean
bookAndSend
boolean
lastLockDate
string
ourReference
string
markingTags
string
bookingTags
string
invoicingSystem
integer
bookingMarkings
Array<object>
object
id
integer format: int64
text
string
prefix
string
colorIndex
integer format: int32
hidden
boolean
changeStatus
integer
mandatoryContactFields
One of:
object
customerNumber
boolean
streetaddress
boolean
zipcode
boolean
city
boolean
mobile
boolean
email
boolean
phone
boolean
fax
boolean
invoiceReference
boolean
information
boolean
contactFilter
boolean
mandatoryCustomerFields
One of:
object
customerNumber
boolean
orgNr
boolean
streetaddress
boolean
zipcode
boolean
city
boolean
phone
boolean
email
boolean
fax
boolean
webAddress
boolean
information
boolean
marking
boolean
invoiceStreetaddress
boolean
customerFilter
boolean
timeZone
string
id
integer format: int64
Responses
Section titled “Responses”Media typeapplication/json
object
name
string
number
string
hidden
boolean
articleGroupsId
string
dayBreak
number format: decimal
caspecoStationId
integer format: int64
locationId
string
brandId
string
areaId
string
usePRIM
boolean
isDefault
boolean
sections
Array<object>
object
name
string
unitId
integer format: int64
hidden
boolean
id
integer format: int64
sortOrder
integer format: int64
image
string
description
string
uploadImage
One of:
object
tags
Array<string>
cropRatios
Array<object>
object
id
integer format: int64
imageId
integer format: int64
left
number format: double
top
number format: double
width
number format: double
height
number format: double
aspectRatio
string
image
string
imageUrl
string
imageFilename
string
imageUploadData
string
changeStatus
integer
articleGroups
Array<object>
object
name
string
sortOrder
integer format: int32
hidden
boolean
isRestaurants
boolean
onePerGuest
boolean
notRelevantForCheckout
boolean
id
integer format: int64
accountNumber
integer format: int32
accountVat25
string
accountVat12
string
accountVat06
string
accountVat00
string
accountCostOfGoods
string
colorIndex
integer format: int32
color
string
type
integer
centralKey
string
changeDate
string format: date-time
unitSetting
One of:
object
currentDBHash
integer format: int32
webBookingPayMethods
Array<integer>
id
integer format: int64
tableBooking
One of:
object
timePeriods
Array<object>
object
name
string
startTime
string
endTime
string
selectableMinutesResolution
integer format: int32
bookingWindow
integer format: int32
maxArrivingGuests
integer format: int32
showArrivingGuestAboveTimeAxis
boolean
advancedTimeBooking
boolean
advancedBookingDetailsDialog
boolean
shareBetweenUnits
boolean
cancelBookingTemplate
string
confirmTemplate
string
timeplanTablebooking
boolean
defaultTableStatus
integer format: int32
standardSitLengths
Array<object>
object
id
integer format: int64
unitId
integer format: int64
doRemove
boolean
isRestRule
boolean
weekDays
Array<string>
articleGroupIds
string
sitLength
number format: double
startTime
string
endTime
string
recoupLength
integer format: int32
minGroupSize
integer format: int32
maxGroupSize
integer format: int32
statusColorMappings
Array<object>
object
statusCode
integer format: int32
colorCode
integer format: int32
noteTemplates
Array<object>
object
name
string
template
string
type
integer
dayOpenTimeTable
number format: decimal
dayCloseTimeTable
number format: decimal
nameStyle
integer
confirmEmail
boolean
confirmSms
boolean
confirmExternal
boolean
emailPolicyLink
boolean
emailCancelDisabled
boolean
smsBookingLinkEnabled
boolean
cancelDisabledHoursBefore
integer format: int32
selectableMinutesResolution
integer format: int32
hoverInformationTags
string
messageCompletedBooking
string
showHoverInformationTags
boolean
showHoverInformationTagsInBook
boolean
activateChildrenField
boolean
activateAutomaticCancel
boolean
activateBookingMarkings
boolean
activateInvoiceMarking
boolean
activateBookingEventTag
boolean
activateNoteTemplates
boolean
standardSurveyId
string
bookingPrinters
Array<object>
object
id
string
description
string
paperWidth
integer format: int32
printBeforeMinutes
integer format: int32
jobExpireMinutes
integer format: int32
header
integer
includeBookingNumber
boolean
includePrinterName
boolean
includeStartTime
boolean
includeEndTime
boolean
includeGuests
boolean
includeGuestsChildren
boolean
includeStatus
boolean
includeMessage
boolean
includeContactName
boolean
includeContactMobile
boolean
includeTableArticles
boolean
includeNonTableArticles
boolean
includeArticleName
boolean
includeArticleNumber
boolean
includeArticleQuantity
boolean
includeArticleRetailPrice
boolean
includeArticleMessage
boolean
includeBarcode
boolean
includePrinterId
boolean
includeTotalPriceInclVat
boolean
includePayedAmount
boolean
nrCopies
integer format: int32
nrEmptyRowsAtTop
integer format: int32
largeArticleTextSize
boolean
inactive
boolean
bowlingScoreSheetIncludeSummaryPage
boolean
bowlingScoreSheetColumnCount
integer format: int32
bowlingMinutesToWaitWhenStartingNow
integer format: int32
bowlingMinutesToReduceFromReservationDuration
integer format: int32
bowlingMaxTimeOnHold
integer format: int32
bowlingEndGameOnTime
boolean
notifyCheckout
integer
showContactCheckInInformation
boolean
contactSettings
One of:
object
replyEmail
string
signatur
string
signaturSMS
string
signaturEmail
string
smSsender
string
emailSender
string
phone
string
cancellationSMS
string
address
string
webpage
string
backupEmail
string
notificationSettings
One of:
object
email
string
sms
string
paymentSettings
One of:
object
captureMessageNoShow
string
captureMessagePrePayment
string
creditMessage
string
reminderMessage
string
paymentLinkMessage
string
reservationOfCardMessage
string
paymentLinkDurationHours
number format: double
paymentLinkDurationDays
number format: double
noShowLinkMessage
string
noShowBookingMessage
string
webBooking
One of:
object
introductionMessageHeader
string
introductionMessage
string
checkFakeBookings
boolean
allowEditBooking
boolean
collapseConditions
boolean
inquiryInfo
string
maxWebGuests
integer format: int32
defaultAmountGuests
integer format: int32
confirmEmail
boolean
confirmSms
boolean
waitListWebEnabled
boolean
emailPolicyLink
boolean
emailCancelDisabled
boolean
smsBookingLinkEnabled
boolean
cancelDisabledHoursBefore
integer format: int32
enableInvoicing
boolean
activateWebChildren
boolean
activateInquiry
boolean
bookingWindow
integer format: int32
bookingWindowUnit
integer
bookingWindowAsMonth
integer format: int32
enableOnlineBooking40
boolean
settingsAfterBugUpdated
boolean
messageDescription
string
deliveryInfoDescription
string
displayMessageBox
boolean
menuMessageDescription
string
displayMenuMessageBox
boolean
messagePUL
string
defaultExpandedSectionIds
Array<integer>
messageBookingClosed
string
webConditions
string
menuHeader
string
menuMessage
string
lastGrab
boolean
unitCategoryIds
string
unitSubCategoryIds
string
city
string
postalCode
string
countryCode
string
inactivateNewsletter
boolean
gaTrackingId
string
takeAwaySetting
boolean
pling
boolean
showWaitingTime
boolean
colorTheme
string
whiteLabelConfig
One of:
object
colors
object
background
string
onBackground
string
onBackgroundSubdued
string
onBackgroundBorder
string
backgroundDisabled
string
onBackgroundHeader
string
surface
string
onSurface
string
onSurfaceSubdued
string
onSurfaceBorder
string
surfaceDisabled
string
onSurfaceHeader
string
primary
string
primaryHover
string
primaryActive
string
onPrimary
string
primaryContainer
string
onPrimaryContainer
string
secondary
string
secondaryHover
string
secondaryActive
string
onSecondary
string
secondaryContainer
string
onSecondaryContainer
string
accent
string
accentHover
string
accentActive
string
accentHoverAlpha
string
accentActiveAlpha
string
onAccent
string
accentContainer
string
onAccentContainer
string
info
string
infoHover
string
infoActive
string
onInfo
string
infoContainer
string
onInfoContainer
string
success
string
successHover
string
successActive
string
onSuccess
string
successContainer
string
onSuccessContainer
string
warning
string
warningHover
string
warningActive
string
onWarning
string
warningContainer
string
onWarningContainer
string
error
string
errorHover
string
errorActive
string
onError
string
errorContainer
string
onErrorContainer
string
neutral
string
neutralHover
string
neutralActive
string
onNeutral
string
neutralContainer
string
onNeutralContainer
string
logo
object
tags
Array<string>
cropRatios
Array<object>
object
id
integer format: int64
imageId
integer format: int64
left
number format: double
top
number format: double
width
number format: double
height
number format: double
aspectRatio
string
image
string
imageUrl
string
imageFilename
string
imageUploadData
string
coverImageThirtyTwoByNine
object
tags
Array<string>
cropRatios
Array<object>
object
id
integer format: int64
imageId
integer format: int64
left
number format: double
top
number format: double
width
number format: double
height
number format: double
aspectRatio
string
image
string
imageUrl
string
imageFilename
string
imageUploadData
string
coverImageOneByOne
object
tags
Array<string>
cropRatios
Array<object>
object
id
integer format: int64
imageId
integer format: int64
left
number format: double
top
number format: double
width
number format: double
height
number format: double
aspectRatio
string
image
string
imageUrl
string
imageFilename
string
imageUploadData
string
showTimeFilter
boolean
waitListSetting
One of:
object
automaticWaitListOffersEnabled
boolean
smsDispatchInterval
integer format: int32
smsDispatchIntervalTimeUnit
integer
lastDispatchBeforeSeating
integer format: int32
lastDispatchBeforeSeatingTimeUnit
integer
showSpecialDiets
boolean
showValidUntil
boolean
showFeedbackDate
boolean
unitMetaData
One of:
object
currentDBHash
integer format: int32
id
integer format: int64
unitId
integer format: int64
messageExceededGuests
string
messageCompleted
string
cssurl
string
logo
string
takeAwayWaitTimeMinutes
integer format: int32
name
string
binaryFlags
integer
maxWebGuests
integer format: int32
defaultAmountGuests
integer format: int32
confirmEmail
boolean
confirmSMS
boolean
activateWebChildren
boolean
bookingWindow
integer format: int32
contact
One of:
object
replyEmail
string
signatur
string
signaturSMS
string
signaturEmail
string
smSsender
string
emailSender
string
phone
string
cancellationSMS
string
address
string
webpage
string
backupEmail
string
colorTheme
string
showTimeFilter
boolean
payMethods
Array<object>
object
id
integer format: int64
name
string
hidden
boolean
changeStatus
integer
invoiceSetting
One of:
object
paymentTerms
integer format: int32
invoicingFee
integer format: int32
payEventPayMethods
Array<integer>
useCaspecoPayInvoice
boolean
useCostOfGoods
boolean
fileExport
integer
usePayrollLockPeriod
boolean
bookAndSend
boolean
lastLockDate
string
ourReference
string
markingTags
string
bookingTags
string
invoicingSystem
integer
bookingMarkings
Array<object>
object
id
integer format: int64
text
string
prefix
string
colorIndex
integer format: int32
hidden
boolean
changeStatus
integer
mandatoryContactFields
One of:
object
customerNumber
boolean
streetaddress
boolean
zipcode
boolean
city
boolean
mobile
boolean
email
boolean
phone
boolean
fax
boolean
invoiceReference
boolean
information
boolean
contactFilter
boolean
mandatoryCustomerFields
One of:
object
customerNumber
boolean
orgNr
boolean
streetaddress
boolean
zipcode
boolean
city
boolean
phone
boolean
email
boolean
fax
boolean
webAddress
boolean
information
boolean
marking
boolean
invoiceStreetaddress
boolean
customerFilter
boolean
timeZone
string
id
integer format: int64
Example
{ "sections": [ { "changeStatus": 0 } ], "articleGroups": [ { "type": 0 } ], "unitSetting": { "webBookingPayMethods": [ 0 ], "tableBooking": { "noteTemplates": [ { "type": 0 } ], "nameStyle": 0, "bookingPrinters": [ { "header": 0 } ], "notifyCheckout": 0 }, "bookingWindowUnit": 0, "waitListSetting": { "smsDispatchIntervalTimeUnit": 0, "lastDispatchBeforeSeatingTimeUnit": 0 } }, "unitMetaData": { "binaryFlags": 0 }, "payMethods": [ { "changeStatus": 0 } ], "invoiceSetting": { "fileExport": 0, "invoicingSystem": 0 }, "bookingMarkings": [ { "changeStatus": 0 } ]}