LibreBooking / app

Repository for the last open source version of Booked Scheduler. The "develop" branch contains the most current working code of the project and should be considered beta. The "master" branch is the most current stable release of BookedScheduler. Please read doc/README.md for further details.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Can't create new reservation through api call

Hoang176024 opened this issue · comments

{ "accessories": [ { "accessoryId":none , "quantityRequested": none } ], "customAttributes": [ { "attributeId":1 , "attributeValue": "3" } ], "description": "reservation description", "endDateTime": "2023-09-06T09:56:04+0000", "invitees": [ 1, 2, 3 ], "participants": [ 1, 2 ], "participatingGuests": [ "participating.guest@email.com" ], "invitedGuests": [ "invited.guest@email.com" ], "recurrenceRule": { "type": "none", "interval": 1, "monthlyType": "null", "weekdays": [ 0, 1, 2, 3, 4, 5, 6 ], "repeatTerminationDate": "2023-09-0T09:56:04+0000" }, "resourceId": 1, "resources": [ 2, 3 ], "startDateTime": "2021-03-06T09:56:04+0000", "title": "reservation title", "userId": 1, "startReminder": { "value": 15, "interval": "minutes" }, "endReminder": null, "allowParticipation": true, "retryParameters": [ { "name": "name", "value": "value" } ], "termsAccepted": true }
I try to create a reservation following the doc example, yet it either response with Invalid accessory twice or Missing or invalid startDateTime, Missing or invalid endDateTime. Please help me to resolve this.