nelson c said:
I'm testing the API events and it works very well
However, I cannot find way to start advertising with a single command API events. I would like something as in DTMF that is starts the event that this next on schedule.
the command could be something like:
pass=1234&action=schedule&type=
runrange&id=[AdScheduler]
You can gen events list, filter all that have the "[AdScheduler]" name, then find the one that has closest start time - it's the "IntTimeToStart" field, please see this post for information about this field: https://www.djsoft.net/smf/index.php/topic,4663.msg22458.html#msg22458
nelson c said:
A doubt:
To modify an event, is necessary pass you all them fields of the xml? or with the ID and the field changing is enough?
Yes, currently you'll need to specify all fields. Anyway, you already have all fields from the "list" command, so you just modify what you need.