Static ID getting cleared

I am using the static_id property on generated flight plans from my web site. The workflow (as I understand it) is that once a flight has been generated, I can go into SimBrief, update the flight plan if I choose and then “Generate Flight” again.

However, this appears to create a new flight plan without a static ID, and clears the static ID in the existing plan. Now I can no longer pull changes from SimBrief to my web site.

  1. Is this a bug, or do I misunderstand the steps required to make a change on the SimBrief side?
  2. Is there any way the API can be updated where I submit a callback URL and SB can then notify me when that sheet changes?

Thanks!

Luke

Hi Luke,

I think the static_id is getting cleared if you answer “Yes” to the “automatically select new runways and alternates” pop-up.

This is a bug, I’ll try to have it fixed in the next update. No ETA on that quite yet though.

The callback URL is an interesting idea, I’ll make a note of it. Not sure yet if or when it might be added though.

Best regards,

Thank you for the confirmation. I’ll check if updating the runways clears the static ID, but I assume you’re correct.

No urgency on the callback, it just seemed like a good idea when I was thinking about it. Don’t need anything special in the payload, beyond enough data to know what flight changed (and I can probably put this in the URL).

Thanks again!

Hi Luke, just following up. The static_id reset issue should be fixed now in version 2.15.0.

Best regards,

Really appreciate it! I was able to confirm this morning. Thanks!

Cheers