[#323] API method getClientList does not work

Ahmed Hassan wrote:

Am I correct that only confirmed bookings can be canceled?

Redmine Admin wrote:

Please elaborate your question. How do you want to cancel non confirmed booking and which result of this operation you expect?

Ahmed Hassan wrote:

Yes, what happen if cancel not confirmed booking?
I expect cancellation removes booking from the user and free upos the booked time, is that right?

Also - is that possible to see if booking is canceled or not?

Redmine Admin wrote:

nothing will happened. Yes, you can see all bookings in detailed report

Ahmed Hassan wrote:

Do you mean "getBookingDetails " method?
Here is all info I get with that method

stdClass Object
(
[id] => 106
[code] => faf2xhzy
[is_confirmed] => 0
[comment] =>
[event_id] => 2
[event_name] => Private Live Class
[event_duration] => 45
[event_buffertime_before] => 0
[event_buffertime_after] => 15
[event_price] => 12.0000
[event_currency] => USD
[event_tax_id] =>
[invoice_id] =>
[invoice_number] =>
[invoice_status] =>
[invoice_currency] =>
[invoice_line_amount] =>
[invoice_payment_received] =>
[invoice_amount] => 0.0000
[invoice_payment_processor] =>
[invoice_payment_processor_id] =>
[event_image] => 6a40655879548902c4a0364795c0c800.jpg
[event_image_path] => /uploads/pathtoarabiccom/image_files/preview/6a40655879548902c4a0364795c0c800.jpg
[unit_id] => 18
[unit_name] => Ahmed Hassan
[unit_description] =>
[unit_email] => ahmedamin3@hotmail.com
[unit_phone] => 00447984060558
[unit_image] =>
[unit_image_path] =>
[start_date_time] => 2019-02-09 19:15:00
[end_date_time] => 2019-02-09 20:15:00
[client_timezone] => Europe/London
[client_id] => 38
[client_name] => Ahmed Hassan
[client_email] => ahmedamin3@hotmail.com
[client_phone] => +447984060558
[client_address1] =>
[client_address2] =>
[client_city] =>
[client_zip] =>
[client_country_id] =>
[company_login] => pathtoarabiccom
[company_name] => Path to Arabic
[company_phone] =>
[company_email] => support@pathtoarabic.com
[additional_fields] => Array
(
[0] => stdClass Object
(
[value] => Conversation
[field_name] => 6e5db39a03ad5974872c422aeca8c545
[field_title] => Topic
[field_position] => 0
[field_type] => select
[field_id] => 4
[field_pos] => 0
)

        [1] => stdClass Object
            (
                [value] => 
                [field_name] => be421317534162ffc671b1179aab8001
                [field_title] => Specific topics you would like to cover or review
                [field_position] => 8
                [field_type] => text
                [field_id] => 3
                [field_pos] => 8
            )

        [2] => stdClass Object
            (
                [value] => Level 1
                [field_name] => cc929f9491adafbef3942875abd6c6fd
                [field_title] => Your Current Level
                [field_position] => 11
                [field_type] => select
                [field_id] => 5
                [field_pos] => 11
            )

        [3] => stdClass Object
            (
                [value] => Lesson 6
                [field_name] => 0ef1c20e0c456f9071bceb156e406cb4
                [field_title] => Your Current Lesson
                [field_position] => 14
                [field_type] => select
                [field_id] => 6
                [field_pos] => 14
            )

    )

)
what parameter tells booking is canceled?

other question is the next - your docs API documentation | SimplyBook.me Online Scheduling tells the next “You can get $bookingHash
value as result of [[#book|book]] API method call.”. What is [[#book|book]] ?

Redmine Admin wrote:

[is_confirmed] => 0

this one means booking was canceled

Book is this one API documentation | SimplyBook.me Online Scheduling