[#330] Status don't seem to get updated through API

Migrated from Redmine #330 | Author: Claus Muchardt-Pind
Status: New | Priority: High, I’m very impatient | Created: 2019-02-05


Hi,

I have a webhook/callback, and receives the JSON fine from Simply.

But when I change status in Simply on a booking, I don’t receive the updated status.

My flow is:

  1. Fetch data from simply (php://input)
  2. Call getBookingDetails
  3. Call getBookingStatus
  4. Update local DB

#2 is giving me the details, but it doesn’t give me the updated status in the JSON array

#3 is giving me the same result (not the updated status). This call was only to see if I would get another status than in #2

PS: The Status plugin is activated

Can you out of this short description tell me, if I’m missing something?

Thanks,
Claus

Redmine Admin wrote:

Hi, we have callback for new bookings only. There is no callback for status change

Claus Muchardt-Pind wrote:

Hi,

Can you then tell me, when the Notification types ‘change’ or ‘notifiy’ will be given ?

(taken from the API setting: “notification_type - Notification type. Can be ‘create’, ‘cancel’, ‘notify’, ‘change’”)

Thanks,
Claus

Redmine Admin wrote:

change will happen when booking data will be changed (date, time, service, client, provider). Unfortunately status change will not fire change event for now

Claus Muchardt-Pind wrote:

And could you elaborate on this? Is the ‘change event’ on the roadmap? Or is it a bug? Can you say anything about when I (we) could expect to see it implemented?

Claus Muchardt-Pind wrote:

Anything ?

(Short original content)

Redmine Admin wrote:

hi, yes, we are planning to add event change and some other new endpoints to API callback settings later this year. Can’t tell you exact date unfortunately