admin

GET /admin/reports/hotels

Request

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

Response

Request fulfilled, document follows

keystring
num_tripsinteger
total_hotel_farenumber
num_travelersinteger
num_nightsinteger
avg_night_pricenumber
avg_ratingnumber
booked_in_advancenumber
flexibleobject
change_or_cancel_feesnumber
have_changes'none' | 'changed' | 'cancelled'
changesobject
avg_nightsnumber
num_hotelsinteger
breakfastobject
refundableobject
per_tripDetailedHotelStatsPerTrip[] (unresolved $ref)
city_with_countrystring
hotel_namestring

Changes

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