Hi good day
I am trying to use parameter acdata through the API
to set the correct weight of our fleet but the problem
weight limitation is not passed through the API when I
checked the generated flight plan in the simbrief website I can see in the Custom Aircraft Data only this sign {
and the code was copied from the fourm so I think there is no issue with the code
The weights in the acdata parameter need to be in thousands of pounds. So, instead of "mtow":254011, you should use "mtow":254.011 (note the added decimal). This is assuming your original number was in pounds, if your original number is in kg, you’ll need to multiply it by 2.20462 as well.
Hi, I did the change from kg to lbs by mulitply 2.20462 and when I submit the request to simbrief there is no change accroding to the Acdata check below image .
The weights in the acdata parameter need to be in thousands of pounds. So, instead of "mtow":254011 , you should use "mtow":254.011 (note the added decimal). This is assuming your original number was in pounds, if your original number is in kg, you’ll need to multiply it by 2.20462 as well.
Added emphasis. You only did half of what was required
Also, you need to properly escape the quotation marks inside the JSON string. So, correcting your example with thousands of pounds and properly escaped quotation marks, gives the following: