[#320] using API

Migrated from Redmine #320 | Author: TAMMAM ALTAJAR
Status: New | Priority: Normal | Created: 2019-01-28


Hello,

I have a general question, when using API, does it mean that the whole booking system has to be built with API. or i can still use what i have already built using the general interface.

I have build already the booking system, however i want some minor customization with regards to the way booking is done that is not possible to do with the current system based on the support team. The support team mentioned i can do it with API. However Im not an IT or programming guy, so Im not sure what does that mean. does it mean that the whole booking system need to be built by API and i can no longer use general interface, the custom feature or what i have already built. or API is a tool that will allow the programmer to go and tweek certain codes from the already built booking system to change functionality without having to do much or work. I appreciate your fast reply because a programmer quoted big money to do a very small customization and im not sure if this is what it takes to do these changes.

these are the changes im looking at:

The two changes I’m looking at are:

  • First: I want some services to occupy two time slots when they are booked in a quantity of 1 (example: Family package that has two adult, so customer picks the package but this package will cause the system to book two slots at the same time since it is two adult)

  • Second. I would like to have a discount that will be applied automatically based on quantity. For example, if customer book one service he got no discount, however if book two slots, he get 5%, three slots he get 7& and 4 slots he get 10%. this discount will show automatically at checkout.

Redmine Admin wrote:

Hi, this depends a lot on which tasks you need to solve. If you want to make bookings via API then yes, whole booking system needs to be built on API. If you need to add some addition things then you can use callbacks and API methods for your needs but still use our booking page or widget.

  • First: you can use group bookings plugin without API

  • Second: you will need to build whole booking system on API for this

TAMMAM ALTAJAR wrote:

Thanks a lot for your fast reply. It is highly appreciated.

first: for group booking, Im already using it, but it does not work the way I want. it creates a drop menu which allow the customer to pick the group size. I don’t want that. What i have is a family package, so when customer buy one family package, the system should book two slots for this since it will be two adults. So a quantity of 1 of family package is actually two time slots at the same interval

Second. does it mean i have to build it for only this service, or the whole booking system will be built with API including other services. Does it mean all custom feature I have selected will have to be built with API. will I loose the functionality of the interface and the easy customization and everything will have to be done by API?

Redmine Admin wrote:

first: there is no common solution for this we can offer
second: it is up to you