SetAlert target_address


#1

Hello everybody,
I am new here and enjoying working with FlightXML 2.0, I am using Python.

My problem is that I have to distribute the alerts I receive to different users, but alerts do not include an alertid, so I don’t have an easy way to determine the person who should be receiving the alert.
I read that the channel parameter on SetAlert has a target_address, how do you specify that? does any one know? Would this allow me to solve my problem? Any Ideas.
Thanks to all.
Cheers

André



#2

Thank you for writing in. I have passed your question on to our developers and they should respond here in the near future.


#3

Hi, I think I got my answer, the alert I received last night contained the alert_id !
thanks and keep up the good work :slight_smile:
Cheers
Andre


#4

I think they were probably just overlooked on your end earlier - the alert_id has been a part of the FXML2 push alerts for quite a while.


#5

Is there a way to setup an Alert for any flight from an airport to another airport ?
Cheers
Andre


#6

Sure; set the origin and destination but leave the type/airline/etc params blank.


#7

Thanks ottergoose !
Cheers
Andre