Saludos recibo esta respuesta cuando trato de usar la API con el endpoint
/bookings/reassign/{{booking_id}}
para tratar de reprogramar un booking, el usuario con el que hago la solicitud es administrador, tambien probe con el usuario asignado al empleado y nada.
{"message":"You are not allowed to update booking","data":{"rescheduleBookingUnavailable":true}}
Can you please check in WordPress users if you have several roles added to this user? For example admin and employee or employee and customer. etc. Or if this user has the same mail as other user for example admin/manager and employee or employee and customer. etc.
If this is the case then you should know you can not be Admin and manager to admin and employee, etc at the same time since this leads to conflict within the plugin. You need to have only one role per user only admin or only manager or only employee. Every role has different permission and if you combine them Amelia can not function properly.
You need to disconnect other roles from that user and that mail and to create a separate user with separate mail for each role and make sure to purge the cache afterward.
After that Amelia should work properly again. Please do that and let us know how it goes.
ok lo menciona ha funcionado. el problema ahora es que recibi una respuesta de exito falsa. dice que todo ha salido bien. pero la hora ni la fecha del booking han cambiado.
When you have several questions or issues please open a new ticket, and we will help you there. In that way, issues and questions that are related to different subjects will be in separate tickets so other customers or our support agents can find them easily.
Our policy is to have one issue or question per ticket because of the reasons that are described already.
Thank you for understanding.
Im afraid that we do not undserstand what and where and how you get error and what exactly the issue is now. Can you please elaborate more on this? Please explain to us what the issue is now and you can send us a short one minute video of the issue via wetransfer here.
Saludos recibo esta respuesta cuando trato de usar la API con el endpoint
para tratar de reprogramar un booking, el usuario con el que hago la solicitud es administrador, tambien probe con el usuario asignado al empleado y nada.
{"message":"You are not allowed to update booking","data":{"rescheduleBookingUnavailable":true}}
agradezco su apoyo gracias!
Hello there,
Thank you for reaching out to us.
Can you please check in WordPress users if you have several roles added to this user? For example admin and employee or employee and customer. etc. Or if this user has the same mail as other user for example admin/manager and employee or employee and customer. etc.
If this is the case then you should know you can not be Admin and manager to admin and employee, etc at the same time since this leads to conflict within the plugin. You need to have only one role per user only admin or only manager or only employee. Every role has different permission and if you combine them Amelia can not function properly.
You need to disconnect other roles from that user and that mail and to create a separate user with separate mail for each role and make sure to purge the cache afterward.
After that Amelia should work properly again. Please do that and let us know how it goes.
Looking forward to your reply.
Kind Regards,
Marko Davidovic
[email protected]
Rate my support
wpDataTables: FAQ | Facebook | Twitter | Instagram | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Instagram | Amelia demo sites | Docs | Discord Community
You can try wpDataTables add-ons before purchasing on these sandbox sites:
Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables
ok lo menciona ha funcionado. el problema ahora es que recibi una respuesta de exito falsa. dice que todo ha salido bien. pero la hora ni la fecha del booking han cambiado.
[14-Aug-2024 00:35:05 UTC] Reschedule appointment: 73 to 2024-08-26 11:00
[14-Aug-2024 00:35:05 UTC] Reschedule appointment: {"message":"Successfully updated appointment","data":{"booking":{"id":73,"customerId":110,"customer":null,"status":"approved","couponId":null,"price":0,"coupon":null,"tax":null,"appointmentId":72,"extras":[],"persons":1,"token":null,"payments":[{"id":73,"customerBookingId":73,"packageCustomerId":null,"parentId":null,"amount":0,"gateway":"onSite","gatewayTitle":"","dateTime":"2024-08-15 16:00:00","status":"paid","data":"","entity":null,"created":null,"actionsCompleted":null,"triggeredActions":null,"wcOrderId":null,"wcOrderItemId":null,"wcOrderUrl":null,"wcItemCouponValue":null,"wcItemTaxValue":null,"transactionId":null,"transfers":null}],"utcOffset":null,"aggregatedPrice":true,"isChangedStatus":null,"isLastBooking":null,"packageCustomerService":null,"ticketsData":[],"duration":3600,"created":"2024-08-14 00:10:05","actionsCompleted":null,"isUpdated":null,"customFields":null,"info":"{\"firstName\":\"John\",\"lastName\":\"Doe\",\"phone\":\"6516546465\",\"locale\":\"en_US\",\"timeZone\":\"UTC\",\"urlParams\":null}"},"newAppointment":null,"oldAppointment":{"id":72,"bookings":[{"id":73,"customerId":110,"customer":null,"status":"approved","couponId":null,"price":0,"coupon":null,"tax":null,"appointmentId":72,"extras":[],"persons":1,"token":null,"payments":[{"id":73,"customerBookingId":73,"packageCustomerId":null,"parentId":null,"amount":0,"gateway":"onSite","gatewayTitle":"","dateTime":"2024-08-15 16:00:00","status":"paid","data":"","entity":null,"created":null,"actionsCompleted":null,"triggeredActions":null,"wcOrderId":null,"wcOrderItemId":null,"wcOrderUrl":null,"wcItemCouponValue":null,"wcItemTaxValue":null,"transactionId":null,"transfers":null}],"utcOffset":null,"aggregatedPrice":true,"isChangedStatus":null,"isLastBooking":null,"packageCustomerService":null,"ticketsData":[],"duration":3600,"created":"2024-08-14 00:10:05","actionsCompleted":null,"isUpdated":null,"customFields":null,"info":"{\"firstName\":\"John\",\"lastName\":\"Doe\",\"phone\":\"6516546465\",\"locale\":\"en_US\",\"timeZone\":\"UTC\",\"urlParams\":null}"}],"notifyParticipants":1,"internalNotes":"","status":"approved","serviceId":1,"parentId":null,"providerId":95,"locationId":1,"provider":null,"service":null,"location":null,"googleCalendarEventId":null,"googleMeetUrl":null,"outlookCalendarEventId":null,"zoomMeeting":{"id":83050403063,"startUrl":"https:\/\/us02web.zoom.us\/s\/83050403063?zak=eyJ0eXAiOiJKV1QiLCJzdiI6IjAwMDAwMSIsInptX3NrbSI6InptX28ybSIsImFsZyI6IkhTMjU2In0.eyJpc3MiOiJ3ZWIiLCJjbHQiOjAsIm1udW0iOiI4MzA1MDQwMzA2MyIsImF1ZCI6ImNsaWVudHNtIiwidWlkIjoieVc5SFZRQlBTbFN3UlVIOFJsNHZmQSIsInppZCI6IjgxNGYzNGQ4ZTIzYjRkN2ZiNTdkNzhiNzhmZDg3YjYwIiwic2siOiIxMzQzODU3OTc1NjQ3ODY1OCIsInN0eSI6MTAwLCJ3Y2QiOiJ1czAyIiwiZXhwIjoxNzIzNjAxNDA2LCJpYXQiOjE3MjM1OTQyMDYsImFpZCI6IjlWb0U0UkFFVGpDTXRWSzVoZ1Nyd3ciLCJjaWQiOiIifQ.H6SDVGlLvlx8FTNj-XsuwATq48ZL_xwzH8BNgIL9p9c","joinUrl":"https:\/\/us02web.zoom.us\/j\/83050403063"},"lessonSpace":null,"bookingStart":"2024-08-26 11:00:00","bookingEnd":"2024-08-26 12:00:00","type":"appointment","isRescheduled":true,"isFull":null,"resources":[]},"oldAppointmentStatusChanged":false,"existingAppointment":null,"existingAppointmentStatusChanged":false,"initialAppointmentDateTime":{"bookingStart":"2024-08-15 16:00:00","bookingEnd":"2024-08-15 17:00:00"}}}
Hello again,
When you have several questions or issues please open a new ticket, and we will help you there. In that way, issues and questions that are related to different subjects will be in separate tickets so other customers or our support agents can find them easily.
Our policy is to have one issue or question per ticket because of the reasons that are described already.
Thank you for understanding.
Im afraid that we do not undserstand what and where and how you get error and what exactly the issue is now. Can you please elaborate more on this? Please explain to us what the issue is now and you can send us a short one minute video of the issue via wetransfer here.
Looking forward to your reply.
Kind Regards,
Marko Davidovic
[email protected]
Rate my support
wpDataTables: FAQ | Facebook | Twitter | Instagram | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Instagram | Amelia demo sites | Docs | Discord Community
You can try wpDataTables add-ons before purchasing on these sandbox sites:
Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables