Migrated from Redmine #770 | Author: Orn Bjarnason Status: Feedback | Priority: Immediate, there is BUG! | Created: 2021-08-29
Hi
I see that when a ticket is validated it gets status ( work in progress - test result not ready ), but when we change the status to positive/negative that callback doesn’t fire off
So I see in my logs that I only get that first status with “test_results: null” but when we update the result nothing happens
I have the callback url and ticket callback url configured to post to same URL
When i go to the order press edit and immediately save, the onchange event kicks off, i was expecting something similar for the medical result change on the ticket
Hi
I see that when a ticket is validated it posts a callback with a payload - ( {“ticket_code”:“xx”,“booking_id”:xx,“booking_hash”:“xx”,“company”:“xx”,“notification_type”:“ticket”} but when we change the status to positive/negative that callback doesn’t fire off - neither notification type “change” or “ticket”
So I see in my logs that I only get that callback when ticket is validated- but not on status changes ( like i expected )
I have the callback url and ticket callback url configured to post to same URL
When i go to the order press edit and immediately save, the onchange event kicks off, i was expecting something similar for the medical result change on the ticket
we do not have API call backs for ticket changes, we have it for booking changes only. Ticket validation does not affect tickets which is why no callback fired
we do not have API call backs for ticket changes, we have it for booking changes only. Ticket validation does not affect tickets which is why no callback fired
Ok - but the ticket callback gets fired when the ticket is validated right? So i could use that to check for changes later ?
“You can use Ticket Callback URL to syncronize data after ticket validation. The following fields are available: booking_id - Booking ID; ticket_code - Ticket code” says on your site
Ok - but the ticket callback gets fired when the ticket is validated right?
Yes, correct.
So i could use that to check for changes later ?
Yes, you can , but you will not receive callback, so you need to define on your side when to check changes.