Page 1 of 1

Solved: VA Integration Pack 2 pilotcharge getAirlineData

Posted: Thu Jun 17, 2021 6:14 pm
by nichtDanger
Hello again.

a little problem / understanding problem this time.
The "pilotcharge" in the "getAirlineData" endpoint outputs a higher number of pilots than are currently in the virtual arline.
Can it be that old pilots (who have left the virtual airline again) are included in the count?

Re: BUG: VA Integration Pack 2 pilotcharge getAirlineData

Posted: Thu Jun 17, 2021 6:30 pm
by joefremont
I am not sure what your referring to. I just checked it and it seams ok.

There is a default 'Pilot Salary' value in your VA settings and this is the value that is returned in the pilotcharge field. I checked it for both your VA and my own and it seams correct. What were you expecting?

Re: Possible: VA Integration Pack 2 pilotcharge getAirlineData

Posted: Thu Jun 17, 2021 6:34 pm
by nichtDanger
Oh man.
perfect, now I know what is meant by "pilotcharge".
I thought it was the number of pilots in the virtual airline. not the salaries of the pilots. Thank you :shock:

Re: Solved: VA Integration Pack 2 pilotcharge getAirlineData

Posted: Thu Jun 17, 2021 6:56 pm
by joefremont
Glad we figured it out