| qf | No | Status Flights you have this calendar year (optional). Each flight flown counts as one. | |
| qm | No | Status Miles you have this calendar year (optional). Used only for the progress toward the next Safar Flyer status. | |
| fam | No | Fare family. EE = Eco Essential (Economy, 50%); EC = Eco Classic (Economy, 100%); FC = Family Classic (Economy, 100%); EF = Eco Flex (Economy, 150%); BC = Biz Classic (Business, 150%); BF = Biz Flex (Business, 200%). The fare family on your Royal Air Maroc ticket. Eco Essential earns half the distance; Biz Flex earns double. | EC |
| 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 |
| noearn | No | Is it an award ticket, a Cash and Miles ticket or an E class booking without luggage?. N = No; Y = Yes (earns nothing). Royal Air Maroc says these earn no Miles. Choose No if you do not know. | N |
| status | No | Your Safar Flyer status. BL = Blue or not yet a member; SI = Silver (+50%); GO = Gold (+75%); PL = Platinum (+100%). The Silver, Gold and Platinum bonus is paid on Award Miles for Royal Air Maroc flights; it does not count toward status. | BL |
| creditTo | No | Credit the flights to a partner program instead of Royal Air Maroc's own: american = American AAdvantage (creditStatus one of: AAdvantage member, AAdvantage Gold, AAdvantage Platinum, AAdvantage Platinum Pro, AAdvantage Executive Platinum); alaska = Atmos Rewards (creditStatus one of: Atmos Rewards member, Atmos Silver, Atmos Gold, Atmos Platinum, Atmos Titanium); ba-club = British Airways Club (creditStatus one of: Blue, Bronze, Silver, Gold). 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. Give the booking class letter as creditClass. The flights are segs (their miles), or creditFlights. | |
| creditClass | No | The booking class letter on the ticket, for creditTo (required with creditTo). 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. | |