ERROR create appointment by API

21 views
Skip to first unread message

Eduardo Santos

unread,
Aug 14, 2025, 9:07:45 PMAug 14
to Easy!Appointments - Support Group
Has anyone else had an error in creating an appointment by api?
index.php/api/v1/appointments

{
"start_datetime": "2025-08-15 17:00",
"end_datetime": "2025-08-15 18:00",
"location": "Test Street 1A, 12345 Some State, Some Place",
"color": "#7cbae8",
"status": "Booked",
"notes": "This is a test appointment.",
"id_users_customer": 1,
"id_users_provider": 6,
"id_services": 12,
"is_unavailability": 0
}


<div style="
border: 1px solid #dfdfdf;
margin: 0 0 10px 0;
padding: 15px;
font-size: 14px;
">

<h4>
An uncaught Exception was encountered
</h4>

<h6>
Type
</h6>

<p>
ParseError </p>

<h6>
Message
</h6>

<p>
syntax error, unexpected token "->" </p>

<h6>
Filename
</h6>

<p>
/var/www/html/application/controllers/api/v1/Appointments_api_v1.php </p>

<h6>
Line Number
</h6>

<p>
68 </p>


</div>

Alex Tselegidis

unread,
Aug 18, 2025, 12:20:18 PMAug 18
to Easy!Appointments - Support Group
Fixed in the latest 1.5.2 beta (download link)

https://github.com/alextselegidis/easyappointments/releases/download/1.5.2-beta.1/easyappointments-1.5.2-beta.1.zip

You can try that package and let us know if there are any other issues. 







Alex Tselegidis, Easy!Appointments Creator
Need a customization? Get a free quote!



Reply all
Reply to author
Forward
0 new messages