| tp | No | Tier Points you have so far (optional). Used only for the progress toward Silver and Gold. | |
| cls | No | Booking class. JCD = J, C, D (Upper Class, 500%, 200 Tier Points); I = I (Upper Class, 300%, 200 Tier Points); Z = Z (Upper Class, 300%, 100 Tier Points); WS = W, S (Premium, 250%, 100 Tier Points); HK = H, K (Premium, 175%, 50 Tier Points); V = V (Economy Delight, 150%, 50 Tier Points); YBR = Y, B, R (Economy Classic, 150%, 50 Tier Points); LUM = L, U, M (Economy Classic, 100%, 50 Tier Points); QXNO = Q, X, N, O (Economy Classic, 50%, 25 Tier Points); T = T (Economy Light, 25%, 25 Tier Points). The letter on your ticket. The percentage is of the distance flown. Reward-only classes (G, P, A) and E are not listed. | YBR |
| segs | Yes | The flights, one way and in order, one entry per flight (1 to 8): fromCountry and toCountry, the ISO 3166 two-letter country codes of its two airports; miles, its great-circle distance in miles (1 to 12,500); optional from and to, the IATA codes of its two airports, which label the breakdown; some airlines also use them (Vladivostok, VVO, on JAL and ANA; the Madrid-Barcelona Air Shuttle, MAD-BCN, on Iberia; the long-haul tables named by city on SAS). | |
| trip | No | Trip. ow = One way; rt = Round trip. Round trip counts the same flights back the other way. | ow |
| status | No | Your Flying Club tier. R = Red; S = Silver (+30% Virgin Points); G = Gold (+60% Virgin Points). | R |
| creditTo | No | Credit the flights to a partner program instead of Virgin Atlantic's own: delta = Delta SkyMiles (creditStatus one of: SkyMiles Member, Silver Medallion, Gold Medallion, Platinum Medallion, Diamond Medallion); flying-blue = Flying Blue (creditStatus one of: Explorer, Silver, Gold, Platinum, Ultimate). Earns by each flight's distance and the booking class at the program's published partner rates; leave creditTo out for the airline's own program. The booking class is cls (or creditClass). The flights are segs (their miles), or creditFlights. | |
| creditClass | No | The booking class letter for creditTo, when it differs from the class question. Ignored without creditTo. | |
| creditStatus | No | Your status in the creditTo program, by its name as listed under creditTo. Defaults to the base level. Ignored without creditTo. | |
| creditFlights | No | The flights for creditTo: one entry per one-way flight, in order, with its great-circle miles (calculate_flight_distance gives them) and optionally from/to airport codes. Defaults to segs when they carry miles. | |