Request more values for getPilotStatus

Information about the VA integration pack
Post Reply
Vjacheslav
Flight Attendant
Posts: 177
Joined: Thu Nov 20, 2008 10:32 am
Location: EVRA
Contact:

Request more values for getPilotStatus

Post by Vjacheslav »

Hello Joe!
Please add (if it possible) more return values for function getPilotStatus &va_id=XXXX&pilot_id=XXXX

new data:
zwf, dow, pax_income, cargo_income

Thank you very much.
Vjacheslav
Flight Attendant
Posts: 177
Joined: Thu Nov 20, 2008 10:32 am
Location: EVRA
Contact:

Re: Request more values for getPilotStatus

Post by Vjacheslav »

at now, income value return pax income in booked or active flight
User avatar
joefremont
FSAirlines Developer
Posts: 3845
Joined: Tue May 16, 2006 5:46 am
Location: KSFO

Re: Request more values for getPilotStatus

Post by joefremont »

The income is the expected revenue from the booked flight, before expenses. I'm not sure I want to add all that data to the getPilotStatus function, and we don't store separate cargo and pax income in the database when you book the flight, I can give you acdb_id, PAX_Business, PAX_First from that you can lookup the aircraft data and calculate the income. Expect it in a couple of days.
Image
I've sworn an oath of solitude until the pestilence is purged from the lands.
Vjacheslav
Flight Attendant
Posts: 177
Joined: Thu Nov 20, 2008 10:32 am
Location: EVRA
Contact:

Re: Request more values for getPilotStatus

Post by Vjacheslav »

Ok. Maybe there is another way get this data for ZFW and cargo income before flight?

Image
Vjacheslav
Flight Attendant
Posts: 177
Joined: Thu Nov 20, 2008 10:32 am
Location: EVRA
Contact:

Re: Request more values for getPilotStatus

Post by Vjacheslav »

fixed upload image
User avatar
joefremont
FSAirlines Developer
Posts: 3845
Joined: Tue May 16, 2006 5:46 am
Location: KSFO

Re: Request more values for getPilotStatus

Post by joefremont »

Instead try using function=getAircraftDBData&acdb_id={id}
Image
I've sworn an oath of solitude until the pestilence is purged from the lands.
Vjacheslav
Flight Attendant
Posts: 177
Joined: Thu Nov 20, 2008 10:32 am
Location: EVRA
Contact:

Re: Request more values for getPilotStatus

Post by Vjacheslav »

joefremont wrote:Instead try using function=getAircraftDBData&acdb_id={id}
ok, this way for calculate ZFW
im get DOW with getAircraftDBData and get PAX (calculate in kg 1 pax = 82kg) and CARGO with getPilotStatus and calculate baggage (20kg per 1 pax?)

DOW + (PAX * 82) + (PAX * 20) + CARGO = ZFW?

How can I get CARGO Income value?

Thanks
Post Reply