Solved: VA Integration Pack 2 pilotcharge getAirlineData

Information about the VA integration pack
Post Reply
nichtDanger
Ticket Agent
Posts: 6
Joined: Sun May 09, 2021 2:36 am
Contact:

Solved: VA Integration Pack 2 pilotcharge getAirlineData

Post by nichtDanger » Thu Jun 17, 2021 6:14 pm

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?
Image

User avatar
joefremont
FSAirlines Developer
Posts: 3690
Joined: Tue May 16, 2006 5:46 am
Location: KSFO

Re: BUG: VA Integration Pack 2 pilotcharge getAirlineData

Post by joefremont » Thu Jun 17, 2021 6:30 pm

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?
Image
I've sworn an oath of solitude until the pestilence is purged from the lands.

nichtDanger
Ticket Agent
Posts: 6
Joined: Sun May 09, 2021 2:36 am
Contact:

Re: Possible: VA Integration Pack 2 pilotcharge getAirlineData

Post by nichtDanger » Thu Jun 17, 2021 6:34 pm

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:
Image

User avatar
joefremont
FSAirlines Developer
Posts: 3690
Joined: Tue May 16, 2006 5:46 am
Location: KSFO

Re: Solved: VA Integration Pack 2 pilotcharge getAirlineData

Post by joefremont » Thu Jun 17, 2021 6:56 pm

Glad we figured it out
Image
I've sworn an oath of solitude until the pestilence is purged from the lands.

Post Reply