admin

GET /admin/reports/rails

Request

  • Base URL
    https://app.getgoing.com
  • URL
    https://app.getgoing.com/admin/reports/rails
  • 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

trip_pathstring

Response

Request fulfilled, document follows

keystring
avg_ticket_pricenumber
booked_in_advancenumber
cabin_classobject
seat_pricenumber
num_travelersinteger
route_travelersinteger
num_tripsinteger
total_rail_spendnumber
start_datestring date
end_datestring date
open_return_valid_untilstring date
trips_by_pathDetailedRailStats[] (unresolved $ref)

Changes

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