[#381] Document cancelBooking($id) need to add parameter $sign

Migrated from Redmine #381 | Author: Shin Yu Wang
Status: Closed | Priority: Normal | Created: 2019-05-08


Hello !

I found that there is missing second parameter of $sign in cancelBooking($id) API on document.
($sign = md5($bookingId + $bookingHash + $YourSecretKey)

Hope this can help others who can’t call cancelBooking API successfully!

Best,

Julia

Shin Yu Wang wrote:

Hello !

I found that there is missing second parameter of $sign in cancelBooking($id) API on document.

It should be updated to → cancelBooking($id, $sign)
($sign = md5($bookingId + $bookingHash + $YourSecretKey)

Hope this can help others who can’t call cancelBooking API successfully!

Best,

Julia

Redmine Admin wrote:

Hi, there are 2 API: public and administration. Sign is not needed for administration API and docs are correct Company administration service methods - Company administration service methods - SimplyBook.me
But yes, sign is needed for public API Company public service methods - Company public service methods - SimplyBook.me