system
July 7, 2023, 11:35am
1
Migrated from Redmine #1077 | Author: ana santana
Status: Feedback | Priority: High, I’m very impatient | Created: 2023-07-07
Hi there, we think that API JSON-RPC does not work correctly. We are trying to do a booking of one rate and amount and it replys with 2.
This is the code that we are using:
{“method”:“book”,“params”:[2,2,“2023-07-13”,“09:00:00”,{“name”:“Client name",“email”:"client@email.com ”,“phone”:“+13152108338”}, ,1],“id”:2}
Hope you can help us with this issue.
Thanks in advanced.
Regards,
system
July 7, 2023, 11:38am
2
Redmine Admin wrote:
hi, please provide response from our server.
ana santana wrote:
Request:
{“method”:“book”,“params”:[2,2,“2023-07-13”,“10:00:00”,{“name”:“Client name",“email”:"client@email.com ”,“phone”:“+13152108338”}, ,1],“id”:1}
Response:
{“result”:{“require_confirm”:false,“bookings”:[{“id”:“77”,“event_id”:2,“unit_id”:2,“client_id”:“29”,“client_hash”:“f772541514049d1576971555fde6b2b5”,“start_date_time”:“2023-07-13 10:00:00”,“end_date_time”:“2023-07-13 11:00:00”,“time_offset”:“0”,“is_confirmed”:“1”,“require_payment”:false,“code”:“11zp243hu”,“hash”:“5645ba02495a11767ff19d52c8f9ec72”},{“id”:“78”,“event_id”:2,“unit_id”:2,“client_id”:“29”,“client_hash”:“f772541514049d1576971555fde6b2b5”,“start_date_time”:“2023-07-14 10:00:00”,“end_date_time”:“2023-07-14 11:00:00”,“time_offset”:“0”,“is_confirmed”:“1”,“require_payment”:false,“code”:“11zp253vz”,“hash”:“4ffd61497c18da977f9076f5ebaabb4b”}],“batch_type”:“batch_recurrent_booking”,“recurrent_batch_id”:“15”,“batch_hash”:“e591956a64aa6f6bf3be808418ec2460”,“invoice”:null},“id”:“1”}
Redmine Admin wrote:
it seems you are booking recurring service. What is wrong there?
ana santana wrote:
That doing a booking test, we receive 2 tickets when we are just buying one.
We don’t know why we receive this response from your server.
Could you please help us? Are we doing sth wrong?
Thanks in advanced.
system
July 10, 2023, 7:05am
6
Redmine Admin wrote:
do service which you are booking via API has recurring options?
system
July 10, 2023, 7:50am
7
ana santana wrote:
It’s not a recurring service
system
July 10, 2023, 7:58am
8
Dmytro Bondarev wrote:
Hello, based on my understanding, it appears to be a recurring service, which is why you have received two tickets. Would you mind sharing your company login information so that our team can assist you by checking it?
system
July 10, 2023, 9:25am
9
ana santana wrote:
Company name: Takeoffibiza
Provider: Takeoff Palladium
Hope this help.
Looking forward to your reply
system
July 10, 2023, 9:37am
10
Dmytro Bondarev wrote:
Hello,
I kindly request that you verify the usage of the correct company login and credentials when accessing the API.
system
July 10, 2023, 11:12am
11
ana santana wrote:
Hi there,
Sorry my mistake.
Here the correct company login and credentials:
Company name:entertainmentgroup
User: ana.santana@entrees.eu
Passw: esc.8012
The service that we have is with no recurring bookings.
Let me know if sth else is need it.
Thank you!
system
July 10, 2023, 11:29am
12
Redmine Admin wrote:
hi, this is recurring service with 2 sessions. Please change your password ASAP and never exposure it on public forums
system
July 10, 2023, 2:30pm
13
ana santana wrote:
Okay thanks it seems that now it runs.
However we cannt take the price of the service with API JSON-RPC. How can we get it?
Looking forward to your reply.
Thanks!