admin

GET /admin/reports/flights

Request

  • Base URL
    https://app.getgoing.com
  • URL
    https://app.getgoing.com/admin/reports/flights
  • Auth
    API key in header Authorization

Query parameters

start_datestring date

Start date in ISO (optional). Example: 2019-01-01

end_datestring date

End date in ISO (optional). Example: 2019-12-31

country_idinteger
departmentstring
invoice_profile_idinteger
employee_idstring
group_idinteger

Group ID to get data for. Don't pass value to get company data (regardless of groups); pass 0 for users not in groups

officestring
cost_centerstring
trip_purposestring
accounting_unitstring
action_codestring
billablestring
internal_accountstring
out_of_policy_reasonstring
project_codestring
purchase_order_numberstring
custom_field_1string
custom_field_2string
custom_field_3string
trip_type'one_way' | 'round_trip' | 'multi_destination'

Trip type: one_way/round_trip/multi_destination

flight_pathstring

Response

Request fulfilled, document follows

keystring
total_airfarenumber
num_travelersinteger
avg_ticket_pricenumber
cabin_classobject
extras_chargesnumber
booked_in_advancenumber
max_num_of_stopinteger
change_or_cancel_feesnumber
refund_amountnumber
num_tripsinteger
direct_flightsobject
have_changes'none' | 'changed' | 'cancelled'
flexibleobject
changesobject
emissions_totalinteger
trip_idinteger
start_datestring date
end_datestring date
statusstring nullable

Changes

No recorded changes to this operation across all 1 revision of this API.