Integration of the alternate Roster shows wrong pilot Rank

Information about the VA integration pack
Post Reply
Florian_Knett
Ticket Agent
Posts: 12
Joined: Mon Apr 27, 2020 9:49 am
Location: Wien
Contact:

Integration of the alternate Roster shows wrong pilot Rank

Post by Florian_Knett » Wed Aug 26, 2020 6:09 pm

Hello,

I have the following problem

Integration of the alternate Roster shows wrong pilot Rank. As you can see on the screenshot my Pilot Rank is Senior Captain:
https://prnt.sc/u6cryv
but on the homepage it shows Flight Captain
https://world-alliance-group.weebly.com ... loten.html

https://prnt.sc/u6csrk
I am using the following code:
<iframe width="1100" height="500" src="https://remote.fsairlines.net/v1/roster ... "></iframe>

Florian_Knett
Ticket Agent
Posts: 12
Joined: Mon Apr 27, 2020 9:49 am
Location: Wien
Contact:

Re: Integration of the alternate Roster shows wrong pilot Rank

Post by Florian_Knett » Sun Sep 27, 2020 2:59 pm

Hello ?! Is there any support!?

Waiting now several weeks.....
Last edited by Florian_Knett on Mon Jun 07, 2021 10:21 pm, edited 2 times in total.

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

Re: Integration of the alternate Roster shows wrong pilot Rank

Post by joefremont » Sun Sep 27, 2020 5:15 pm

Sorry its taken me so long to get to this. It should be fixed now.

The problem was the getPilotStats function in the XML interface returned total ratings within your airline rather than total for your career, so I added a new property to the VA interface total_rating which has the total for the pilot regardless of VA.
Image
I've sworn an oath of solitude until the pestilence is purged from the lands.


Post Reply