Sending in “0” (zero) passengers and freight via API triggers an AUTO load. I checked API docs but found nothing new to force the system to use nil pax/freight load.
As an example, in my implementation when certain flight types are selected (like Positioning or Technical Test), pax and cargo fields are set to “0” (zero) automatically, for other types I do generate loads internally and send them.
This was working before when I tested back in time, did something changed? Do we need to send in “NONE” to achieve expected results.
If you are not able to re-produce, I need to dig deeper and see what is being sent via api request. Will check it tonight if I can find some time. If proper form values are not reaching your end, then it may be something blocking it on my side (maybe 0 is being mis identified somehow)
That is my initial suspicion. I will check a bit more in depth tonight but in the mean time, can you copy/paste the full URL from the pop up window when you click “Generate OFP”?
&pax=0&cargo=0 is there and looks like it is working.
I think 0 was being identified as false somehow in my code and it was not reaching to simbrief properly, thus it was reverting to auto (checked the api_params of my xml)