{"swagger":"2.0","basePath":"/","paths":{"/accept_tos/":{"options":{"responses":{"204":{"description":"Request fulfilled, nothing follows"}},"summary":"Check which methods are allowed","description":"Use this method if you need to know what operations are allowed to be\nperformed on this endpoint, e.g. to decide wether to display a button\nin your UI.\n\nThe list of allowed methods is provided in `Allow` response header.","operationId":"options_accept_tos_resource","security":[{"access_token":[]}],"tags":["accept_tos"]},"post":{"responses":{"202":{"description":"remove location","schema":{"$ref":"#/definitions/LoginSchema"}}},"operationId":"post_accept_tos_resource","security":[{"access_token":[]}],"tags":["accept_tos"]}},"/admin/groups":{"get":{"responses":{"200":{"description":"Request fulfilled, document follows","schema":{"type":"array","items":{"$ref":"#/definitions/GroupSchema"}}}},"operationId":"get_group_list","security":[{"access_token":[]}],"tags":["admin"]},"options":{"responses":{"204":{"description":"Request fulfilled, nothing follows"}},"summary":"Check which methods are allowed","description":"Use this method if you need to know what operations are allowed to be\nperformed on this endpoint, e.g. to decide wether to display a button\nin your UI.\n\nThe list of allowed methods is provided in `Allow` response header.","operationId":"options_group_list","security":[{"access_token":[]}],"tags":["admin"]},"post":{"responses":{"409":{"description":"Request conflict","schema":{"$ref":"#/definitions/HTTPError409"}},"200":{"description":"Request fulfilled, document follows","schema":{"$ref":"#/definitions/GroupSchema"}},"422":{"description":"Success","schema":{"$ref":"#/definitions/HTTPError422"}}},"operationId":"post_group_list","parameters":[{"in":"body","required":true,"name":"body","schema":{"$ref":"#/definitions/AddGroupParameters"}}],"security":[{"access_token":[]}],"tags":["admin"]}},"/admin/groups/{group_id}":{"parameters":[{"name":"group_id","in":"path","required":true,"type":"integer"}],"get":{"responses":{"200":{"description":"Request fulfilled, document follows","schema":{"$ref":"#/definitions/GroupSchema"}}},"operationId":"get_group_resource","security":[{"access_token":[]}],"tags":["admin"]},"put":{"responses":{"200":{"description":"Request fulfilled, document follows","schema":{"$ref":"#/definitions/GroupSchema"}},"422":{"description":"Success","schema":{"$ref":"#/definitions/HTTPError422"}}},"operationId":"put_group_resource","parameters":[{"in":"body","required":true,"name":"body","schema":{"$ref":"#/definitions/AddGroupParameters"}}],"security":[{"access_token":[]}],"tags":["admin"]},"delete":{"responses":{"202":{"description":"Request accepted, processing continues off-line"}},"operationId":"delete_group_resource","security":[{"access_token":[]}],"tags":["admin"]},"options":{"responses":{"204":{"description":"Request fulfilled, nothing follows"}},"summary":"Check which methods are allowed","description":"Use this method if you need to know what operations are allowed to be\nperformed on this endpoint, e.g. to decide wether to display a button\nin your UI.\n\nThe list of allowed methods is provided in `Allow` response header.","operationId":"options_group_resource","security":[{"access_token":[]}],"tags":["admin"]}},"/admin/locations":{"get":{"responses":{"200":{"description":"Request fulfilled, document follows","schema":{"type":"array","items":{"$ref":"#/definitions/DetailedLocationSchemaWithEditableIndication"}}},"422":{"description":"Success","schema":{"$ref":"#/definitions/HTTPError422"}}},"operationId":"get_company_location_list","parameters":[{"in":"query","name":"location_type","type":"string","enum":["home","office","client","hotel","airport","other","city","car_rent_agency","rail","rail_group"],"required":false}],"security":[{"access_token":[]}],"tags":["admin"]},"options":{"responses":{"204":{"description":"Request fulfilled, nothing follows"}},"summary":"Check which methods are allowed","description":"Use this method if you need to know what operations are allowed to be\nperformed on this endpoint, e.g. to decide wether to display a button\nin your UI.\n\nThe list of allowed methods is provided in `Allow` response header.","operationId":"options_company_location_list","security":[{"access_token":[]}],"tags":["admin"]},"post":{"responses":{"200":{"description":"Request fulfilled, document follows","schema":{"$ref":"#/definitions/DetailedLocationSchemaWithEditableIndication"}},"409":{"description":"Request conflict","schema":{"$ref":"#/definitions/HTTPError409"}},"422":{"description":"Success","schema":{"$ref":"#/definitions/HTTPError422"}}},"operationId":"post_company_location_list","parameters":[{"in":"body","required":true,"name":"body","schema":{"$ref":"#/definitions/AddLocationParameters"}}],"security":[{"access_token":[]}],"tags":["admin"]}},"/admin/locations/{location_id}":{"parameters":[{"name":"location_id","in":"path","required":true,"type":"integer"}],"get":{"responses":{"404":{"description":"Location not found.","schema":{"$ref":"#/definitions/HTTPError404"}},"200":{"description":"Request fulfilled, document follows","schema":{"$ref":"#/definitions/DetailedLocationSchemaWithEditableIndication"}}},"operationId":"get_company_location_resource","security":[{"access_token":[]}],"tags":["admin"]},"put":{"responses":{"404":{"description":"Location not found.","schema":{"$ref":"#/definitions/HTTPError404"}},"423":{"description":"Success","schema":{"$ref":"#/definitions/HTTPError423"}},"409":{"description":"Request conflict","schema":{"$ref":"#/definitions/HTTPError409"}},"200":{"description":"Request fulfilled, document follows","schema":{"$ref":"#/definitions/DetailedLocationSchemaWithEditableIndication"}},"422":{"description":"Success","schema":{"$ref":"#/definitions/HTTPError422"}}},"operationId":"put_company_location_resource","parameters":[{"in":"body","required":true,"name":"body","schema":{"$ref":"#/definitions/AddLocationParameters"}}],"security":[{"access_token":[]}],"tags":["admin"]},"delete":{"responses":{"404":{"description":"Location not found.","schema":{"$ref":"#/definitions/HTTPError404"}},"202":{"description":"remove location"}},"operationId":"delete_company_location_resource","security":[{"access_token":[]}],"tags":["admin"]},"options":{"responses":{"404":{"description":"Location not found.","schema":{"$ref":"#/definitions/HTTPError404"}},"204":{"description":"Request fulfilled, nothing follows"}},"summary":"Check which methods are allowed","description":"Use this method if you need to know what operations are allowed to be\nperformed on this endpoint, e.g. to decide wether to display a button\nin your UI.\n\nThe list of allowed methods is provided in `Allow` response header.","operationId":"options_company_location_resource","security":[{"access_token":[]}],"tags":["admin"]}},"/admin/report_settings":{"get":{"responses":{"200":{"description":"Request fulfilled, document follows","schema":{"type":"array","items":{"$ref":"#/definitions/ReportSettingSchema"}}}},"operationId":"get_report_setting_list","security":[{"access_token":[]}],"tags":["admin"]},"options":{"responses":{"204":{"description":"Request fulfilled, nothing follows"}},"summary":"Check which methods are allowed","description":"Use this method if you need to know what operations are allowed to be\nperformed on this endpoint, e.g. to decide wether to display a button\nin your UI.\n\nThe list of allowed methods is provided in `Allow` response header.","operationId":"options_report_setting_list","security":[{"access_token":[]}],"tags":["admin"]},"patch":{"responses":{"200":{"description":"Request fulfilled, document follows","schema":{"type":"array","items":{"$ref":"#/definitions/ReportSettingSchema"}}},"422":{"description":"Success","schema":{"$ref":"#/definitions/HTTPError422"}}},"operationId":"patch_report_setting_list","parameters":[{"in":"body","required":true,"name":"body","schema":{"type":"array","items":{"$ref":"#/definitions/UpdateReportSetting"}}}],"security":[{"access_token":[]}],"tags":["admin"]}},"/admin/reports/cars":{"get":{"responses":{"200":{"description":"Request fulfilled, document follows","schema":{"type":"array","items":{"$ref":"#/definitions/DetailedCarStatsForDetailsSchema"}}},"422":{"description":"Success","schema":{"$ref":"#/definitions/HTTPError422"}}},"operationId":"get_report_cars_resource","parameters":[{"in":"query","name":"start_date","type":"string","format":"date","description":"Start date in ISO (optional). Example: 2019-01-01","required":false},{"in":"query","name":"end_date","type":"string","format":"date","description":"End date in ISO (optional). Example: 2019-12-31","required":false},{"in":"query","name":"country_id","type":"integer","required":false},{"in":"query","name":"department","type":"string","required":false},{"in":"query","name":"invoice_profile_id","type":"integer","required":false},{"in":"query","name":"employee_id","type":"string","required":false},{"in":"query","name":"group_id","type":"integer","description":"Group ID to get data for. Don't pass value to get company data (regardless of groups); pass 0 for users not in groups","required":false},{"in":"query","name":"office","type":"string","required":false},{"in":"query","name":"cost_center","type":"string","required":false},{"in":"query","name":"trip_purpose","type":"string","required":false},{"in":"query","name":"accounting_unit","type":"string","required":false},{"in":"query","name":"action_code","type":"string","required":false},{"in":"query","name":"billable","type":"string","required":false},{"in":"query","name":"internal_account","type":"string","required":false},{"in":"query","name":"out_of_policy_reason","type":"string","required":false},{"in":"query","name":"project_code","type":"string","required":false},{"in":"query","name":"purchase_order_number","type":"string","required":false},{"in":"query","name":"custom_field_1","type":"string","required":false},{"in":"query","name":"custom_field_2","type":"string","required":false},{"in":"query","name":"custom_field_3","type":"string","required":false},{"in":"query","name":"country","type":"string","required":false},{"in":"query","name":"city_or_airport","type":"string","required":false},{"in":"query","name":"rent_agency","type":"string","required":false},{"in":"query","name":"city_or_airport_with_country","type":"string","required":false}],"security":[{"access_token":[]}],"tags":["admin"]},"options":{"responses":{"204":{"description":"Request fulfilled, nothing follows"}},"summary":"Check which methods are allowed","description":"Use this method if you need to know what operations are allowed to be\nperformed on this endpoint, e.g. to decide wether to display a button\nin your UI.\n\nThe list of allowed methods is provided in `Allow` response header.","operationId":"options_report_cars_resource","security":[{"access_token":[]}],"tags":["admin"]}},"/admin/reports/download":{"get":{"responses":{"422":{"description":"Success","schema":{"$ref":"#/definitions/HTTPError422"}}},"operationId":"get_download_report_resource","parameters":[{"in":"query","name":"start_date","type":"string","format":"date","description":"Start date in ISO (optional). Example: 2019-01-01","required":false},{"in":"query","name":"end_date","type":"string","format":"date","description":"End date in ISO (optional). Example: 2019-12-31","required":false},{"in":"query","name":"country_id","type":"integer","required":false},{"in":"query","name":"department","type":"string","required":false},{"in":"query","name":"invoice_profile_id","type":"integer","required":false},{"in":"query","name":"employee_id","type":"string","required":false},{"in":"query","name":"group_id","type":"integer","description":"Group ID to get data for. Don't pass value to get company data (regardless of groups); pass 0 for users not in groups","required":false},{"in":"query","name":"office","type":"string","required":false},{"in":"query","name":"cost_center","type":"string","required":false},{"in":"query","name":"trip_purpose","type":"string","required":false},{"in":"query","name":"accounting_unit","type":"string","required":false},{"in":"query","name":"action_code","type":"string","required":false},{"in":"query","name":"billable","type":"string","required":false},{"in":"query","name":"internal_account","type":"string","required":false},{"in":"query","name":"out_of_policy_reason","type":"string","required":false},{"in":"query","name":"project_code","type":"string","required":false},{"in":"query","name":"purchase_order_number","type":"string","required":false},{"in":"query","name":"custom_field_1","type":"string","required":false},{"in":"query","name":"custom_field_2","type":"string","required":false},{"in":"query","name":"custom_field_3","type":"string","required":false}],"security":[{"access_token":[]}],"tags":["admin"]},"options":{"responses":{"204":{"description":"Request fulfilled, nothing follows"}},"summary":"Check which methods are allowed","description":"Use this method if you need to know what operations are allowed to be\nperformed on this endpoint, e.g. to decide wether to display a button\nin your UI.\n\nThe list of allowed methods is provided in `Allow` response header.","operationId":"options_download_report_resource","security":[{"access_token":[]}],"tags":["admin"]}},"/admin/reports/download/{download_id}.xls":{"parameters":[{"name":"download_id","in":"path","required":true,"type":"string"}],"get":{"responses":{"200":{"description":"Success"}},"operationId":"get_download_report_unsecured_resource","tags":["admin"]},"options":{"responses":{"204":{"description":"Request fulfilled, nothing follows"}},"summary":"Check which methods are allowed","description":"Use this method if you need to know what operations are allowed to be\nperformed on this endpoint, e.g. to decide wether to display a button\nin your UI.\n\nThe list of allowed methods is provided in `Allow` response header.","operationId":"options_download_report_unsecured_resource","tags":["admin"]}},"/admin/reports/flights":{"get":{"responses":{"200":{"description":"Request fulfilled, document follows","schema":{"type":"array","items":{"$ref":"#/definitions/DetailedFlightStatsPerTripSchema"}}},"422":{"description":"Success","schema":{"$ref":"#/definitions/HTTPError422"}}},"operationId":"get_report_flights_resource","parameters":[{"in":"query","name":"start_date","type":"string","format":"date","description":"Start date in ISO (optional). Example: 2019-01-01","required":false},{"in":"query","name":"end_date","type":"string","format":"date","description":"End date in ISO (optional). Example: 2019-12-31","required":false},{"in":"query","name":"country_id","type":"integer","required":false},{"in":"query","name":"department","type":"string","required":false},{"in":"query","name":"invoice_profile_id","type":"integer","required":false},{"in":"query","name":"employee_id","type":"string","required":false},{"in":"query","name":"group_id","type":"integer","description":"Group ID to get data for. Don't pass value to get company data (regardless of groups); pass 0 for users not in groups","required":false},{"in":"query","name":"office","type":"string","required":false},{"in":"query","name":"cost_center","type":"string","required":false},{"in":"query","name":"trip_purpose","type":"string","required":false},{"in":"query","name":"accounting_unit","type":"string","required":false},{"in":"query","name":"action_code","type":"string","required":false},{"in":"query","name":"billable","type":"string","required":false},{"in":"query","name":"internal_account","type":"string","required":false},{"in":"query","name":"out_of_policy_reason","type":"string","required":false},{"in":"query","name":"project_code","type":"string","required":false},{"in":"query","name":"purchase_order_number","type":"string","required":false},{"in":"query","name":"custom_field_1","type":"string","required":false},{"in":"query","name":"custom_field_2","type":"string","required":false},{"in":"query","name":"custom_field_3","type":"string","required":false},{"in":"query","name":"trip_type","description":"Trip type: one_way/round_trip/multi_destination","type":"string","enum":["one_way","round_trip","multi_destination"],"required":false},{"in":"query","name":"flight_path","type":"string","required":false}],"security":[{"access_token":[]}],"tags":["admin"]},"options":{"responses":{"204":{"description":"Request fulfilled, nothing follows"}},"summary":"Check which methods are allowed","description":"Use this method if you need to know what operations are allowed to be\nperformed on this endpoint, e.g. to decide wether to display a button\nin your UI.\n\nThe list of allowed methods is provided in `Allow` response header.","operationId":"options_report_flights_resource","security":[{"access_token":[]}],"tags":["admin"]}},"/admin/reports/hotels":{"get":{"responses":{"200":{"description":"Request fulfilled, document follows","schema":{"type":"array","items":{"$ref":"#/definitions/DetailedHotelStatsForDetailsSchema"}}},"422":{"description":"Success","schema":{"$ref":"#/definitions/HTTPError422"}}},"operationId":"get_report_hotels_resource","parameters":[{"in":"query","name":"start_date","type":"string","format":"date","description":"Start date in ISO (optional). Example: 2019-01-01","required":false},{"in":"query","name":"end_date","type":"string","format":"date","description":"End date in ISO (optional). Example: 2019-12-31","required":false},{"in":"query","name":"country_id","type":"integer","required":false},{"in":"query","name":"department","type":"string","required":false},{"in":"query","name":"invoice_profile_id","type":"integer","required":false},{"in":"query","name":"employee_id","type":"string","required":false},{"in":"query","name":"group_id","type":"integer","description":"Group ID to get data for. Don't pass value to get company data (regardless of groups); pass 0 for users not in groups","required":false},{"in":"query","name":"office","type":"string","required":false},{"in":"query","name":"cost_center","type":"string","required":false},{"in":"query","name":"trip_purpose","type":"string","required":false},{"in":"query","name":"accounting_unit","type":"string","required":false},{"in":"query","name":"action_code","type":"string","required":false},{"in":"query","name":"billable","type":"string","required":false},{"in":"query","name":"internal_account","type":"string","required":false},{"in":"query","name":"out_of_policy_reason","type":"string","required":false},{"in":"query","name":"project_code","type":"string","required":false},{"in":"query","name":"purchase_order_number","type":"string","required":false},{"in":"query","name":"custom_field_1","type":"string","required":false},{"in":"query","name":"custom_field_2","type":"string","required":false},{"in":"query","name":"custom_field_3","type":"string","required":false},{"in":"query","name":"city_with_country","type":"string","required":false}],"security":[{"access_token":[]}],"tags":["admin"]},"options":{"responses":{"204":{"description":"Request fulfilled, nothing follows"}},"summary":"Check which methods are allowed","description":"Use this method if you need to know what operations are allowed to be\nperformed on this endpoint, e.g. to decide wether to display a button\nin your UI.\n\nThe list of allowed methods is provided in `Allow` response header.","operationId":"options_report_hotels_resource","security":[{"access_token":[]}],"tags":["admin"]}},"/admin/reports/meta":{"get":{"responses":{"200":{"description":"Request fulfilled, document follows","schema":{"$ref":"#/definitions/ReportMetaSchema"}}},"operationId":"get_report_meta_resource","security":[{"access_token":[]}],"tags":["admin"]},"options":{"responses":{"204":{"description":"Request fulfilled, nothing follows"}},"summary":"Check which methods are allowed","description":"Use this method if you need to know what operations are allowed to be\nperformed on this endpoint, e.g. to decide wether to display a button\nin your UI.\n\nThe list of allowed methods is provided in `Allow` response header.","operationId":"options_report_meta_resource","security":[{"access_token":[]}],"tags":["admin"]}},"/admin/reports/overview":{"get":{"responses":{"200":{"description":"Request fulfilled, document follows","schema":{"type":"array","items":{"$ref":"#/definitions/ReportSchema"}}},"422":{"description":"Success","schema":{"$ref":"#/definitions/HTTPError422"}}},"operationId":"get_report_overview_resource","parameters":[{"in":"query","name":"start_date","type":"string","format":"date","description":"Start date in ISO (optional). Example: 2019-01-01","required":false},{"in":"query","name":"end_date","type":"string","format":"date","description":"End date in ISO (optional). Example: 2019-12-31","required":false},{"in":"query","name":"country_id","type":"integer","required":false},{"in":"query","name":"department","type":"string","required":false},{"in":"query","name":"invoice_profile_id","type":"integer","required":false},{"in":"query","name":"employee_id","type":"string","required":false},{"in":"query","name":"group_id","type":"integer","description":"Group ID to get data for. Don't pass value to get company data (regardless of groups); pass 0 for users not in groups","required":false},{"in":"query","name":"office","type":"string","required":false},{"in":"query","name":"cost_center","type":"string","required":false},{"in":"query","name":"trip_purpose","type":"string","required":false},{"in":"query","name":"accounting_unit","type":"string","required":false},{"in":"query","name":"action_code","type":"string","required":false},{"in":"query","name":"billable","type":"string","required":false},{"in":"query","name":"internal_account","type":"string","required":false},{"in":"query","name":"out_of_policy_reason","type":"string","required":false},{"in":"query","name":"project_code","type":"string","required":false},{"in":"query","name":"purchase_order_number","type":"string","required":false},{"in":"query","name":"custom_field_1","type":"string","required":false},{"in":"query","name":"custom_field_2","type":"string","required":false},{"in":"query","name":"custom_field_3","type":"string","required":false},{"in":"query","name":"interval","type":"string","description":"Interval to aggregate results (optional): year/month/day","required":false}],"security":[{"access_token":[]}],"tags":["admin"]},"options":{"responses":{"204":{"description":"Request fulfilled, nothing follows"}},"summary":"Check which methods are allowed","description":"Use this method if you need to know what operations are allowed to be\nperformed on this endpoint, e.g. to decide wether to display a button\nin your UI.\n\nThe list of allowed methods is provided in `Allow` response header.","operationId":"options_report_overview_resource","security":[{"access_token":[]}],"tags":["admin"]}},"/admin/reports/rails":{"get":{"responses":{"200":{"description":"Request fulfilled, document follows","schema":{"type":"array","items":{"$ref":"#/definitions/DetailedRailStatsWithNestedSchema"}}},"422":{"description":"Success","schema":{"$ref":"#/definitions/HTTPError422"}}},"operationId":"get_report_rails_resource","parameters":[{"in":"query","name":"start_date","type":"string","format":"date","description":"Start date in ISO (optional). Example: 2019-01-01","required":false},{"in":"query","name":"end_date","type":"string","format":"date","description":"End date in ISO (optional). Example: 2019-12-31","required":false},{"in":"query","name":"country_id","type":"integer","required":false},{"in":"query","name":"department","type":"string","required":false},{"in":"query","name":"invoice_profile_id","type":"integer","required":false},{"in":"query","name":"employee_id","type":"string","required":false},{"in":"query","name":"group_id","type":"integer","description":"Group ID to get data for. Don't pass value to get company data (regardless of groups); pass 0 for users not in groups","required":false},{"in":"query","name":"office","type":"string","required":false},{"in":"query","name":"cost_center","type":"string","required":false},{"in":"query","name":"trip_purpose","type":"string","required":false},{"in":"query","name":"accounting_unit","type":"string","required":false},{"in":"query","name":"action_code","type":"string","required":false},{"in":"query","name":"billable","type":"string","required":false},{"in":"query","name":"internal_account","type":"string","required":false},{"in":"query","name":"out_of_policy_reason","type":"string","required":false},{"in":"query","name":"project_code","type":"string","required":false},{"in":"query","name":"purchase_order_number","type":"string","required":false},{"in":"query","name":"custom_field_1","type":"string","required":false},{"in":"query","name":"custom_field_2","type":"string","required":false},{"in":"query","name":"custom_field_3","type":"string","required":false},{"in":"query","name":"trip_type","description":"Trip type: one_way/round_trip/multi_destination","type":"string","enum":["one_way","round_trip","multi_destination"],"required":false},{"in":"query","name":"trip_path","type":"string","required":false}],"security":[{"access_token":[]}],"tags":["admin"]},"options":{"responses":{"204":{"description":"Request fulfilled, nothing follows"}},"summary":"Check which methods are allowed","description":"Use this method if you need to know what operations are allowed to be\nperformed on this endpoint, e.g. to decide wether to display a button\nin your UI.\n\nThe list of allowed methods is provided in `Allow` response header.","operationId":"options_report_rails_resource","security":[{"access_token":[]}],"tags":["admin"]}},"/admin/reports/travelers":{"get":{"responses":{"200":{"description":"Request fulfilled, document follows","schema":{"type":"array","items":{"$ref":"#/definitions/DetailedTravelerStatsPerUserSchema"}}},"422":{"description":"Success","schema":{"$ref":"#/definitions/HTTPError422"}}},"operationId":"get_report_travelers_resource","parameters":[{"in":"query","name":"start_date","type":"string","format":"date","description":"Start date in ISO (optional). Example: 2019-01-01","required":false},{"in":"query","name":"end_date","type":"string","format":"date","description":"End date in ISO (optional). Example: 2019-12-31","required":false},{"in":"query","name":"country_id","type":"integer","required":false},{"in":"query","name":"department","type":"string","required":false},{"in":"query","name":"invoice_profile_id","type":"integer","required":false},{"in":"query","name":"employee_id","type":"string","required":false},{"in":"query","name":"group_id","type":"integer","description":"Group ID to get data for. Don't pass value to get company data (regardless of groups); pass 0 for users not in groups","required":false},{"in":"query","name":"office","type":"string","required":false},{"in":"query","name":"cost_center","type":"string","required":false},{"in":"query","name":"trip_purpose","type":"string","required":false},{"in":"query","name":"accounting_unit","type":"string","required":false},{"in":"query","name":"action_code","type":"string","required":false},{"in":"query","name":"billable","type":"string","required":false},{"in":"query","name":"internal_account","type":"string","required":false},{"in":"query","name":"out_of_policy_reason","type":"string","required":false},{"in":"query","name":"project_code","type":"string","required":false},{"in":"query","name":"purchase_order_number","type":"string","required":false},{"in":"query","name":"custom_field_1","type":"string","required":false},{"in":"query","name":"custom_field_2","type":"string","required":false},{"in":"query","name":"custom_field_3","type":"string","required":false},{"in":"query","name":"user_id","type":"integer","required":false}],"security":[{"access_token":[]}],"tags":["admin"]},"options":{"responses":{"204":{"description":"Request fulfilled, nothing follows"}},"summary":"Check which methods are allowed","description":"Use this method if you need to know what operations are allowed to be\nperformed on this endpoint, e.g. to decide wether to display a button\nin your UI.\n\nThe list of allowed methods is provided in `Allow` response header.","operationId":"options_report_travelers_resource","security":[{"access_token":[]}],"tags":["admin"]}},"/admin/reports/unused_tickets":{"get":{"responses":{"200":{"description":"Request fulfilled, document follows","schema":{"$ref":"#/definitions/UnusedTicketReportSchema"}},"422":{"description":"Success","schema":{"$ref":"#/definitions/HTTPError422"}}},"operationId":"get_report_unused_tickets_resource","parameters":[{"in":"query","name":"start_date","type":"string","format":"date","description":"Start date in ISO (optional). Example: 2019-01-01","required":false},{"in":"query","name":"end_date","type":"string","format":"date","description":"End date in ISO (optional). Example: 2019-12-31","required":false},{"in":"query","name":"country_id","type":"integer","required":false},{"in":"query","name":"department","type":"string","required":false},{"in":"query","name":"invoice_profile_id","type":"integer","required":false},{"in":"query","name":"employee_id","type":"string","required":false}],"security":[{"access_token":[]}],"tags":["admin"]},"options":{"responses":{"204":{"description":"Request fulfilled, nothing follows"}},"summary":"Check which methods are allowed","description":"Use this method if you need to know what operations are allowed to be\nperformed on this endpoint, e.g. to decide wether to display a button\nin your UI.\n\nThe list of allowed methods is provided in `Allow` response header.","operationId":"options_report_unused_tickets_resource","security":[{"access_token":[]}],"tags":["admin"]}},"/admin/reports/unused_tickets/download":{"get":{"responses":{"422":{"description":"Success","schema":{"$ref":"#/definitions/HTTPError422"}}},"operationId":"get_download_report_unused_tickets_resource","parameters":[{"in":"query","name":"start_date","type":"string","format":"date","description":"Start date in ISO (optional). Example: 2019-01-01","required":false},{"in":"query","name":"end_date","type":"string","format":"date","description":"End date in ISO (optional). Example: 2019-12-31","required":false},{"in":"query","name":"country_id","type":"integer","required":false},{"in":"query","name":"department","type":"string","required":false},{"in":"query","name":"invoice_profile_id","type":"integer","required":false},{"in":"query","name":"employee_id","type":"string","required":false}],"security":[{"access_token":[]}],"tags":["admin"]},"options":{"responses":{"204":{"description":"Request fulfilled, nothing follows"}},"summary":"Check which methods are allowed","description":"Use this method if you need to know what operations are allowed to be\nperformed on this endpoint, e.g. to decide wether to display a button\nin your UI.\n\nThe list of allowed methods is provided in `Allow` response header.","operationId":"options_download_report_unused_tickets_resource","security":[{"access_token":[]}],"tags":["admin"]}},"/admin/reports/unused_tickets/download/{download_id}.xls":{"parameters":[{"name":"download_id","in":"path","required":true,"type":"string"}],"get":{"responses":{"200":{"description":"Success"}},"operationId":"get_download_report_unused_tickets_unsecured_resource","tags":["admin"]},"options":{"responses":{"204":{"description":"Request fulfilled, nothing follows"}},"summary":"Check which methods are allowed","description":"Use this method if you need to know what operations are allowed to be\nperformed on this endpoint, e.g. to decide wether to display a button\nin your UI.\n\nThe list of allowed methods is provided in `Allow` response header.","operationId":"options_download_report_unused_tickets_unsecured_resource","tags":["admin"]}},"/admin/reports/unused_tickets/overview":{"get":{"responses":{"200":{"description":"Request fulfilled, document follows","schema":{"$ref":"#/definitions/UnusedTicketsReportOverviewSchema"}},"422":{"description":"Success","schema":{"$ref":"#/definitions/HTTPError422"}}},"operationId":"get_unused_tickets_report_overview_resource","parameters":[{"in":"query","name":"start_date","type":"string","format":"date","description":"Start date in ISO (optional). Example: 2019-01-01","required":false},{"in":"query","name":"end_date","type":"string","format":"date","description":"End date in ISO (optional). Example: 2019-12-31","required":false},{"in":"query","name":"country_id","type":"integer","required":false},{"in":"query","name":"department","type":"string","required":false},{"in":"query","name":"invoice_profile_id","type":"integer","required":false},{"in":"query","name":"employee_id","type":"string","required":false}],"security":[{"access_token":[]}],"tags":["admin"]},"options":{"responses":{"204":{"description":"Request fulfilled, nothing follows"}},"summary":"Check which methods are allowed","description":"Use this method if you need to know what operations are allowed to be\nperformed on this endpoint, e.g. to decide wether to display a button\nin your UI.\n\nThe list of allowed methods is provided in `Allow` response header.","operationId":"options_unused_tickets_report_overview_resource","security":[{"access_token":[]}],"tags":["admin"]}},"/admin/users":{"get":{"responses":{"200":{"description":"Request fulfilled, document follows","schema":{"type":"array","items":{"$ref":"#/definitions/UserWithRoleSchema"}}},"422":{"description":"Success","schema":{"$ref":"#/definitions/HTTPError422"}}},"operationId":"get_admin_user_list","parameters":[{"in":"query","name":"show_all","type":"boolean","required":false},{"in":"query","name":"ids","type":"array","items":{"type":"integer"},"required":false,"collectionFormat":"multi"},{"in":"query","name":"exclude_deactivated","type":"boolean","required":false},{"in":"query","name":"group_id","type":"integer","required":false}],"security":[{"access_token":[]}],"tags":["admin"]},"options":{"responses":{"204":{"description":"Request fulfilled, nothing follows"}},"summary":"Check which methods are allowed","description":"Use this method if you need to know what operations are allowed to be\nperformed on this endpoint, e.g. to decide wether to display a button\nin your UI.\n\nThe list of allowed methods is provided in `Allow` response header.","operationId":"options_admin_user_list","security":[{"access_token":[]}],"tags":["admin"]},"post":{"responses":{"409":{"description":"Request conflict","schema":{"$ref":"#/definitions/HTTPError409"}},"403":{"description":"Request forbidden -- authorization will not help","schema":{"$ref":"#/definitions/HTTPError403"}},"200":{"description":"Request fulfilled, document follows","schema":{"$ref":"#/definitions/DetailedUserSchema"}},"422":{"description":"Success","schema":{"$ref":"#/definitions/HTTPError422"}}},"operationId":"create_user","parameters":[{"in":"body","required":true,"name":"body","schema":{"$ref":"#/definitions/AddUserParameters"}}],"security":[{"access_token":[]}],"tags":["admin"]}},"/admin/users/download":{"get":{"responses":{"200":{"description":"Success"}},"operationId":"get_download_users_resource","security":[{"access_token":[]}],"tags":["admin"]},"options":{"responses":{"204":{"description":"Request fulfilled, nothing follows"}},"summary":"Check which methods are allowed","description":"Use this method if you need to know what operations are allowed to be\nperformed on this endpoint, e.g. to decide wether to display a button\nin your UI.\n\nThe list of allowed methods is provided in `Allow` response header.","operationId":"options_download_users_resource","security":[{"access_token":[]}],"tags":["admin"]}},"/admin/users/download/{download_id}.xls":{"parameters":[{"name":"download_id","in":"path","required":true,"type":"string"}],"get":{"responses":{"200":{"description":"Success"}},"operationId":"get_download_users_unsecured_resource","tags":["admin"]},"options":{"responses":{"204":{"description":"Request fulfilled, nothing follows"}},"summary":"Check which methods are allowed","description":"Use this method if you need to know what operations are allowed to be\nperformed on this endpoint, e.g. to decide wether to display a button\nin your UI.\n\nThe list of allowed methods is provided in `Allow` response header.","operationId":"options_download_users_unsecured_resource","tags":["admin"]}},"/admin/users/search":{"get":{"responses":{"200":{"description":"Request fulfilled, document follows","schema":{"type":"array","items":{"$ref":"#/definitions/AdminUserSearchSchema"}}},"422":{"description":"Success","schema":{"$ref":"#/definitions/HTTPError422"}}},"operationId":"get_admin_user_list_search","parameters":[{"in":"query","name":"search","type":"string","required":false},{"in":"query","name":"managerial_statuses","type":"array","items":{"type":"string","enum":["employee","manager","executive"]},"required":false,"collectionFormat":"multi"},{"in":"query","name":"ids","type":"array","items":{"type":"integer"},"required":false,"collectionFormat":"multi"},{"in":"query","name":"group_id","type":"integer","required":false}],"security":[{"access_token":[]}],"tags":["admin"]},"options":{"responses":{"204":{"description":"Request fulfilled, nothing follows"}},"summary":"Check which methods are allowed","description":"Use this method if you need to know what operations are allowed to be\nperformed on this endpoint, e.g. to decide wether to display a button\nin your UI.\n\nThe list of allowed methods is provided in `Allow` response header.","operationId":"options_admin_user_list_search","security":[{"access_token":[]}],"tags":["admin"]}},"/airlines/":{"get":{"responses":{"200":{"description":"Request fulfilled, document follows","schema":{"type":"array","items":{"$ref":"#/definitions/BaseAirlineSchema"}}},"422":{"description":"Success","schema":{"$ref":"#/definitions/HTTPError422"}}},"operationId":"get_airline_list","parameters":[{"in":"query","name":"search","type":"string","required":false},{"in":"query","name":"limit","type":"integer","default":50,"required":false},{"in":"query","name":"offset","type":"integer","default":0,"required":false}],"security":[{"access_token":[]}],"tags":["airlines"]},"options":{"responses":{"204":{"description":"Request fulfilled, nothing follows"}},"summary":"Check which methods are allowed","description":"Use this method if you need to know what operations are allowed to be\nperformed on this endpoint, e.g. to decide wether to display a button\nin your UI.\n\nThe list of allowed methods is provided in `Allow` response header.","operationId":"options_airline_list","security":[{"access_token":[]}],"tags":["airlines"]}},"/airlines/{airline_id}":{"parameters":[{"name":"airline_id","in":"path","required":true,"type":"integer"}],"get":{"responses":{"404":{"description":"Airline not found.","schema":{"$ref":"#/definitions/HTTPError404"}},"200":{"description":"Request fulfilled, document follows","schema":{"$ref":"#/definitions/BaseAirlineSchema"}}},"operationId":"get_airline_resource","security":[{"access_token":[]}],"tags":["airlines"]},"options":{"responses":{"404":{"description":"Airline not found.","schema":{"$ref":"#/definitions/HTTPError404"}},"204":{"description":"Request fulfilled, nothing follows"}},"summary":"Check which methods are allowed","description":"Use this method if you need to know what operations are allowed to be\nperformed on this endpoint, e.g. to decide wether to display a button\nin your UI.\n\nThe list of allowed methods is provided in `Allow` response header.","operationId":"options_airline_resource","security":[{"access_token":[]}],"tags":["airlines"]}},"/airports/":{"get":{"responses":{"200":{"description":"Request fulfilled, document follows","schema":{"type":"array","items":{"$ref":"#/definitions/BaseAirportWithCountryNameSchema"}}},"422":{"description":"Success","schema":{"$ref":"#/definitions/HTTPError422"}}},"operationId":"get_airport_list","parameters":[{"in":"query","name":"search","type":"string","required":false}],"security":[{"access_token":[]}],"tags":["airports"]},"options":{"responses":{"204":{"description":"Request fulfilled, nothing follows"}},"summary":"Check which methods are allowed","description":"Use this method if you need to know what operations are allowed to be\nperformed on this endpoint, e.g. to decide wether to display a button\nin your UI.\n\nThe list of allowed methods is provided in `Allow` response header.","operationId":"options_airport_list","security":[{"access_token":[]}],"tags":["airports"]}},"/airports/{airport_id}":{"parameters":[{"name":"airport_id","in":"path","required":true,"type":"integer"}],"get":{"responses":{"404":{"description":"Airport not found.","schema":{"$ref":"#/definitions/HTTPError404"}},"200":{"description":"Request fulfilled, document follows","schema":{"$ref":"#/definitions/DetailedAirportSchema"}}},"operationId":"get_airport_resource","security":[{"access_token":[]}],"tags":["airports"]},"options":{"responses":{"404":{"description":"Airport not found.","schema":{"$ref":"#/definitions/HTTPError404"}},"204":{"description":"Request fulfilled, nothing follows"}},"summary":"Check which methods are allowed","description":"Use this method if you need to know what operations are allowed to be\nperformed on this endpoint, e.g. to decide wether to display a button\nin your UI.\n\nThe list of allowed methods is provided in `Allow` response header.","operationId":"options_airport_resource","security":[{"access_token":[]}],"tags":["airports"]}},"/alliances/":{"get":{"responses":{"200":{"description":"Request fulfilled, document follows","schema":{"type":"array","items":{"$ref":"#/definitions/BaseAllianceSchema"}}}},"operationId":"get_alliance_list","security":[{"access_token":[]}],"tags":["alliances"]},"options":{"responses":{"204":{"description":"Request fulfilled, nothing follows"}},"summary":"Check which methods are allowed","description":"Use this method if you need to know what operations are allowed to be\nperformed on this endpoint, e.g. to decide wether to display a button\nin your UI.\n\nThe list of allowed methods is provided in `Allow` response header.","operationId":"options_alliance_list","security":[{"access_token":[]}],"tags":["alliances"]}},"/alliances/{alliance_id}":{"parameters":[{"name":"alliance_id","in":"path","required":true,"type":"integer"}],"get":{"responses":{"404":{"description":"Alliance not found.","schema":{"$ref":"#/definitions/HTTPError404"}},"200":{"description":"Request fulfilled, document follows","schema":{"$ref":"#/definitions/DetailedAllianceSchema"}}},"operationId":"get_alliance_resource","security":[{"access_token":[]}],"tags":["alliances"]},"options":{"responses":{"404":{"description":"Alliance not found.","schema":{"$ref":"#/definitions/HTTPError404"}},"204":{"description":"Request fulfilled, nothing follows"}},"summary":"Check which methods are allowed","description":"Use this method if you need to know what operations are allowed to be\nperformed on this endpoint, e.g. to decide wether to display a button\nin your UI.\n\nThe list of allowed methods is provided in `Allow` response header.","operationId":"options_alliance_resource","security":[{"access_token":[]}],"tags":["alliances"]}},"/billing_files/hash":{"get":{"responses":{"422":{"description":"Success","schema":{"$ref":"#/definitions/HTTPError422"}}},"operationId":"get_get_billing_files_hash_resource","parameters":[{"in":"query","name":"invoice_number","type":"string","default":null,"x-nullable":true,"required":false},{"in":"query","name":"receipt_number","type":"string","default":null,"x-nullable":true,"required":false},{"in":"query","name":"trip_id","type":"integer","default":null,"x-nullable":true,"required":false}],"security":[{"access_token":[]}],"tags":["billing_files"]},"options":{"responses":{"204":{"description":"Request fulfilled, nothing follows"}},"summary":"Check which methods are allowed","description":"Use this method if you need to know what operations are allowed to be\nperformed on this endpoint, e.g. to decide wether to display a button\nin your UI.\n\nThe list of allowed methods is provided in `Allow` response header.","operationId":"options_get_billing_files_hash_resource","security":[{"access_token":[]}],"tags":["billing_files"]}},"/billing_files/{file_hash}":{"parameters":[{"name":"file_hash","in":"path","required":true,"type":"string"}],"get":{"responses":{"200":{"description":"Success"}},"operationId":"get_get_invoice_file_by_hash_resource","tags":["billing_files"]},"options":{"responses":{"204":{"description":"Request fulfilled, nothing follows"}},"summary":"Check which methods are allowed","description":"Use this method if you need to know what operations are allowed to be\nperformed on this endpoint, e.g. to decide wether to display a button\nin your UI.\n\nThe list of allowed methods is provided in `Allow` response header.","operationId":"options_get_invoice_file_by_hash_resource","tags":["billing_files"]}},"/car_rewards/company_car_reward":{"get":{"responses":{"200":{"description":"Request fulfilled, document follows","schema":{"type":"array","items":{"$ref":"#/definitions/CompanyCarRewardProgramSchema"}}}},"operationId":"get_company_car_reward_program_list","security":[{"access_token":[]}],"tags":["car_rewards"]},"options":{"responses":{"204":{"description":"Request fulfilled, nothing follows"}},"summary":"Check which methods are allowed","description":"Use this method if you need to know what operations are allowed to be\nperformed on this endpoint, e.g. to decide wether to display a button\nin your UI.\n\nThe list of allowed methods is provided in `Allow` response header.","operationId":"options_company_car_reward_program_list","security":[{"access_token":[]}],"tags":["car_rewards"]},"post":{"responses":{"200":{"description":"Request fulfilled, document follows","schema":{"$ref":"#/definitions/CompanyCarRewardProgramSchema"}},"422":{"description":"Success","schema":{"$ref":"#/definitions/HTTPError422"}}},"operationId":"post_company_car_reward_program_list","parameters":[{"in":"body","required":true,"name":"body","schema":{"$ref":"#/definitions/CreateCompanyCarRewardProgram"}}],"security":[{"access_token":[]}],"tags":["car_rewards"]}},"/car_rewards/company_car_reward/{company_car_reward_id}":{"parameters":[{"name":"company_car_reward_id","in":"path","required":true,"type":"integer"}],"put":{"responses":{"200":{"description":"Request fulfilled, document follows","schema":{"$ref":"#/definitions/CompanyCarRewardProgramSchema"}},"422":{"description":"Success","schema":{"$ref":"#/definitions/HTTPError422"}}},"operationId":"put_company_car_reward_program","parameters":[{"in":"body","required":true,"name":"body","schema":{"$ref":"#/definitions/CompanyCarRewardProgramBase"}}],"security":[{"access_token":[]}],"tags":["car_rewards"]},"delete":{"responses":{"400":{"description":"Company CarReward doesn't exist","schema":{"$ref":"#/definitions/HTTPError400"}},"202":{"description":"Company CarReward was deleted"}},"operationId":"delete_company_car_reward_program","security":[{"access_token":[]}],"tags":["car_rewards"]},"options":{"responses":{"204":{"description":"Request fulfilled, nothing follows"}},"summary":"Check which methods are allowed","description":"Use this method if you need to know what operations are allowed to be\nperformed on this endpoint, e.g. to decide wether to display a button\nin your UI.\n\nThe list of allowed methods is provided in `Allow` response header.","operationId":"options_company_car_reward_program","security":[{"access_token":[]}],"tags":["car_rewards"]}},"/cars/city":{"options":{"responses":{"204":{"description":"Request fulfilled, nothing follows"}},"summary":"Check which methods are allowed","description":"Use this method if you need to know what operations are allowed to be\nperformed on this endpoint, e.g. to decide wether to display a button\nin your UI.\n\nThe list of allowed methods is provided in `Allow` response header.","operationId":"options_city_create_resource","security":[{"access_token":[]}],"tags":["cars"]},"post":{"responses":{"200":{"description":"Request fulfilled, document follows","schema":{"$ref":"#/definitions/CityResponseSchema"}},"422":{"description":"Success","schema":{"$ref":"#/definitions/HTTPError422"}}},"operationId":"post_city_create_resource","parameters":[{"in":"body","required":true,"name":"body","schema":{"$ref":"#/definitions/CityCreateParameters"}}],"security":[{"access_token":[]}],"tags":["cars"]}},"/cars/get_rate":{"options":{"responses":{"204":{"description":"Request fulfilled, nothing follows"}},"summary":"Check which methods are allowed","description":"Use this method if you need to know what operations are allowed to be\nperformed on this endpoint, e.g. to decide wether to display a button\nin your UI.\n\nThe list of allowed methods is provided in `Allow` response header.","operationId":"options_car_rate_resource","security":[{"access_token":[]}],"tags":["cars"]},"post":{"responses":{"204":{"description":"Request fulfilled, nothing follows"},"200":{"description":"Request fulfilled, document follows","schema":{"$ref":"#/definitions/GetCarRateSchema"}},"422":{"description":"Success","schema":{"$ref":"#/definitions/HTTPError422"}}},"operationId":"post_car_rate_resource","parameters":[{"in":"body","required":true,"name":"body","schema":{"$ref":"#/definitions/GetCarRateParameters"}}],"security":[{"access_token":[]}],"tags":["cars"]}},"/cars/search_city":{"get":{"responses":{"200":{"description":"Request fulfilled, document follows","schema":{"type":"array","items":{"$ref":"#/definitions/CarSearchResultSchema"}}},"422":{"description":"Success","schema":{"$ref":"#/definitions/HTTPError422"}}},"operationId":"get_car_city_search","parameters":[{"in":"query","name":"search","type":"string","required":false}],"security":[{"access_token":[]}],"tags":["cars"]},"options":{"responses":{"204":{"description":"Request fulfilled, nothing follows"}},"summary":"Check which methods are allowed","description":"Use this method if you need to know what operations are allowed to be\nperformed on this endpoint, e.g. to decide wether to display a button\nin your UI.\n\nThe list of allowed methods is provided in `Allow` response header.","operationId":"options_car_city_search","security":[{"access_token":[]}],"tags":["cars"]}},"/companies/":{"get":{"responses":{"404":{"description":"Company not found.","schema":{"$ref":"#/definitions/HTTPError404"}},"200":{"description":"Request fulfilled, document follows","schema":{"$ref":"#/definitions/DetailedCompanySchema"}}},"operationId":"get_company_list","security":[{"access_token":[]}],"tags":["companies"]},"put":{"responses":{"404":{"description":"Company not found.","schema":{"$ref":"#/definitions/HTTPError404"}},"200":{"description":"Request fulfilled, document follows","schema":{"$ref":"#/definitions/DetailedCompanySchema"}},"422":{"description":"Success","schema":{"$ref":"#/definitions/HTTPError422"}}},"summary":"Note that not all Company fields are exposed to be edited (i","description":"e. not updatable). For example,\nBMIS number of the Company can only be saved/updated via the URL endpoint POST /companies/bmis.\n\nYou can see the full list of what fields you can update at the homepage Swagger.","operationId":"put_company_list","parameters":[{"in":"body","required":true,"name":"body","schema":{"$ref":"#/definitions/UpdateCompanyParameters"}}],"security":[{"access_token":[]}],"tags":["companies"]},"options":{"responses":{"204":{"description":"Request fulfilled, nothing follows"}},"summary":"Check which methods are allowed","description":"Use this method if you need to know what operations are allowed to be\nperformed on this endpoint, e.g. to decide wether to display a button\nin your UI.\n\nThe list of allowed methods is provided in `Allow` response header.","operationId":"options_company_list","security":[{"access_token":[]}],"tags":["companies"]}},"/companies/accept_terms_of_services":{"options":{"responses":{"204":{"description":"Request fulfilled, nothing follows"}},"summary":"Check which methods are allowed","description":"Use this method if you need to know what operations are allowed to be\nperformed on this endpoint, e.g. to decide wether to display a button\nin your UI.\n\nThe list of allowed methods is provided in `Allow` response header.","operationId":"options_accept_terms_of_services_during_onboarding_resource","security":[{"access_token":[]}],"tags":["companies"]},"post":{"responses":{"404":{"description":"Company not found.","schema":{"$ref":"#/definitions/HTTPError404"}},"202":{"description":"Request accepted, processing continues off-line","schema":{"$ref":"#/definitions/DetailedCompanySchema"}},"200":{"description":"Request fulfilled, document follows","schema":{"$ref":"#/definitions/DetailedCompanySchema"}}},"summary":"This endpoint is called when an authorized person accepts tos and clicks the button \"Confirm\"","description":"at the final step of onboarding. After this, company becomes \"active\".","operationId":"post_accept_terms_of_services_during_onboarding_resource","security":[{"access_token":[]}],"tags":["companies"]}},"/companies/bmis":{"delete":{"responses":{"404":{"description":"Company not found.","schema":{"$ref":"#/definitions/HTTPError404"}},"202":{"description":"Request accepted, processing continues off-line"}},"operationId":"delete_bmis_resource","security":[{"access_token":[]}],"tags":["companies"]},"options":{"responses":{"404":{"description":"Company not found.","schema":{"$ref":"#/definitions/HTTPError404"}},"204":{"description":"Request fulfilled, nothing follows"}},"summary":"Check which methods are allowed","description":"Use this method if you need to know what operations are allowed to be\nperformed on this endpoint, e.g. to decide wether to display a button\nin your UI.\n\nThe list of allowed methods is provided in `Allow` response header.","operationId":"options_bmis_resource","security":[{"access_token":[]}],"tags":["companies"]},"post":{"responses":{"404":{"description":"Company not found.","schema":{"$ref":"#/definitions/HTTPError404"}},"400":{"description":"Bad request syntax or unsupported method","schema":{"$ref":"#/definitions/HTTPError400"}},"200":{"description":"Request fulfilled, document follows","schema":{"$ref":"#/definitions/DetailedCompanySchema"}},"422":{"description":"Success","schema":{"$ref":"#/definitions/HTTPError422"}}},"summary":"A URL endpoint that is used to create or update Deutsche Bahn discount card","description":"Presumably, user calls this request after POST /bmis/validate.","operationId":"post_bmis_resource","parameters":[{"in":"body","required":true,"name":"body","schema":{"$ref":"#/definitions/BMISFieldParameter"}}],"security":[{"access_token":[]}],"tags":["companies"]}},"/companies/country_active_pos":{"get":{"responses":{"200":{"description":"Request fulfilled, document follows","schema":{"$ref":"#/definitions/CountryPosSchema"}}},"operationId":"get_company_active_pos_resource","security":[{"access_token":[]}],"tags":["companies"]},"options":{"responses":{"204":{"description":"Request fulfilled, nothing follows"}},"summary":"Check which methods are allowed","description":"Use this method if you need to know what operations are allowed to be\nperformed on this endpoint, e.g. to decide wether to display a button\nin your UI.\n\nThe list of allowed methods is provided in `Allow` response header.","operationId":"options_company_active_pos_resource","security":[{"access_token":[]}],"tags":["companies"]}},"/companies/create":{"options":{"responses":{"204":{"description":"Request fulfilled, nothing follows"}},"summary":"Check which methods are allowed","description":"Use this method if you need to know what operations are allowed to be\nperformed on this endpoint, e.g. to decide wether to display a button\nin your UI.\n\nThe list of allowed methods is provided in `Allow` response header.","operationId":"options_company_create_during_onboarding_resource","security":[{"access_token":[]}],"tags":["companies"]},"post":{"responses":{"404":{"description":"Company not found.","schema":{"$ref":"#/definitions/HTTPError404"}},"201":{"description":"Document created, URL follows","schema":{"$ref":"#/definitions/DetailedCompanySchema"}}},"summary":"This endpoint is called when a contact person clicks the button \"Create Company\" on","description":"step 3 of onboarding.","operationId":"post_company_create_during_onboarding_resource","security":[{"access_token":[]}],"tags":["companies"]}},"/companies/customer_success_consultant":{"get":{"responses":{"200":{"description":"Request fulfilled, document follows","schema":{"$ref":"#/definitions/DetailedCustomerSuccessConsultantSchema"}}},"operationId":"get_company_customer_success_consultant_resource","security":[{"access_token":[]}],"tags":["companies"]},"options":{"responses":{"204":{"description":"Request fulfilled, nothing follows"}},"summary":"Check which methods are allowed","description":"Use this method if you need to know what operations are allowed to be\nperformed on this endpoint, e.g. to decide wether to display a button\nin your UI.\n\nThe list of allowed methods is provided in `Allow` response header.","operationId":"options_company_customer_success_consultant_resource","security":[{"access_token":[]}],"tags":["companies"]}},"/companies/downgrade_counts":{"options":{"responses":{"204":{"description":"Request fulfilled, nothing follows"}},"summary":"Check which methods are allowed","description":"Use this method if you need to know what operations are allowed to be\nperformed on this endpoint, e.g. to decide wether to display a button\nin your UI.\n\nThe list of allowed methods is provided in `Allow` response header.","operationId":"options_downgrade_counts_resource","security":[{"access_token":[]}],"tags":["companies"]},"post":{"responses":{"200":{"description":"Request fulfilled, document follows","schema":{"$ref":"#/definitions/DowngradeCountsStatusSchema"}},"422":{"description":"Success","schema":{"$ref":"#/definitions/HTTPError422"}}},"operationId":"post_downgrade_counts_resource","parameters":[{"in":"body","required":true,"name":"body","schema":{"$ref":"#/definitions/DowngradeCountsInput"}}],"security":[{"access_token":[]}],"tags":["companies"]}},"/companies/feature_flags":{"get":{"responses":{"404":{"description":"Company not found.","schema":{"$ref":"#/definitions/HTTPError404"}},"200":{"description":"Request fulfilled, document follows","schema":{"$ref":"#/definitions/CompanyFeatureFlagSchema"}}},"operationId":"get_company_feature_flags_resource","security":[{"access_token":[]}],"tags":["companies"]},"put":{"responses":{"404":{"description":"Company not found.","schema":{"$ref":"#/definitions/HTTPError404"}},"200":{"description":"Request fulfilled, document follows","schema":{"$ref":"#/definitions/CompanyFeatureFlagSchema"}},"422":{"description":"Success","schema":{"$ref":"#/definitions/HTTPError422"}}},"operationId":"put_company_feature_flags_resource","parameters":[{"in":"body","required":true,"name":"body","schema":{"$ref":"#/definitions/CompanyFeatureFlagParameters"}}],"security":[{"access_token":[]}],"tags":["companies"]},"options":{"responses":{"204":{"description":"Request fulfilled, nothing follows"}},"summary":"Check which methods are allowed","description":"Use this method if you need to know what operations are allowed to be\nperformed on this endpoint, e.g. to decide wether to display a button\nin your UI.\n\nThe list of allowed methods is provided in `Allow` response header.","operationId":"options_company_feature_flags_resource","security":[{"access_token":[]}],"tags":["companies"]}},"/companies/fees/{fee_id}":{"parameters":[{"name":"fee_id","in":"path","required":true,"type":"integer"}],"get":{"responses":{"200":{"description":"Request fulfilled, document follows","schema":{"$ref":"#/definitions/CompanyFeeResponseDetailedSchema"}}},"operationId":"get_company_fee_details_resource","security":[{"access_token":[]}],"tags":["companies"]},"options":{"responses":{"204":{"description":"Request fulfilled, nothing follows"}},"summary":"Check which methods are allowed","description":"Use this method if you need to know what operations are allowed to be\nperformed on this endpoint, e.g. to decide wether to display a button\nin your UI.\n\nThe list of allowed methods is provided in `Allow` response header.","operationId":"options_company_fee_details_resource","security":[{"access_token":[]}],"tags":["companies"]}},"/companies/fees/{fee_id}/refund":{"parameters":[{"name":"fee_id","in":"path","required":true,"type":"integer"}],"options":{"responses":{"204":{"description":"Request fulfilled, nothing follows"}},"summary":"Check which methods are allowed","description":"Use this method if you need to know what operations are allowed to be\nperformed on this endpoint, e.g. to decide wether to display a button\nin your UI.\n\nThe list of allowed methods is provided in `Allow` response header.","operationId":"options_fee_refund_resource","security":[{"access_token":[]}],"tags":["companies"]},"post":{"responses":{"200":{"description":"Request fulfilled, document follows","schema":{"$ref":"#/definitions/CompanyFeeResponseDetailedSchema"}},"422":{"description":"Success","schema":{"$ref":"#/definitions/HTTPError422"}}},"operationId":"post_fee_refund_resource","parameters":[{"in":"body","required":true,"name":"body","schema":{"$ref":"#/definitions/CompanyFeeRefundParameters"}}],"security":[{"access_token":[]}],"tags":["companies"]}},"/companies/invoice_profiles":{"get":{"responses":{"404":{"description":"Company not found","schema":{"$ref":"#/definitions/HTTPError404"}},"400":{"description":"Bad request syntax or unsupported method","schema":{"$ref":"#/definitions/HTTPError400"}},"200":{"description":"Return all company invoice profiles for current user","schema":{"type":"array","items":{"$ref":"#/definitions/InvoiceProfileResponseSchema"}}},"422":{"description":"Success","schema":{"$ref":"#/definitions/HTTPError422"}}},"operationId":"get_invoice_profiles_list","parameters":[{"in":"query","name":"authorized_person_only","type":"boolean","default":false,"x-nullable":true,"required":false},{"in":"query","name":"country_code","type":"string","required":false}],"security":[{"access_token":[]}],"tags":["companies"]},"options":{"responses":{"404":{"description":"Company not found","schema":{"$ref":"#/definitions/HTTPError404"}},"204":{"description":"Request fulfilled, nothing follows"}},"summary":"Check which methods are allowed","description":"Use this method if you need to know what operations are allowed to be\nperformed on this endpoint, e.g. to decide wether to display a button\nin your UI.\n\nThe list of allowed methods is provided in `Allow` response header.","operationId":"options_invoice_profiles_list","security":[{"access_token":[]}],"tags":["companies"]},"post":{"responses":{"404":{"description":"Company not found","schema":{"$ref":"#/definitions/HTTPError404"}},"200":{"description":"Request fulfilled, document follows","schema":{"$ref":"#/definitions/InvoiceProfileResponseSchema"}},"400":{"description":"Bad request syntax or unsupported method","schema":{"$ref":"#/definitions/HTTPError400"}},"422":{"description":"Success","schema":{"$ref":"#/definitions/HTTPError422"}}},"summary":"Note that schema is set with `partial=True` so that InvoiceProfile can be created","description":"with empty request body. That is needed to that user can add credit cards to the\ninvoice profile, without filling up all of its mandatory fields.","operationId":"post_invoice_profiles_list","parameters":[{"in":"body","required":true,"name":"body","schema":{"$ref":"#/definitions/AddInvoiceProfile"}}],"security":[{"access_token":[]}],"tags":["companies"]}},"/companies/invoice_profiles/{invoice_profile_id}":{"parameters":[{"name":"invoice_profile_id","in":"path","required":true,"type":"integer"}],"get":{"responses":{"200":{"description":"Request fulfilled, document follows","schema":{"$ref":"#/definitions/InvoiceProfileResponseSchema"}}},"operationId":"get_invoice_profile_resource","security":[{"access_token":[]}],"tags":["companies"]},"put":{"responses":{"200":{"description":"Request fulfilled, document follows","schema":{"$ref":"#/definitions/InvoiceProfileResponseSchema"}},"422":{"description":"Success","schema":{"$ref":"#/definitions/HTTPError422"}}},"summary":"To even simply update a single field, all mandatory fields need to be passed; hence","description":"`partial=True` is NOT set.","operationId":"put_invoice_profile_resource","parameters":[{"in":"body","required":true,"name":"body","schema":{"$ref":"#/definitions/AddInvoiceProfile"}}],"security":[{"access_token":[]}],"tags":["companies"]},"delete":{"responses":{"202":{"description":"Request accepted, processing continues off-line"}},"operationId":"delete_invoice_profile_resource","security":[{"access_token":[]}],"tags":["companies"]},"options":{"responses":{"204":{"description":"Request fulfilled, nothing follows"}},"summary":"Check which methods are allowed","description":"Use this method if you need to know what operations are allowed to be\nperformed on this endpoint, e.g. to decide wether to display a button\nin your UI.\n\nThe list of allowed methods is provided in `Allow` response header.","operationId":"options_invoice_profile_resource","security":[{"access_token":[]}],"tags":["companies"]}},"/companies/invoice_profiles/{invoice_profile_id}/activate":{"parameters":[{"name":"invoice_profile_id","in":"path","required":true,"type":"integer"}],"put":{"responses":{"200":{"description":"Request fulfilled, document follows","schema":{"$ref":"#/definitions/InvoiceProfileResponseSchema"}},"404":{"description":"Nothing matches the given URI","schema":{"$ref":"#/definitions/HTTPError404"}}},"operationId":"put_activate_invoice_profile_resource","security":[{"access_token":[]}],"tags":["companies"]},"options":{"responses":{"204":{"description":"Request fulfilled, nothing follows"}},"summary":"Check which methods are allowed","description":"Use this method if you need to know what operations are allowed to be\nperformed on this endpoint, e.g. to decide wether to display a button\nin your UI.\n\nThe list of allowed methods is provided in `Allow` response header.","operationId":"options_activate_invoice_profile_resource","security":[{"access_token":[]}],"tags":["companies"]}},"/companies/invoice_profiles/{invoice_profile_id}/confirm":{"parameters":[{"name":"invoice_profile_id","in":"path","required":true,"type":"integer"}],"put":{"responses":{"200":{"description":"Request fulfilled, document follows","schema":{"$ref":"#/definitions/InvoiceProfileResponseSchema"}},"404":{"description":"Nothing matches the given URI","schema":{"$ref":"#/definitions/HTTPError404"}}},"operationId":"put_confirm_invoice_profile_resource","security":[{"access_token":[]}],"tags":["companies"]},"options":{"responses":{"204":{"description":"Request fulfilled, nothing follows"}},"summary":"Check which methods are allowed","description":"Use this method if you need to know what operations are allowed to be\nperformed on this endpoint, e.g. to decide wether to display a button\nin your UI.\n\nThe list of allowed methods is provided in `Allow` response header.","operationId":"options_confirm_invoice_profile_resource","security":[{"access_token":[]}],"tags":["companies"]}},"/companies/package":{"put":{"responses":{"422":{"description":"Success","schema":{"$ref":"#/definitions/HTTPError422"}},"202":{"description":"Request accepted, processing continues off-line"}},"operationId":"put_company_package_resource","parameters":[{"in":"body","required":true,"name":"body","schema":{"$ref":"#/definitions/UpdateCompanyPackageParameters"}}],"security":[{"access_token":[]}],"tags":["companies"]},"options":{"responses":{"204":{"description":"Request fulfilled, nothing follows"}},"summary":"Check which methods are allowed","description":"Use this method if you need to know what operations are allowed to be\nperformed on this endpoint, e.g. to decide wether to display a button\nin your UI.\n\nThe list of allowed methods is provided in `Allow` response header.","operationId":"options_company_package_resource","security":[{"access_token":[]}],"tags":["companies"]}},"/companies/package_downgrade_status":{"options":{"responses":{"204":{"description":"Request fulfilled, nothing follows"}},"summary":"Check which methods are allowed","description":"Use this method if you need to know what operations are allowed to be\nperformed on this endpoint, e.g. to decide wether to display a button\nin your UI.\n\nThe list of allowed methods is provided in `Allow` response header.","operationId":"options_package_downgrade_status_resource","security":[{"access_token":[]}],"tags":["companies"]},"post":{"responses":{"200":{"description":"Request fulfilled, document follows","schema":{"type":"array","items":{"$ref":"#/definitions/PackageDowngradeStatusSchema"}}},"422":{"description":"Success","schema":{"$ref":"#/definitions/HTTPError422"}}},"operationId":"post_package_downgrade_status_resource","parameters":[{"in":"body","required":true,"name":"body","schema":{"$ref":"#/definitions/PackageDowngradeStatusInput"}}],"security":[{"access_token":[]}],"tags":["companies"]}},"/companies/package_usage_details":{"get":{"responses":{"200":{"description":"Request fulfilled, document follows","schema":{"type":"array","items":{"$ref":"#/definitions/PackageUsageDetailsResponseSchema"}}}},"operationId":"get_package_usage_details","security":[{"access_token":[]}],"tags":["companies"]},"options":{"responses":{"204":{"description":"Request fulfilled, nothing follows"}},"summary":"Check which methods are allowed","description":"Use this method if you need to know what operations are allowed to be\nperformed on this endpoint, e.g. to decide wether to display a button\nin your UI.\n\nThe list of allowed methods is provided in `Allow` response header.","operationId":"options_package_usage_details","security":[{"access_token":[]}],"tags":["companies"]}},"/companies/package_usage_details/report":{"get":{"responses":{"200":{"description":"Request fulfilled, document follows","schema":{"type":"array","items":{"$ref":"#/definitions/PackageUsageDetailsReportResponseSchema"}}}},"operationId":"get_package_usage_details_report","security":[{"access_token":[]}],"tags":["companies"]},"options":{"responses":{"204":{"description":"Request fulfilled, nothing follows"}},"summary":"Check which methods are allowed","description":"Use this method if you need to know what operations are allowed to be\nperformed on this endpoint, e.g. to decide wether to display a button\nin your UI.\n\nThe list of allowed methods is provided in `Allow` response header.","operationId":"options_package_usage_details_report","security":[{"access_token":[]}],"tags":["companies"]}},"/companies/payment_info":{"get":{"responses":{"404":{"description":"Company not found","schema":{"$ref":"#/definitions/HTTPError404"}},"400":{"description":"Bad request syntax or unsupported method","schema":{"$ref":"#/definitions/HTTPError400"}},"200":{"description":"Return all active payment info for user's company","schema":{"type":"array","items":{"$ref":"#/definitions/PaymentInfoSchema"}}}},"operationId":"get_payment_info_list","security":[{"access_token":[]}],"tags":["companies"]},"put":{"responses":{"404":{"description":"Company not found","schema":{"$ref":"#/definitions/HTTPError404"}},"200":{"description":"Change package. Used on billing page.","schema":{"type":"array","items":{"$ref":"#/definitions/PaymentInfoSchema"}}},"422":{"description":"Success","schema":{"$ref":"#/definitions/HTTPError422"}}},"operationId":"put_payment_info_list","parameters":[{"in":"body","required":true,"name":"body","schema":{"$ref":"#/definitions/SelectedPackages"}}],"security":[{"access_token":[]}],"tags":["companies"]},"options":{"responses":{"404":{"description":"Company not found","schema":{"$ref":"#/definitions/HTTPError404"}},"204":{"description":"Request fulfilled, nothing follows"}},"summary":"Check which methods are allowed","description":"Use this method if you need to know what operations are allowed to be\nperformed on this endpoint, e.g. to decide wether to display a button\nin your UI.\n\nThe list of allowed methods is provided in `Allow` response header.","operationId":"options_payment_info_list","security":[{"access_token":[]}],"tags":["companies"]},"post":{"responses":{"404":{"description":"Company not found","schema":{"$ref":"#/definitions/HTTPError404"}},"200":{"description":"Create new payment info for company. Used on onboarding after user selects a package.","schema":{"type":"array","items":{"$ref":"#/definitions/PaymentInfoSchema"}}},"422":{"description":"Success","schema":{"$ref":"#/definitions/HTTPError422"}}},"operationId":"post_payment_info_list","parameters":[{"in":"body","required":true,"name":"body","schema":{"$ref":"#/definitions/SelectedPackages"}}],"security":[{"access_token":[]}],"tags":["companies"]}},"/companies/payment_info/cancel_next_package":{"options":{"responses":{"204":{"description":"Request fulfilled, nothing follows"}},"summary":"Check which methods are allowed","description":"Use this method if you need to know what operations are allowed to be\nperformed on this endpoint, e.g. to decide wether to display a button\nin your UI.\n\nThe list of allowed methods is provided in `Allow` response header.","operationId":"options_payment_info_cancel_next_package_resource","security":[{"access_token":[]}],"tags":["companies"]},"post":{"responses":{"422":{"description":"Success","schema":{"$ref":"#/definitions/HTTPError422"}}},"operationId":"post_payment_info_cancel_next_package_resource","parameters":[{"in":"body","required":true,"name":"body","schema":{"$ref":"#/definitions/PaymentInfoCancelNextPackage"}}],"security":[{"access_token":[]}],"tags":["companies"]}},"/companies/payment_info/{payment_info_id}":{"parameters":[{"name":"payment_info_id","in":"path","required":true,"type":"integer"}],"get":{"responses":{"200":{"description":"Request fulfilled, document follows","schema":{"$ref":"#/definitions/PaymentInfoSchema"}}},"operationId":"get_payment_info_resource","security":[{"access_token":[]}],"tags":["companies"]},"put":{"responses":{"200":{"description":"Request fulfilled, document follows","schema":{"$ref":"#/definitions/PaymentInfoSchema"}},"422":{"description":"Success","schema":{"$ref":"#/definitions/HTTPError422"}}},"operationId":"put_payment_info_resource","parameters":[{"in":"body","required":true,"name":"body","schema":{"$ref":"#/definitions/SelectedPricingModel"}}],"security":[{"access_token":[]}],"tags":["companies"]},"options":{"responses":{"204":{"description":"Request fulfilled, nothing follows"}},"summary":"Check which methods are allowed","description":"Use this method if you need to know what operations are allowed to be\nperformed on this endpoint, e.g. to decide wether to display a button\nin your UI.\n\nThe list of allowed methods is provided in `Allow` response header.","operationId":"options_payment_info_resource","security":[{"access_token":[]}],"tags":["companies"]}},"/companies/preferences":{"put":{"responses":{"422":{"description":"Success","schema":{"$ref":"#/definitions/HTTPError422"}},"200":{"description":"Request fulfilled, document follows","schema":{"$ref":"#/definitions/CompanyPreferencesSchema"}}},"operationId":"put_company_preferences_resource","parameters":[{"in":"body","required":true,"name":"body","schema":{"$ref":"#/definitions/UpdateCompanyPreferencesParameters"}}],"security":[{"access_token":[]}],"tags":["companies"]},"options":{"responses":{"204":{"description":"Request fulfilled, nothing follows"}},"summary":"Check which methods are allowed","description":"Use this method if you need to know what operations are allowed to be\nperformed on this endpoint, e.g. to decide wether to display a button\nin your UI.\n\nThe list of allowed methods is provided in `Allow` response header.","operationId":"options_company_preferences_resource","security":[{"access_token":[]}],"tags":["companies"]}},"/companies/unpaid_fees":{"get":{"responses":{"200":{"description":"Request fulfilled, document follows","schema":{"$ref":"#/definitions/UnpaidCompanyFeesResponseSchema"}},"422":{"description":"Success","schema":{"$ref":"#/definitions/HTTPError422"}}},"operationId":"get_unpaid_company_fees","parameters":[{"in":"query","name":"country_pos","type":"integer","required":true}],"security":[{"access_token":[]}],"tags":["companies"]},"options":{"responses":{"204":{"description":"Request fulfilled, nothing follows"}},"summary":"Check which methods are allowed","description":"Use this method if you need to know what operations are allowed to be\nperformed on this endpoint, e.g. to decide wether to display a button\nin your UI.\n\nThe list of allowed methods is provided in `Allow` response header.","operationId":"options_unpaid_company_fees","security":[{"access_token":[]}],"tags":["companies"]}},"/companies/user_fee_usage_details/{active_user_fee_id}":{"parameters":[{"name":"active_user_fee_id","in":"path","required":true,"type":"integer"}],"get":{"responses":{"200":{"description":"Request fulfilled, document follows","schema":{"type":"array","items":{"$ref":"#/definitions/ActiveUserFeeUsageDetailsResponseSchema"}}}},"operationId":"get_active_user_fee_usage_details","security":[{"access_token":[]}],"tags":["companies"]},"options":{"responses":{"204":{"description":"Request fulfilled, nothing follows"}},"summary":"Check which methods are allowed","description":"Use this method if you need to know what operations are allowed to be\nperformed on this endpoint, e.g. to decide wether to display a button\nin your UI.\n\nThe list of allowed methods is provided in `Allow` response header.","operationId":"options_active_user_fee_usage_details","security":[{"access_token":[]}],"tags":["companies"]}},"/companies/{company_id}":{"parameters":[{"name":"company_id","in":"path","required":true,"type":"integer"}],"delete":{"responses":{"404":{"description":"Company not found.","schema":{"$ref":"#/definitions/HTTPError404"}},"204":{"description":"Company was deleted."}},"summary":"This endpoint was created to clean up the database and delete users in Auth0 after","description":"running autotests.\n\nIt is supposed to be used only in a test environment.","operationId":"delete_company_resource","security":[{"access_token":[]}],"tags":["companies"]},"options":{"responses":{"204":{"description":"Request fulfilled, nothing follows"}},"summary":"Check which methods are allowed","description":"Use this method if you need to know what operations are allowed to be\nperformed on this endpoint, e.g. to decide wether to display a button\nin your UI.\n\nThe list of allowed methods is provided in `Allow` response header.","operationId":"options_company_resource","security":[{"access_token":[]}],"tags":["companies"]}},"/countries/":{"get":{"responses":{"200":{"description":"Success"}},"operationId":"get_countries_list","security":[{"access_token":[]}],"tags":["countries"]},"options":{"responses":{"204":{"description":"Request fulfilled, nothing follows"}},"summary":"Check which methods are allowed","description":"Use this method if you need to know what operations are allowed to be\nperformed on this endpoint, e.g. to decide wether to display a button\nin your UI.\n\nThe list of allowed methods is provided in `Allow` response header.","operationId":"options_countries_list","security":[{"access_token":[]}],"tags":["countries"]}},"/countries/languages":{"get":{"responses":{"200":{"description":"Return all languages of the country user belongs to","schema":{"type":"array","items":{"$ref":"#/definitions/LanguageSchema"}}}},"operationId":"get_language_list","security":[{"access_token":[]}],"tags":["countries"]},"options":{"responses":{"204":{"description":"Request fulfilled, nothing follows"}},"summary":"Check which methods are allowed","description":"Use this method if you need to know what operations are allowed to be\nperformed on this endpoint, e.g. to decide wether to display a button\nin your UI.\n\nThe list of allowed methods is provided in `Allow` response header.","operationId":"options_language_list","security":[{"access_token":[]}],"tags":["countries"]}},"/countries/pos":{"get":{"responses":{"404":{"description":"Nothing matches the given URI","schema":{"$ref":"#/definitions/HTTPError404"}},"200":{"description":"Request fulfilled, document follows","schema":{"$ref":"#/definitions/CountryPosSchema"}}},"operationId":"get_country_pos_resource","security":[{"access_token":[]}],"tags":["countries"]},"options":{"responses":{"204":{"description":"Request fulfilled, nothing follows"}},"summary":"Check which methods are allowed","description":"Use this method if you need to know what operations are allowed to be\nperformed on this endpoint, e.g. to decide wether to display a button\nin your UI.\n\nThe list of allowed methods is provided in `Allow` response header.","operationId":"options_country_pos_resource","security":[{"access_token":[]}],"tags":["countries"]}},"/countries/poses":{"get":{"responses":{"404":{"description":"Nothing matches the given URI","schema":{"$ref":"#/definitions/HTTPError404"}},"200":{"description":"Request fulfilled, document follows","schema":{"type":"array","items":{"$ref":"#/definitions/CountryPosSchema"}}},"422":{"description":"Success","schema":{"$ref":"#/definitions/HTTPError422"}}},"operationId":"get_country_pos_list_resource","parameters":[{"in":"query","name":"country_code","type":"string","required":false}],"security":[{"access_token":[]}],"tags":["countries"]},"options":{"responses":{"204":{"description":"Request fulfilled, nothing follows"}},"summary":"Check which methods are allowed","description":"Use this method if you need to know what operations are allowed to be\nperformed on this endpoint, e.g. to decide wether to display a button\nin your UI.\n\nThe list of allowed methods is provided in `Allow` response header.","operationId":"options_country_pos_list_resource","security":[{"access_token":[]}],"tags":["countries"]}},"/credit_card/":{"options":{"responses":{"204":{"description":"Request fulfilled, nothing follows"}},"summary":"Check which methods are allowed","description":"Use this method if you need to know what operations are allowed to be\nperformed on this endpoint, e.g. to decide wether to display a button\nin your UI.\n\nThe list of allowed methods is provided in `Allow` response header.","operationId":"options_credit_card_list","security":[{"access_token":[]}],"tags":["credit_card"]},"post":{"responses":{"400":{"description":"Bad request syntax or unsupported method","schema":{"$ref":"#/definitions/HTTPError400"}},"202":{"description":"Credit card was created.","schema":{"$ref":"#/definitions/DetailedCreditCardSchema"}},"422":{"description":"Success","schema":{"$ref":"#/definitions/HTTPError422"}}},"operationId":"post_credit_card_list","parameters":[{"in":"body","required":true,"name":"body","schema":{"$ref":"#/definitions/AddCreditCard"}}],"security":[{"access_token":[]}],"tags":["credit_card"]}},"/credit_card/{creditcard_id}":{"parameters":[{"name":"creditcard_id","in":"path","required":true,"type":"integer"}],"get":{"responses":{"202":{"description":"Credit card was updated.","schema":{"$ref":"#/definitions/DetailedCreditCardSchema"}}},"operationId":"get_credit_card_resource","security":[{"access_token":[]}],"tags":["credit_card"]},"put":{"responses":{"204":{"description":"Credit card was deleted."},"202":{"description":"Credit card was updated.","schema":{"$ref":"#/definitions/DetailedCreditCardSchema"}},"422":{"description":"Success","schema":{"$ref":"#/definitions/HTTPError422"}}},"operationId":"put_credit_card_resource","parameters":[{"in":"body","required":true,"name":"body","schema":{"$ref":"#/definitions/UpdateCreditCard"}}],"security":[{"access_token":[]}],"tags":["credit_card"]},"delete":{"responses":{"400":{"description":"Bad request syntax or unsupported method","schema":{"$ref":"#/definitions/HTTPError400"}},"202":{"description":"Credit card was deleted."}},"operationId":"delete_credit_card_resource","security":[{"access_token":[]}],"tags":["credit_card"]},"options":{"responses":{"204":{"description":"Request fulfilled, nothing follows"}},"summary":"Check which methods are allowed","description":"Use this method if you need to know what operations are allowed to be\nperformed on this endpoint, e.g. to decide wether to display a button\nin your UI.\n\nThe list of allowed methods is provided in `Allow` response header.","operationId":"options_credit_card_resource","security":[{"access_token":[]}],"tags":["credit_card"]}},"/credit_card/{creditcard_id}/mock/":{"parameters":[{"name":"creditcard_id","in":"path","required":true,"type":"integer"}],"options":{"responses":{"204":{"description":"Request fulfilled, nothing follows"}},"summary":"Check which methods are allowed","description":"Use this method if you need to know what operations are allowed to be\nperformed on this endpoint, e.g. to decide wether to display a button\nin your UI.\n\nThe list of allowed methods is provided in `Allow` response header.","operationId":"options_credit_card_mock","security":[{"access_token":[]}],"tags":["credit_card"]},"post":{"responses":{"200":{"description":"Request fulfilled, document follows","schema":{"$ref":"#/definitions/CreditCardMock"}},"422":{"description":"Success","schema":{"$ref":"#/definitions/HTTPError422"}}},"operationId":"post_credit_card_mock","parameters":[{"in":"body","required":true,"name":"body","schema":{"$ref":"#/definitions/AddCreditCardMocksParameters"}}],"security":[{"access_token":[]}],"tags":["credit_card"]}},"/credit_card/{creditcard_id}/status":{"parameters":[{"name":"creditcard_id","in":"path","required":true,"type":"integer"}],"get":{"responses":{"200":{"description":"Request fulfilled, document follows","schema":{"$ref":"#/definitions/CardStatusSchema"}}},"operationId":"get_card_status_resource","security":[{"access_token":[]}],"tags":["credit_card"]},"options":{"responses":{"204":{"description":"Request fulfilled, nothing follows"}},"summary":"Check which methods are allowed","description":"Use this method if you need to know what operations are allowed to be\nperformed on this endpoint, e.g. to decide wether to display a button\nin your UI.\n\nThe list of allowed methods is provided in `Allow` response header.","operationId":"options_card_status_resource","security":[{"access_token":[]}],"tags":["credit_card"]}},"/credit_card/{creditcard_id}/verify":{"parameters":[{"name":"creditcard_id","in":"path","required":true,"type":"integer"}],"options":{"responses":{"204":{"description":"Request fulfilled, nothing follows"}},"summary":"Check which methods are allowed","description":"Use this method if you need to know what operations are allowed to be\nperformed on this endpoint, e.g. to decide wether to display a button\nin your UI.\n\nThe list of allowed methods is provided in `Allow` response header.","operationId":"options_credit_card_verify_resource","security":[{"access_token":[]}],"tags":["credit_card"]},"post":{"responses":{"204":{"description":"Credit card was deleted."},"202":{"description":"Credit card was verified.","schema":{"$ref":"#/definitions/DetailedCreditCardSchema"}},"422":{"description":"Success","schema":{"$ref":"#/definitions/HTTPError422"}}},"operationId":"post_credit_card_verify_resource","parameters":[{"in":"body","required":true,"name":"body","schema":{"$ref":"#/definitions/VerifyCreditCard"}}],"security":[{"access_token":[]}],"tags":["credit_card"]}},"/emails/":{"options":{"responses":{"204":{"description":"Request fulfilled, nothing follows"}},"summary":"Check which methods are allowed","description":"Use this method if you need to know what operations are allowed to be\nperformed on this endpoint, e.g. to decide wether to display a button\nin your UI.\n\nThe list of allowed methods is provided in `Allow` response header.","operationId":"options_emails_resource","security":[{"access_token":[]}],"tags":["emails"]},"post":{"responses":{"422":{"description":"Success","schema":{"$ref":"#/definitions/HTTPError422"}}},"summary":"This handler is needed for testing by QA team instead triggering emails from whole system","operationId":"post_emails_resource","parameters":[{"in":"body","required":true,"name":"body","schema":{"$ref":"#/definitions/SendEmailParameters"}}],"security":[{"access_token":[]}],"tags":["emails"]}},"/expense_policies/":{"get":{"responses":{"200":{"description":"Request fulfilled, document follows","schema":{"$ref":"#/definitions/ExpensePoliciesSchema"}}},"operationId":"get_expense_policies_list","security":[{"access_token":[]}],"tags":["expense_policies"]},"put":{"responses":{"502":{"description":"Invalid responses from another server/proxy","schema":{"$ref":"#/definitions/HTTPError502"}},"423":{"description":"Success","schema":{"$ref":"#/definitions/HTTPError423"}},"422":{"description":"Success","schema":{"$ref":"#/definitions/HTTPError422"}},"200":{"description":"Request fulfilled, document follows","schema":{"$ref":"#/definitions/ExpensePoliciesSchema"}}},"operationId":"put_expense_policies_list","parameters":[{"in":"body","required":true,"name":"body","schema":{"$ref":"#/definitions/ExpensePoliciesParameters"}}],"security":[{"access_token":[]}],"tags":["expense_policies"]},"options":{"responses":{"204":{"description":"Request fulfilled, nothing follows"}},"summary":"Check which methods are allowed","description":"Use this method if you need to know what operations are allowed to be\nperformed on this endpoint, e.g. to decide wether to display a button\nin your UI.\n\nThe list of allowed methods is provided in `Allow` response header.","operationId":"options_expense_policies_list","security":[{"access_token":[]}],"tags":["expense_policies"]},"post":{"responses":{"403":{"description":"Request forbidden -- authorization will not help","schema":{"$ref":"#/definitions/HTTPError403"}},"200":{"description":"Request fulfilled, document follows","schema":{"$ref":"#/definitions/ExpensePoliciesSchema"}}},"operationId":"post_expense_policies_list","security":[{"access_token":[]}],"tags":["expense_policies"]}},"/expense_policies/approvers":{"options":{"responses":{"204":{"description":"Request fulfilled, nothing follows"}},"summary":"Check which methods are allowed","description":"Use this method if you need to know what operations are allowed to be\nperformed on this endpoint, e.g. to decide wether to display a button\nin your UI.\n\nThe list of allowed methods is provided in `Allow` response header.","operationId":"options_expense_policy_approvers","security":[{"access_token":[]}],"tags":["expense_policies"]},"patch":{"responses":{"422":{"description":"Success","schema":{"$ref":"#/definitions/HTTPError422"}},"200":{"description":"Request fulfilled, document follows","schema":{"$ref":"#/definitions/ExpensePolicyApproversSchema"}}},"operationId":"patch_expense_policy_approvers","parameters":[{"in":"body","required":true,"name":"body","schema":{"$ref":"#/definitions/ExpensePolicyApproversParameters"}}],"security":[{"access_token":[]}],"tags":["expense_policies"]}},"/expense_policies/categories":{"get":{"responses":{"200":{"description":"Request fulfilled, document follows","schema":{"$ref":"#/definitions/ExpensePoliciesSchema"}}},"operationId":"get_expense_categories","security":[{"access_token":[]}],"tags":["expense_policies"]},"put":{"responses":{"423":{"description":"Success","schema":{"$ref":"#/definitions/HTTPError423"}},"422":{"description":"Success","schema":{"$ref":"#/definitions/HTTPError422"}},"200":{"description":"Request fulfilled, document follows","schema":{"$ref":"#/definitions/ExpensePoliciesSchema"}}},"operationId":"put_expense_categories","parameters":[{"in":"body","required":true,"name":"body","schema":{"$ref":"#/definitions/ExpensePoliciesParameters"}}],"security":[{"access_token":[]}],"tags":["expense_policies"]},"options":{"responses":{"204":{"description":"Request fulfilled, nothing follows"}},"summary":"Check which methods are allowed","description":"Use this method if you need to know what operations are allowed to be\nperformed on this endpoint, e.g. to decide wether to display a button\nin your UI.\n\nThe list of allowed methods is provided in `Allow` response header.","operationId":"options_expense_categories","security":[{"access_token":[]}],"tags":["expense_policies"]}},"/expense_policies/daily_allowance/pos/{pos_id}/destinations/count":{"parameters":[{"name":"pos_id","in":"path","required":true,"type":"integer"}],"get":{"responses":{"200":{"description":"Success"}},"operationId":"get_daily_allowance_destinations_count","security":[{"access_token":[]}],"tags":["expense_policies"]},"options":{"responses":{"204":{"description":"Request fulfilled, nothing follows"}},"summary":"Check which methods are allowed","description":"Use this method if you need to know what operations are allowed to be\nperformed on this endpoint, e.g. to decide wether to display a button\nin your UI.\n\nThe list of allowed methods is provided in `Allow` response header.","operationId":"options_daily_allowance_destinations_count","security":[{"access_token":[]}],"tags":["expense_policies"]}},"/expense_policies/daily_allowances/destination/{destination_id}/rates":{"parameters":[{"name":"destination_id","in":"path","required":true,"type":"integer"}],"get":{"responses":{"200":{"description":"Request fulfilled, document follows","schema":{"type":"array","items":{"$ref":"#/definitions/DailyAllowanceRateSchema"}}}},"operationId":"get_daily_allowance_rate_by_destination","security":[{"access_token":[]}],"tags":["expense_policies"]},"options":{"responses":{"204":{"description":"Request fulfilled, nothing follows"}},"summary":"Check which methods are allowed","description":"Use this method if you need to know what operations are allowed to be\nperformed on this endpoint, e.g. to decide wether to display a button\nin your UI.\n\nThe list of allowed methods is provided in `Allow` response header.","operationId":"options_daily_allowance_rate_by_destination","security":[{"access_token":[]}],"tags":["expense_policies"]}},"/expense_policies/daily_allowances/destinations":{"get":{"responses":{"200":{"description":"Request fulfilled, document follows","schema":{"type":"array","items":{"$ref":"#/definitions/DailyAllowanceDestinationSchema"}}}},"operationId":"get_daily_allowance_destinations","security":[{"access_token":[]}],"tags":["expense_policies"]},"options":{"responses":{"204":{"description":"Request fulfilled, nothing follows"}},"summary":"Check which methods are allowed","description":"Use this method if you need to know what operations are allowed to be\nperformed on this endpoint, e.g. to decide wether to display a button\nin your UI.\n\nThe list of allowed methods is provided in `Allow` response header.","operationId":"options_daily_allowance_destinations","security":[{"access_token":[]}],"tags":["expense_policies"]},"post":{"responses":{"422":{"description":"Success","schema":{"$ref":"#/definitions/HTTPError422"}},"200":{"description":"Request fulfilled, document follows","schema":{"$ref":"#/definitions/DailyAllowanceDestinationSchema"}}},"operationId":"post_daily_allowance_destinations","parameters":[{"in":"body","required":true,"name":"body","schema":{"$ref":"#/definitions/DailyAllowanceDestinationParameters"}}],"security":[{"access_token":[]}],"tags":["expense_policies"]}},"/expense_policies/daily_allowances/destinations/{destination_id}":{"parameters":[{"name":"destination_id","in":"path","required":true,"type":"integer"}],"get":{"responses":{"200":{"description":"Request fulfilled, document follows","schema":{"$ref":"#/definitions/DailyAllowanceDestinationSchema"}}},"operationId":"get_daily_allowance_destination_resource","security":[{"access_token":[]}],"tags":["expense_policies"]},"put":{"responses":{"422":{"description":"Success","schema":{"$ref":"#/definitions/HTTPError422"}}},"operationId":"put_daily_allowance_destination_resource","parameters":[{"in":"body","required":true,"name":"body","schema":{"$ref":"#/definitions/DailyAllowanceDestinationParameters"}}],"security":[{"access_token":[]}],"tags":["expense_policies"]},"delete":{"responses":{"200":{"description":"Success"}},"operationId":"delete_daily_allowance_destination_resource","security":[{"access_token":[]}],"tags":["expense_policies"]},"options":{"responses":{"204":{"description":"Request fulfilled, nothing follows"}},"summary":"Check which methods are allowed","description":"Use this method if you need to know what operations are allowed to be\nperformed on this endpoint, e.g. to decide wether to display a button\nin your UI.\n\nThe list of allowed methods is provided in `Allow` response header.","operationId":"options_daily_allowance_destination_resource","security":[{"access_token":[]}],"tags":["expense_policies"]}},"/expense_policies/daily_allowances/import/{country_code}":{"parameters":[{"name":"country_code","in":"path","required":true,"type":"string"}],"options":{"responses":{"204":{"description":"Request fulfilled, nothing follows"}},"summary":"Check which methods are allowed","description":"Use this method if you need to know what operations are allowed to be\nperformed on this endpoint, e.g. to decide wether to display a button\nin your UI.\n\nThe list of allowed methods is provided in `Allow` response header.","operationId":"options_daily_allowance_import","security":[{"access_token":[]}],"tags":["expense_policies"]},"post":{"responses":{"200":{"description":"Request fulfilled, document follows","schema":{"type":"array","items":{"$ref":"#/definitions/DailyAllowanceDestinationSchema"}}}},"operationId":"post_daily_allowance_import","security":[{"access_token":[]}],"tags":["expense_policies"]}},"/expense_policies/daily_allowances/pos/{pos_id}/destinations":{"parameters":[{"name":"pos_id","in":"path","required":true,"type":"integer"}],"get":{"responses":{"200":{"description":"Request fulfilled, document follows","schema":{"type":"array","items":{"$ref":"#/definitions/DailyAllowanceDestinationsListSchema"}}}},"operationId":"get_daily_allowance_destinations_by_pos","security":[{"access_token":[]}],"tags":["expense_policies"]},"options":{"responses":{"204":{"description":"Request fulfilled, nothing follows"}},"summary":"Check which methods are allowed","description":"Use this method if you need to know what operations are allowed to be\nperformed on this endpoint, e.g. to decide wether to display a button\nin your UI.\n\nThe list of allowed methods is provided in `Allow` response header.","operationId":"options_daily_allowance_destinations_by_pos","security":[{"access_token":[]}],"tags":["expense_policies"]}},"/expense_policies/daily_allowances/pos/{pos_id}/rates":{"parameters":[{"name":"pos_id","in":"path","required":true,"type":"integer"}],"get":{"responses":{"200":{"description":"Request fulfilled, document follows","schema":{"type":"array","items":{"$ref":"#/definitions/PaginatedDailyAllowanceDestinationSchema"}}}},"summary":"Get daily allowance destinations and their rates by POS","description":"Paginated over the rates.","operationId":"get_daily_allowance_rates_by_pos","parameters":[{"name":"size","in":"query","type":"integer","default":50},{"name":"offset","in":"query","type":"integer","default":0},{"name":"search","in":"query","type":"string"}],"security":[{"access_token":[]}],"tags":["expense_policies"]},"options":{"responses":{"204":{"description":"Request fulfilled, nothing follows"}},"summary":"Check which methods are allowed","description":"Use this method if you need to know what operations are allowed to be\nperformed on this endpoint, e.g. to decide wether to display a button\nin your UI.\n\nThe list of allowed methods is provided in `Allow` response header.","operationId":"options_daily_allowance_rates_by_pos","security":[{"access_token":[]}],"tags":["expense_policies"]}},"/expense_policies/daily_allowances/rates":{"get":{"responses":{"200":{"description":"Request fulfilled, document follows","schema":{"type":"array","items":{"$ref":"#/definitions/DailyAllowanceRateSchema"}}}},"operationId":"get_daily_allowance_rates","security":[{"access_token":[]}],"tags":["expense_policies"]},"options":{"responses":{"204":{"description":"Request fulfilled, nothing follows"}},"summary":"Check which methods are allowed","description":"Use this method if you need to know what operations are allowed to be\nperformed on this endpoint, e.g. to decide wether to display a button\nin your UI.\n\nThe list of allowed methods is provided in `Allow` response header.","operationId":"options_daily_allowance_rates","security":[{"access_token":[]}],"tags":["expense_policies"]},"post":{"responses":{"422":{"description":"Success","schema":{"$ref":"#/definitions/HTTPError422"}},"200":{"description":"Request fulfilled, document follows","schema":{"$ref":"#/definitions/DailyAllowanceRateSchema"}}},"operationId":"post_daily_allowance_rates","parameters":[{"in":"body","required":true,"name":"body","schema":{"$ref":"#/definitions/DailyAllowanceRateParameters"}}],"security":[{"access_token":[]}],"tags":["expense_policies"]}},"/expense_policies/daily_allowances/rates/{rate_id}":{"parameters":[{"name":"rate_id","in":"path","required":true,"type":"integer"}],"get":{"responses":{"200":{"description":"Request fulfilled, document follows","schema":{"$ref":"#/definitions/DailyAllowanceRateSchema"}}},"operationId":"get_daily_allowance_rate_resource","security":[{"access_token":[]}],"tags":["expense_policies"]},"put":{"responses":{"422":{"description":"Success","schema":{"$ref":"#/definitions/HTTPError422"}}},"operationId":"put_daily_allowance_rate_resource","parameters":[{"in":"body","required":true,"name":"body","schema":{"$ref":"#/definitions/DailyAllowanceRateParameters"}}],"security":[{"access_token":[]}],"tags":["expense_policies"]},"delete":{"responses":{"200":{"description":"Success"}},"operationId":"delete_daily_allowance_rate_resource","security":[{"access_token":[]}],"tags":["expense_policies"]},"options":{"responses":{"204":{"description":"Request fulfilled, nothing follows"}},"summary":"Check which methods are allowed","description":"Use this method if you need to know what operations are allowed to be\nperformed on this endpoint, e.g. to decide wether to display a button\nin your UI.\n\nThe list of allowed methods is provided in `Allow` response header.","operationId":"options_daily_allowance_rate_resource","security":[{"access_token":[]}],"tags":["expense_policies"]}},"/expense_policies/mileage_rates":{"get":{"responses":{"200":{"description":"Request fulfilled, document follows","schema":{"type":"array","items":{"$ref":"#/definitions/MileageRateSchema"}}}},"operationId":"get_mileage_rates","security":[{"access_token":[]}],"tags":["expense_policies"]},"options":{"responses":{"204":{"description":"Request fulfilled, nothing follows"}},"summary":"Check which methods are allowed","description":"Use this method if you need to know what operations are allowed to be\nperformed on this endpoint, e.g. to decide wether to display a button\nin your UI.\n\nThe list of allowed methods is provided in `Allow` response header.","operationId":"options_mileage_rates","security":[{"access_token":[]}],"tags":["expense_policies"]},"post":{"responses":{"502":{"description":"Invalid responses from another server/proxy","schema":{"$ref":"#/definitions/HTTPError502"}},"423":{"description":"Success","schema":{"$ref":"#/definitions/HTTPError423"}},"204":{"description":"Request fulfilled, nothing follows"},"422":{"description":"Success","schema":{"$ref":"#/definitions/HTTPError422"}},"200":{"description":"Request fulfilled, document follows","schema":{"$ref":"#/definitions/MileageRateSchema"}}},"operationId":"post_mileage_rates","parameters":[{"in":"body","required":true,"name":"body","schema":{"$ref":"#/definitions/MileageRateParameters"}}],"security":[{"access_token":[]}],"tags":["expense_policies"]}},"/expense_policies/mileage_rates/{rate_id}":{"parameters":[{"name":"rate_id","in":"path","required":true,"type":"integer"}],"get":{"responses":{"200":{"description":"Request fulfilled, document follows","schema":{"$ref":"#/definitions/MileageRateSchema"}}},"operationId":"get_mileage_rate_resource","security":[{"access_token":[]}],"tags":["expense_policies"]},"put":{"responses":{"502":{"description":"Invalid responses from another server/proxy","schema":{"$ref":"#/definitions/HTTPError502"}},"423":{"description":"Success","schema":{"$ref":"#/definitions/HTTPError423"}},"422":{"description":"Success","schema":{"$ref":"#/definitions/HTTPError422"}}},"operationId":"put_mileage_rate_resource","parameters":[{"in":"body","required":true,"name":"body","schema":{"$ref":"#/definitions/MileageRateParameters"}}],"security":[{"access_token":[]}],"tags":["expense_policies"]},"delete":{"responses":{"423":{"description":"Success","schema":{"$ref":"#/definitions/HTTPError423"}},"404":{"description":"Nothing matches the given URI","schema":{"$ref":"#/definitions/HTTPError404"}},"502":{"description":"Invalid responses from another server/proxy","schema":{"$ref":"#/definitions/HTTPError502"}},"204":{"description":"Request fulfilled, nothing follows"}},"operationId":"delete_mileage_rate_resource","security":[{"access_token":[]}],"tags":["expense_policies"]},"options":{"responses":{"204":{"description":"Request fulfilled, nothing follows"}},"summary":"Check which methods are allowed","description":"Use this method if you need to know what operations are allowed to be\nperformed on this endpoint, e.g. to decide wether to display a button\nin your UI.\n\nThe list of allowed methods is provided in `Allow` response header.","operationId":"options_mileage_rate_resource","security":[{"access_token":[]}],"tags":["expense_policies"]}},"/expense_policies/vat_rates":{"get":{"responses":{"200":{"description":"Request fulfilled, document follows","schema":{"type":"array","items":{"$ref":"#/definitions/ExpenseVatRateSchema"}}}},"operationId":"get_expense_vat_rates","security":[{"access_token":[]}],"tags":["expense_policies"]},"options":{"responses":{"204":{"description":"Request fulfilled, nothing follows"}},"summary":"Check which methods are allowed","description":"Use this method if you need to know what operations are allowed to be\nperformed on this endpoint, e.g. to decide wether to display a button\nin your UI.\n\nThe list of allowed methods is provided in `Allow` response header.","operationId":"options_expense_vat_rates","security":[{"access_token":[]}],"tags":["expense_policies"]},"post":{"responses":{"423":{"description":"Success","schema":{"$ref":"#/definitions/HTTPError423"}},"422":{"description":"Success","schema":{"$ref":"#/definitions/HTTPError422"}},"200":{"description":"Request fulfilled, document follows","schema":{"$ref":"#/definitions/ExpenseVatRateSchema"}}},"operationId":"post_expense_vat_rates","parameters":[{"in":"body","required":true,"name":"body","schema":{"$ref":"#/definitions/ExpenseVatRateParameters"}}],"security":[{"access_token":[]}],"tags":["expense_policies"]}},"/expense_policies/vat_rates/{merchant_country}":{"parameters":[{"name":"merchant_country","in":"path","required":true,"type":"string"}],"get":{"responses":{"200":{"description":"Request fulfilled, document follows","schema":{"type":"array","items":{"$ref":"#/definitions/ExpenseVatRateSchema"}}}},"operationId":"get_expense_vat_rate_by_merchant","security":[{"access_token":[]}],"tags":["expense_policies"]},"options":{"responses":{"204":{"description":"Request fulfilled, nothing follows"}},"summary":"Check which methods are allowed","description":"Use this method if you need to know what operations are allowed to be\nperformed on this endpoint, e.g. to decide wether to display a button\nin your UI.\n\nThe list of allowed methods is provided in `Allow` response header.","operationId":"options_expense_vat_rate_by_merchant","security":[{"access_token":[]}],"tags":["expense_policies"]}},"/expense_policies/vat_rates/{rate_id}":{"parameters":[{"name":"rate_id","in":"path","required":true,"type":"integer"}],"get":{"responses":{"200":{"description":"Request fulfilled, document follows","schema":{"$ref":"#/definitions/ExpenseVatRateSchema"}}},"operationId":"get_expense_vat_rate_resource","security":[{"access_token":[]}],"tags":["expense_policies"]},"put":{"responses":{"502":{"description":"Invalid responses from another server/proxy","schema":{"$ref":"#/definitions/HTTPError502"}},"423":{"description":"Success","schema":{"$ref":"#/definitions/HTTPError423"}},"422":{"description":"Success","schema":{"$ref":"#/definitions/HTTPError422"}}},"operationId":"put_expense_vat_rate_resource","parameters":[{"in":"body","required":true,"name":"body","schema":{"$ref":"#/definitions/ExpenseVatRateParameters"}}],"security":[{"access_token":[]}],"tags":["expense_policies"]},"delete":{"responses":{"502":{"description":"Invalid responses from another server/proxy","schema":{"$ref":"#/definitions/HTTPError502"}},"423":{"description":"Success","schema":{"$ref":"#/definitions/HTTPError423"}},"204":{"description":"Request fulfilled, nothing follows"}},"operationId":"delete_expense_vat_rate_resource","security":[{"access_token":[]}],"tags":["expense_policies"]},"options":{"responses":{"204":{"description":"Request fulfilled, nothing follows"}},"summary":"Check which methods are allowed","description":"Use this method if you need to know what operations are allowed to be\nperformed on this endpoint, e.g. to decide wether to display a button\nin your UI.\n\nThe list of allowed methods is provided in `Allow` response header.","operationId":"options_expense_vat_rate_resource","security":[{"access_token":[]}],"tags":["expense_policies"]}},"/expense_reports/":{"get":{"responses":{"200":{"description":"Request fulfilled, document follows","schema":{"type":"array","items":{"$ref":"#/definitions/GetExpenseReportsSchema"}}}},"operationId":"get_expense_report_resource","security":[{"access_token":[]}],"tags":["expense_reports"]},"options":{"responses":{"204":{"description":"Request fulfilled, nothing follows"}},"summary":"Check which methods are allowed","description":"Use this method if you need to know what operations are allowed to be\nperformed on this endpoint, e.g. to decide wether to display a button\nin your UI.\n\nThe list of allowed methods is provided in `Allow` response header.","operationId":"options_expense_report_resource","security":[{"access_token":[]}],"tags":["expense_reports"]},"post":{"responses":{"422":{"description":"Success","schema":{"$ref":"#/definitions/HTTPError422"}}},"operationId":"post_expense_report_resource","parameters":[{"in":"body","required":true,"name":"body","schema":{"$ref":"#/definitions/AddExpenseReportsParameters"}}],"security":[{"access_token":[]}],"tags":["expense_reports"]}},"/expense_reports/export/{file_format}":{"parameters":[{"name":"file_format","in":"path","required":true,"type":"string"}],"options":{"responses":{"204":{"description":"Request fulfilled, nothing follows"}},"summary":"Check which methods are allowed","description":"Use this method if you need to know what operations are allowed to be\nperformed on this endpoint, e.g. to decide wether to display a button\nin your UI.\n\nThe list of allowed methods is provided in `Allow` response header.","operationId":"options_expense_reports_filtered_export","security":[{"access_token":[]}],"tags":["expense_reports"]},"post":{"responses":{"422":{"description":"Success","schema":{"$ref":"#/definitions/HTTPError422"}}},"operationId":"post_expense_reports_filtered_export","parameters":[{"in":"body","required":true,"name":"body","schema":{"$ref":"#/definitions/ExpenseReportExportFilters"}}],"security":[{"access_token":[]}],"tags":["expense_reports"]}},"/expense_reports/{report_id}":{"parameters":[{"name":"report_id","in":"path","required":true,"type":"integer"}],"get":{"responses":{"200":{"description":"Request fulfilled, document follows","schema":{"$ref":"#/definitions/GetExpenseReportsSchema"}}},"operationId":"get_expense_report","security":[{"access_token":[]}],"tags":["expense_reports"]},"put":{"responses":{"422":{"description":"Success","schema":{"$ref":"#/definitions/HTTPError422"}}},"operationId":"put_expense_report","parameters":[{"in":"body","required":true,"name":"body","schema":{"$ref":"#/definitions/AddExpenseReportsParameters"}}],"security":[{"access_token":[]}],"tags":["expense_reports"]},"delete":{"responses":{"200":{"description":"Success"}},"operationId":"delete_expense_report","security":[{"access_token":[]}],"tags":["expense_reports"]},"options":{"responses":{"204":{"description":"Request fulfilled, nothing follows"}},"summary":"Check which methods are allowed","description":"Use this method if you need to know what operations are allowed to be\nperformed on this endpoint, e.g. to decide wether to display a button\nin your UI.\n\nThe list of allowed methods is provided in `Allow` response header.","operationId":"options_expense_report","security":[{"access_token":[]}],"tags":["expense_reports"]}},"/expense_reports/{report_id}/approve":{"parameters":[{"name":"report_id","in":"path","required":true,"type":"integer"}],"put":{"responses":{"200":{"description":"Request fulfilled, document follows","schema":{"$ref":"#/definitions/GetExpenseReportsSchema"}}},"operationId":"put_approve_expense_report","security":[{"access_token":[]}],"tags":["expense_reports"]},"options":{"responses":{"204":{"description":"Request fulfilled, nothing follows"}},"summary":"Check which methods are allowed","description":"Use this method if you need to know what operations are allowed to be\nperformed on this endpoint, e.g. to decide wether to display a button\nin your UI.\n\nThe list of allowed methods is provided in `Allow` response header.","operationId":"options_approve_expense_report","security":[{"access_token":[]}],"tags":["expense_reports"]}},"/expense_reports/{report_id}/pdf":{"parameters":[{"name":"report_id","in":"path","required":true,"type":"integer"}],"get":{"responses":{"200":{"description":"Success"}},"operationId":"get_expense_report_export","security":[{"access_token":[]}],"tags":["expense_reports"]},"options":{"responses":{"204":{"description":"Request fulfilled, nothing follows"}},"summary":"Check which methods are allowed","description":"Use this method if you need to know what operations are allowed to be\nperformed on this endpoint, e.g. to decide wether to display a button\nin your UI.\n\nThe list of allowed methods is provided in `Allow` response header.","operationId":"options_expense_report_export","security":[{"access_token":[]}],"tags":["expense_reports"]}},"/expense_reports/{report_id}/reject":{"parameters":[{"name":"report_id","in":"path","required":true,"type":"integer"}],"put":{"responses":{"200":{"description":"Request fulfilled, document follows","schema":{"$ref":"#/definitions/GetExpenseReportsSchema"}},"422":{"description":"Success","schema":{"$ref":"#/definitions/HTTPError422"}}},"operationId":"put_reject_expense_report","parameters":[{"in":"body","required":true,"name":"body","schema":{"$ref":"#/definitions/AddRejectReasonParameters"}}],"security":[{"access_token":[]}],"tags":["expense_reports"]},"options":{"responses":{"204":{"description":"Request fulfilled, nothing follows"}},"summary":"Check which methods are allowed","description":"Use this method if you need to know what operations are allowed to be\nperformed on this endpoint, e.g. to decide wether to display a button\nin your UI.\n\nThe list of allowed methods is provided in `Allow` response header.","operationId":"options_reject_expense_report","security":[{"access_token":[]}],"tags":["expense_reports"]}},"/expense_reports/{report_id}/request_approve":{"parameters":[{"name":"report_id","in":"path","required":true,"type":"integer"}],"put":{"responses":{"422":{"description":"Success","schema":{"$ref":"#/definitions/HTTPError422"}},"200":{"description":"Request fulfilled, document follows","schema":{"$ref":"#/definitions/GetExpenseReportsSchema"}}},"operationId":"put_request_approve_expense_report","parameters":[{"in":"body","required":true,"name":"body","schema":{"$ref":"#/definitions/AddExpenseReportsParameters"}}],"security":[{"access_token":[]}],"tags":["expense_reports"]},"options":{"responses":{"204":{"description":"Request fulfilled, nothing follows"}},"summary":"Check which methods are allowed","description":"Use this method if you need to know what operations are allowed to be\nperformed on this endpoint, e.g. to decide wether to display a button\nin your UI.\n\nThe list of allowed methods is provided in `Allow` response header.","operationId":"options_request_approve_expense_report","security":[{"access_token":[]}],"tags":["expense_reports"]}},"/expenses/":{"get":{"responses":{"200":{"description":"Request fulfilled, document follows","schema":{"type":"array","items":{"$ref":"#/definitions/ExpensesSchema"}}}},"operationId":"get_expense_resource","security":[{"access_token":[]}],"tags":["expenses"]},"options":{"responses":{"204":{"description":"Request fulfilled, nothing follows"}},"summary":"Check which methods are allowed","description":"Use this method if you need to know what operations are allowed to be\nperformed on this endpoint, e.g. to decide wether to display a button\nin your UI.\n\nThe list of allowed methods is provided in `Allow` response header.","operationId":"options_expense_resource","security":[{"access_token":[]}],"tags":["expenses"]},"post":{"responses":{"403":{"description":"Request forbidden -- authorization will not help","schema":{"$ref":"#/definitions/HTTPError403"}},"423":{"description":"Success","schema":{"$ref":"#/definitions/HTTPError423"}},"201":{"description":"Document created, URL follows","schema":{"$ref":"#/definitions/ExpensesSchema"}},"422":{"description":"Success","schema":{"$ref":"#/definitions/HTTPError422"}}},"operationId":"post_expense_resource","parameters":[{"in":"body","required":true,"name":"body","schema":{"$ref":"#/definitions/AddExpensesParameters"}}],"security":[{"access_token":[]}],"tags":["expenses"]}},"/expenses/export/{file_format}":{"parameters":[{"name":"file_format","in":"path","required":true,"type":"string"}],"options":{"responses":{"204":{"description":"Request fulfilled, nothing follows"}},"summary":"Check which methods are allowed","description":"Use this method if you need to know what operations are allowed to be\nperformed on this endpoint, e.g. to decide wether to display a button\nin your UI.\n\nThe list of allowed methods is provided in `Allow` response header.","operationId":"options_expenses_filtered_export","security":[{"access_token":[]}],"tags":["expenses"]},"post":{"responses":{"422":{"description":"Success","schema":{"$ref":"#/definitions/HTTPError422"}}},"operationId":"post_expenses_filtered_export","parameters":[{"in":"body","required":true,"name":"body","schema":{"$ref":"#/definitions/ExpensesExportFilters"}}],"security":[{"access_token":[]}],"tags":["expenses"]}},"/expenses/ocr/{image_hash}":{"parameters":[{"name":"image_hash","in":"path","required":true,"type":"string"}],"get":{"responses":{"200":{"description":"Request fulfilled, document follows","schema":{"$ref":"#/definitions/OCRResultsSchema"}},"404":{"description":"Nothing matches the given URI","schema":{"$ref":"#/definitions/HTTPError404"}}},"operationId":"get_ocr_status_resource","security":[{"access_token":[]}],"tags":["expenses"]},"options":{"responses":{"204":{"description":"Request fulfilled, nothing follows"}},"summary":"Check which methods are allowed","description":"Use this method if you need to know what operations are allowed to be\nperformed on this endpoint, e.g. to decide wether to display a button\nin your UI.\n\nThe list of allowed methods is provided in `Allow` response header.","operationId":"options_ocr_status_resource","security":[{"access_token":[]}],"tags":["expenses"]}},"/expenses/quick":{"options":{"responses":{"204":{"description":"Request fulfilled, nothing follows"}},"summary":"Check which methods are allowed","description":"Use this method if you need to know what operations are allowed to be\nperformed on this endpoint, e.g. to decide wether to display a button\nin your UI.\n\nThe list of allowed methods is provided in `Allow` response header.","operationId":"options_quick_expense","security":[{"access_token":[]}],"tags":["expenses"]},"post":{"responses":{"403":{"description":"Request forbidden -- authorization will not help","schema":{"$ref":"#/definitions/HTTPError403"}},"400":{"description":"Bad request syntax or unsupported method","schema":{"$ref":"#/definitions/HTTPError400"}},"423":{"description":"Success","schema":{"$ref":"#/definitions/HTTPError423"}},"201":{"description":"Document created, URL follows","schema":{"$ref":"#/definitions/UploadedFileSchema"}},"422":{"description":"Success","schema":{"$ref":"#/definitions/HTTPError422"}}},"operationId":"post_quick_expense","parameters":[{"in":"body","required":true,"name":"body","schema":{"$ref":"#/definitions/QuickExpenseParameters"}}],"security":[{"access_token":[]}],"tags":["expenses"]}},"/expenses/{expense_id}":{"parameters":[{"name":"expense_id","in":"path","required":true,"type":"integer"}],"get":{"responses":{"200":{"description":"Request fulfilled, document follows","schema":{"$ref":"#/definitions/ExpensesSchema"}}},"operationId":"get_expense","security":[{"access_token":[]}],"tags":["expenses"]},"put":{"responses":{"403":{"description":"Request forbidden -- authorization will not help","schema":{"$ref":"#/definitions/HTTPError403"}},"423":{"description":"Success","schema":{"$ref":"#/definitions/HTTPError423"}},"422":{"description":"Success","schema":{"$ref":"#/definitions/HTTPError422"}}},"operationId":"put_expense","parameters":[{"in":"body","required":true,"name":"body","schema":{"$ref":"#/definitions/AddExpensesParameters"}}],"security":[{"access_token":[]}],"tags":["expenses"]},"delete":{"responses":{"404":{"description":"Nothing matches the given URI","schema":{"$ref":"#/definitions/HTTPError404"}},"403":{"description":"Request forbidden -- authorization will not help","schema":{"$ref":"#/definitions/HTTPError403"}},"423":{"description":"Success","schema":{"$ref":"#/definitions/HTTPError423"}},"202":{"description":"Request accepted, processing continues off-line"}},"operationId":"delete_expense","security":[{"access_token":[]}],"tags":["expenses"]},"options":{"responses":{"204":{"description":"Request fulfilled, nothing follows"}},"summary":"Check which methods are allowed","description":"Use this method if you need to know what operations are allowed to be\nperformed on this endpoint, e.g. to decide wether to display a button\nin your UI.\n\nThe list of allowed methods is provided in `Allow` response header.","operationId":"options_expense","security":[{"access_token":[]}],"tags":["expenses"]}},"/fee/worldline_order/{order_id}/validate":{"parameters":[{"name":"order_id","in":"path","required":true,"type":"integer"}],"options":{"responses":{"204":{"description":"Request fulfilled, nothing follows"}},"summary":"Check which methods are allowed","description":"Use this method if you need to know what operations are allowed to be\nperformed on this endpoint, e.g. to decide wether to display a button\nin your UI.\n\nThe list of allowed methods is provided in `Allow` response header.","operationId":"options_worldline_order_validation_resource","security":[{"access_token":[]}],"tags":["fee"]},"post":{"responses":{"202":{"description":"Sending to authorization REDIRECTED orders"},"422":{"description":"Success","schema":{"$ref":"#/definitions/HTTPError422"}}},"operationId":"post_worldline_order_validation_resource","parameters":[{"in":"body","required":true,"name":"body","schema":{"$ref":"#/definitions/WorldlineOrderAuthorize"}}],"security":[{"access_token":[]}],"tags":["fee"]}},"/fee/{fee_id}/charge":{"parameters":[{"name":"fee_id","in":"path","required":true,"type":"integer"}],"options":{"responses":{"204":{"description":"Request fulfilled, nothing follows"}},"summary":"Check which methods are allowed","description":"Use this method if you need to know what operations are allowed to be\nperformed on this endpoint, e.g. to decide wether to display a button\nin your UI.\n\nThe list of allowed methods is provided in `Allow` response header.","operationId":"options_fee_resource","security":[{"access_token":[]}],"tags":["fee"]},"post":{"responses":{"400":{"description":"Bad request syntax or unsupported method","schema":{"$ref":"#/definitions/HTTPError400"}},"202":{"description":"Request accepted, processing continues off-line"},"422":{"description":"Success","schema":{"$ref":"#/definitions/HTTPError422"}}},"operationId":"post_fee_resource","parameters":[{"in":"body","required":true,"name":"body","schema":{"$ref":"#/definitions/FeePayAgainRequest"}}],"security":[{"access_token":[]}],"tags":["fee"]}},"/fee/{fee_id}/payment_methods":{"parameters":[{"name":"fee_id","in":"path","required":true,"type":"integer"}],"get":{"responses":{"200":{"description":"Request fulfilled, document follows","schema":{"$ref":"#/definitions/PaymentMethodsSchema"}}},"operationId":"get_fee_credit_cards_resource","security":[{"access_token":[]}],"tags":["fee"]},"options":{"responses":{"204":{"description":"Request fulfilled, nothing follows"}},"summary":"Check which methods are allowed","description":"Use this method if you need to know what operations are allowed to be\nperformed on this endpoint, e.g. to decide wether to display a button\nin your UI.\n\nThe list of allowed methods is provided in `Allow` response header.","operationId":"options_fee_credit_cards_resource","security":[{"access_token":[]}],"tags":["fee"]}},"/fee/{fee_id}/related_fees":{"parameters":[{"name":"fee_id","in":"path","required":true,"type":"integer"}],"get":{"responses":{"404":{"description":"Nothing matches the given URI","schema":{"$ref":"#/definitions/HTTPError404"}},"200":{"description":"Request fulfilled, document follows","schema":{"type":"array","items":{"$ref":"#/definitions/PackageUsageDetailsReportResponseSchema"}}}},"operationId":"get_related_fees_resource","security":[{"access_token":[]}],"tags":["fee"]},"options":{"responses":{"404":{"description":"Nothing matches the given URI","schema":{"$ref":"#/definitions/HTTPError404"}},"204":{"description":"Request fulfilled, nothing follows"}},"summary":"Check which methods are allowed","description":"Use this method if you need to know what operations are allowed to be\nperformed on this endpoint, e.g. to decide wether to display a button\nin your UI.\n\nThe list of allowed methods is provided in `Allow` response header.","operationId":"options_related_fees_resource","security":[{"access_token":[]}],"tags":["fee"]}},"/fee/{fee_id}/status":{"parameters":[{"name":"fee_id","in":"path","required":true,"type":"integer"}],"get":{"responses":{"200":{"description":"Request fulfilled, document follows","schema":{"$ref":"#/definitions/BaseCompanyFeeStatusSchema"}}},"operationId":"get_fee_status_resource","security":[{"access_token":[]}],"tags":["fee"]},"options":{"responses":{"204":{"description":"Request fulfilled, nothing follows"}},"summary":"Check which methods are allowed","description":"Use this method if you need to know what operations are allowed to be\nperformed on this endpoint, e.g. to decide wether to display a button\nin your UI.\n\nThe list of allowed methods is provided in `Allow` response header.","operationId":"options_fee_status_resource","security":[{"access_token":[]}],"tags":["fee"]}},"/fees/support_request_fees/support_request_billable":{"get":{"responses":{"422":{"description":"Success","schema":{"$ref":"#/definitions/HTTPError422"}}},"operationId":"get_support_request_billable_resource","parameters":[{"in":"query","name":"category","type":"string","enum":["air","car","hotel","rail","ticketing","passport_and_visa","administration","feedback","miscellaneous"],"required":true},{"in":"query","name":"service","type":"string","enum":["shopping_request","new_booking","booking_changes","booking_cancellation","charters_carriers","non_gds_carrier_booking","lost_baggage","ancillary","holding_air_reservations","waitlist_monitoring","online_check_in","check_out","e_vouchers","ground_transportation","vpa","billback_submission","train_schedule","e_ticket_and_itinerary","fare_guarantee","exchanges","voids","esta_application_usa","electronic_travel_auth_australia","visa_application","visa_information","invoice_copy_request","admin_setup","travel_policy_setup","approval_workflow_setup","supplier_program_setup","profile_management","reference_field_settings","creating_virtual_payment_cc","reporting","invoice_profile_setup","billing_and_packages","positive_feedback","negative_feedback","bug_report","suggestions","leisure_bookings","meeting_and_conference_rooms","marine_travel","travel_related_question","commercial_question","other_general_question","other_navigation_question","other_action_requested"],"required":true},{"in":"query","name":"request_type","type":"string","enum":["offline_support","navigation_support","system_error"],"required":true}],"security":[{"access_token":[]}],"tags":["fees"]},"options":{"responses":{"204":{"description":"Request fulfilled, nothing follows"}},"summary":"Check which methods are allowed","description":"Use this method if you need to know what operations are allowed to be\nperformed on this endpoint, e.g. to decide wether to display a button\nin your UI.\n\nThe list of allowed methods is provided in `Allow` response header.","operationId":"options_support_request_billable_resource","security":[{"access_token":[]}],"tags":["fees"]}},"/fees/support_request_fees/support_request_categories":{"get":{"responses":{"200":{"description":"Success"}},"operationId":"get_support_request_category_list","security":[{"access_token":[]}],"tags":["fees"]},"options":{"responses":{"204":{"description":"Request fulfilled, nothing follows"}},"summary":"Check which methods are allowed","description":"Use this method if you need to know what operations are allowed to be\nperformed on this endpoint, e.g. to decide wether to display a button\nin your UI.\n\nThe list of allowed methods is provided in `Allow` response header.","operationId":"options_support_request_category_list","security":[{"access_token":[]}],"tags":["fees"]}},"/fees/support_request_fees/support_request_out_of_scope_notification":{"get":{"responses":{"422":{"description":"Success","schema":{"$ref":"#/definitions/HTTPError422"}}},"operationId":"get_support_request_out_of_scope_notification_resource","parameters":[{"in":"query","name":"category","type":"string","enum":["air","car","hotel","rail","ticketing","passport_and_visa","administration","feedback","miscellaneous"],"required":true},{"in":"query","name":"service","type":"string","enum":["shopping_request","new_booking","booking_changes","booking_cancellation","charters_carriers","non_gds_carrier_booking","lost_baggage","ancillary","holding_air_reservations","waitlist_monitoring","online_check_in","check_out","e_vouchers","ground_transportation","vpa","billback_submission","train_schedule","e_ticket_and_itinerary","fare_guarantee","exchanges","voids","esta_application_usa","electronic_travel_auth_australia","visa_application","visa_information","invoice_copy_request","admin_setup","travel_policy_setup","approval_workflow_setup","supplier_program_setup","profile_management","reference_field_settings","creating_virtual_payment_cc","reporting","invoice_profile_setup","billing_and_packages","positive_feedback","negative_feedback","bug_report","suggestions","leisure_bookings","meeting_and_conference_rooms","marine_travel","travel_related_question","commercial_question","other_general_question","other_navigation_question","other_action_requested"],"required":true}],"security":[{"access_token":[]}],"tags":["fees"]},"options":{"responses":{"204":{"description":"Request fulfilled, nothing follows"}},"summary":"Check which methods are allowed","description":"Use this method if you need to know what operations are allowed to be\nperformed on this endpoint, e.g. to decide wether to display a button\nin your UI.\n\nThe list of allowed methods is provided in `Allow` response header.","operationId":"options_support_request_out_of_scope_notification_resource","security":[{"access_token":[]}],"tags":["fees"]}},"/fees/support_request_fees/support_request_services":{"get":{"responses":{"422":{"description":"Success","schema":{"$ref":"#/definitions/HTTPError422"}}},"operationId":"get_support_request_service_list","parameters":[{"in":"query","name":"category","type":"string","enum":["air","car","hotel","rail","ticketing","passport_and_visa","administration","feedback","miscellaneous"],"required":true}],"security":[{"access_token":[]}],"tags":["fees"]},"options":{"responses":{"204":{"description":"Request fulfilled, nothing follows"}},"summary":"Check which methods are allowed","description":"Use this method if you need to know what operations are allowed to be\nperformed on this endpoint, e.g. to decide wether to display a button\nin your UI.\n\nThe list of allowed methods is provided in `Allow` response header.","operationId":"options_support_request_service_list","security":[{"access_token":[]}],"tags":["fees"]}},"/fees/support_request_fees/support_request_types":{"get":{"responses":{"200":{"description":"Success"}},"operationId":"get_support_request_type_list","security":[{"access_token":[]}],"tags":["fees"]},"options":{"responses":{"204":{"description":"Request fulfilled, nothing follows"}},"summary":"Check which methods are allowed","description":"Use this method if you need to know what operations are allowed to be\nperformed on this endpoint, e.g. to decide wether to display a button\nin your UI.\n\nThe list of allowed methods is provided in `Allow` response header.","operationId":"options_support_request_type_list","security":[{"access_token":[]}],"tags":["fees"]}},"/fees/support_request_fees/verify_freshdesk_ticket":{"get":{"responses":{"200":{"description":"Request fulfilled, document follows","schema":{"type":"array","items":{"$ref":"#/definitions/SupportRequestFreshDeskResponseSchema"}}},"422":{"description":"Success","schema":{"$ref":"#/definitions/HTTPError422"}}},"operationId":"get_support_request_freshdesk_ticket_verification_resource","parameters":[{"in":"query","name":"ticket","type":"string","default":null,"x-nullable":true,"required":false}],"security":[{"access_token":[]}],"tags":["fees"]},"options":{"responses":{"204":{"description":"Request fulfilled, nothing follows"}},"summary":"Check which methods are allowed","description":"Use this method if you need to know what operations are allowed to be\nperformed on this endpoint, e.g. to decide wether to display a button\nin your UI.\n\nThe list of allowed methods is provided in `Allow` response header.","operationId":"options_support_request_freshdesk_ticket_verification_resource","security":[{"access_token":[]}],"tags":["fees"]}},"/fees/{companyfee_id}/refund":{"parameters":[{"name":"companyfee_id","in":"path","required":true,"type":"integer"}],"options":{"responses":{"204":{"description":"Request fulfilled, nothing follows"}},"summary":"Check which methods are allowed","description":"Use this method if you need to know what operations are allowed to be\nperformed on this endpoint, e.g. to decide wether to display a button\nin your UI.\n\nThe list of allowed methods is provided in `Allow` response header.","operationId":"options_support_request_fee_refund_resource","security":[{"access_token":[]}],"tags":["fees"]},"post":{"responses":{"422":{"description":"Success","schema":{"$ref":"#/definitions/HTTPError422"}}},"operationId":"post_support_request_fee_refund_resource","parameters":[{"in":"body","required":true,"name":"body","schema":{"$ref":"#/definitions/CompanyFeeRefundParameters1"}}],"security":[{"access_token":[]}],"tags":["fees"]}},"/flight_rewards/":{"get":{"responses":{"200":{"description":"Request fulfilled, document follows","schema":{"type":"array","items":{"$ref":"#/definitions/AirlineDiscountRewardsSchema"}}},"422":{"description":"Success","schema":{"$ref":"#/definitions/HTTPError422"}}},"operationId":"get_airline_discount_rewards_list","parameters":[{"in":"query","name":"airline_display_id","type":"integer","required":true}],"security":[{"access_token":[]}],"tags":["flight_rewards"]},"options":{"responses":{"204":{"description":"Request fulfilled, nothing follows"}},"summary":"Check which methods are allowed","description":"Use this method if you need to know what operations are allowed to be\nperformed on this endpoint, e.g. to decide wether to display a button\nin your UI.\n\nThe list of allowed methods is provided in `Allow` response header.","operationId":"options_airline_discount_rewards_list","security":[{"access_token":[]}],"tags":["flight_rewards"]}},"/flight_rewards/company_airline_reward":{"get":{"responses":{"200":{"description":"Request fulfilled, document follows","schema":{"type":"array","items":{"$ref":"#/definitions/CompanyAirlineRewardProgramFieldsListSchema"}}}},"operationId":"get_create_company_airline_reward_program","security":[{"access_token":[]}],"tags":["flight_rewards"]},"put":{"responses":{"200":{"description":"Request fulfilled, document follows","schema":{"$ref":"#/definitions/CompanyAirlineRewardProgramFieldsListSchema"}},"422":{"description":"Success","schema":{"$ref":"#/definitions/HTTPError422"}}},"operationId":"put_create_company_airline_reward_program","parameters":[{"in":"body","required":true,"name":"body","schema":{"$ref":"#/definitions/UpdateCompanyAirlineRewardProgram"}}],"security":[{"access_token":[]}],"tags":["flight_rewards"]},"options":{"responses":{"204":{"description":"Request fulfilled, nothing follows"}},"summary":"Check which methods are allowed","description":"Use this method if you need to know what operations are allowed to be\nperformed on this endpoint, e.g. to decide wether to display a button\nin your UI.\n\nThe list of allowed methods is provided in `Allow` response header.","operationId":"options_create_company_airline_reward_program","security":[{"access_token":[]}],"tags":["flight_rewards"]},"post":{"responses":{"200":{"description":"Request fulfilled, document follows","schema":{"$ref":"#/definitions/CompanyAirlineRewardProgramFieldsListSchema"}},"422":{"description":"Success","schema":{"$ref":"#/definitions/HTTPError422"}}},"operationId":"post_create_company_airline_reward_program","parameters":[{"in":"body","required":true,"name":"body","schema":{"type":"array","items":{"$ref":"#/definitions/CreateCompanyAirlineRewardProgramList"}}}],"security":[{"access_token":[]}],"tags":["flight_rewards"]}},"/flight_rewards/company_airline_reward/{company_airline_reward_id}":{"parameters":[{"name":"company_airline_reward_id","in":"path","required":true,"type":"integer"}],"delete":{"responses":{"204":{"description":"Request fulfilled, nothing follows"}},"operationId":"delete_delete_company_airline_reward_program_resource","security":[{"access_token":[]}],"tags":["flight_rewards"]},"options":{"responses":{"204":{"description":"Request fulfilled, nothing follows"}},"summary":"Check which methods are allowed","description":"Use this method if you need to know what operations are allowed to be\nperformed on this endpoint, e.g. to decide wether to display a button\nin your UI.\n\nThe list of allowed methods is provided in `Allow` response header.","operationId":"options_delete_company_airline_reward_program_resource","security":[{"access_token":[]}],"tags":["flight_rewards"]}},"/flight_rewards/reward_program_forms":{"get":{"responses":{"200":{"description":"Request fulfilled, document follows","schema":{"type":"array","items":{"$ref":"#/definitions/RewardProgramFieldListSchema"}}},"422":{"description":"Success","schema":{"$ref":"#/definitions/HTTPError422"}}},"operationId":"get_reward_program_field_list","parameters":[{"in":"query","name":"airline_reward_program_id","type":"integer","required":true}],"security":[{"access_token":[]}],"tags":["flight_rewards"]},"options":{"responses":{"204":{"description":"Request fulfilled, nothing follows"}},"summary":"Check which methods are allowed","description":"Use this method if you need to know what operations are allowed to be\nperformed on this endpoint, e.g. to decide wether to display a button\nin your UI.\n\nThe list of allowed methods is provided in `Allow` response header.","operationId":"options_reward_program_field_list","security":[{"access_token":[]}],"tags":["flight_rewards"]}},"/flights/fare_rules":{"get":{"responses":{"200":{"description":"Request fulfilled, document follows","schema":{"$ref":"#/definitions/TaskResultsResponseSchema"}},"422":{"description":"Success","schema":{"$ref":"#/definitions/HTTPError422"}}},"operationId":"get_fare_rules_resource","parameters":[{"in":"query","name":"job_id","type":"string","required":true}],"security":[{"access_token":[]}],"tags":["flights"]},"options":{"responses":{"204":{"description":"Request fulfilled, nothing follows"}},"summary":"Check which methods are allowed","description":"Use this method if you need to know what operations are allowed to be\nperformed on this endpoint, e.g. to decide wether to display a button\nin your UI.\n\nThe list of allowed methods is provided in `Allow` response header.","operationId":"options_fare_rules_resource","security":[{"access_token":[]}],"tags":["flights"]},"post":{"responses":{"200":{"description":"Request fulfilled, document follows","schema":{"$ref":"#/definitions/TaskResponseSchema"}},"422":{"description":"Success","schema":{"$ref":"#/definitions/HTTPError422"}}},"operationId":"post_fare_rules_resource","parameters":[{"in":"body","required":true,"name":"body","schema":{"$ref":"#/definitions/FareRulesRequest"}}],"security":[{"access_token":[]}],"tags":["flights"]}},"/flights/pricing":{"get":{"responses":{"200":{"description":"Request fulfilled, document follows","schema":{"$ref":"#/definitions/GroupResultsResponseSchema"}},"422":{"description":"Success","schema":{"$ref":"#/definitions/HTTPError422"}}},"operationId":"get_pricing_resource","parameters":[{"in":"query","name":"job_id","type":"string","required":true},{"in":"query","name":"search_id","type":"integer","required":true}],"security":[{"access_token":[]}],"tags":["flights"]},"options":{"responses":{"204":{"description":"Request fulfilled, nothing follows"}},"summary":"Check which methods are allowed","description":"Use this method if you need to know what operations are allowed to be\nperformed on this endpoint, e.g. to decide wether to display a button\nin your UI.\n\nThe list of allowed methods is provided in `Allow` response header.","operationId":"options_pricing_resource","security":[{"access_token":[]}],"tags":["flights"]},"post":{"responses":{"200":{"description":"Request fulfilled, document follows","schema":{"$ref":"#/definitions/TaskResponseSchema"}},"422":{"description":"Success","schema":{"$ref":"#/definitions/HTTPError422"}}},"operationId":"post_pricing_resource","parameters":[{"in":"body","required":true,"name":"body","schema":{"type":"array","items":{"$ref":"#/definitions/PricingInformationRequest"}}}],"security":[{"access_token":[]}],"tags":["flights"]}},"/flights/seat":{"delete":{"responses":{"422":{"description":"Success","schema":{"$ref":"#/definitions/HTTPError422"}}},"operationId":"delete_selected_seat_resource","parameters":[{"in":"body","required":true,"name":"body","schema":{"$ref":"#/definitions/SelectedSeatDeleteRequest"}}],"security":[{"access_token":[]}],"tags":["flights"]},"options":{"responses":{"204":{"description":"Request fulfilled, nothing follows"}},"summary":"Check which methods are allowed","description":"Use this method if you need to know what operations are allowed to be\nperformed on this endpoint, e.g. to decide wether to display a button\nin your UI.\n\nThe list of allowed methods is provided in `Allow` response header.","operationId":"options_selected_seat_resource","security":[{"access_token":[]}],"tags":["flights"]},"post":{"responses":{"422":{"description":"Success","schema":{"$ref":"#/definitions/HTTPError422"}}},"operationId":"post_selected_seat_resource","parameters":[{"in":"body","required":true,"name":"body","schema":{"$ref":"#/definitions/SelectedSeatAddRequest"}}],"security":[{"access_token":[]}],"tags":["flights"]}},"/flights/seat_map":{"get":{"responses":{"200":{"description":"Request fulfilled, document follows","schema":{"$ref":"#/definitions/TaskResultsResponseSchema"}},"422":{"description":"Success","schema":{"$ref":"#/definitions/HTTPError422"}}},"operationId":"get_seat_map_resource","parameters":[{"in":"query","name":"job_id","type":"string","required":true}],"security":[{"access_token":[]}],"tags":["flights"]},"options":{"responses":{"204":{"description":"Request fulfilled, nothing follows"}},"summary":"Check which methods are allowed","description":"Use this method if you need to know what operations are allowed to be\nperformed on this endpoint, e.g. to decide wether to display a button\nin your UI.\n\nThe list of allowed methods is provided in `Allow` response header.","operationId":"options_seat_map_resource","security":[{"access_token":[]}],"tags":["flights"]},"post":{"responses":{"200":{"description":"Request fulfilled, document follows","schema":{"$ref":"#/definitions/TaskResponseSchema"}},"422":{"description":"Success","schema":{"$ref":"#/definitions/HTTPError422"}}},"operationId":"post_seat_map_resource","parameters":[{"in":"body","required":true,"name":"body","schema":{"$ref":"#/definitions/SeatMapRequest"}}],"security":[{"access_token":[]}],"tags":["flights"]}},"/health_check/":{"get":{"responses":{"200":{"description":"Success"}},"operationId":"get_health_check","tags":["health_check"]},"options":{"responses":{"204":{"description":"Request fulfilled, nothing follows"}},"summary":"Check which methods are allowed","description":"Use this method if you need to know what operations are allowed to be\nperformed on this endpoint, e.g. to decide wether to display a button\nin your UI.\n\nThe list of allowed methods is provided in `Allow` response header.","operationId":"options_health_check","tags":["health_check"]}},"/homepage/":{"get":{"responses":{"200":{"description":"Request fulfilled, document follows","schema":{"$ref":"#/definitions/HomepageSchema"}}},"operationId":"get_homepage_resource","security":[{"access_token":[]}],"tags":["homepage"]},"options":{"responses":{"204":{"description":"Request fulfilled, nothing follows"}},"summary":"Check which methods are allowed","description":"Use this method if you need to know what operations are allowed to be\nperformed on this endpoint, e.g. to decide wether to display a button\nin your UI.\n\nThe list of allowed methods is provided in `Allow` response header.","operationId":"options_homepage_resource","security":[{"access_token":[]}],"tags":["homepage"]}},"/hotel_rewards/company_hotel_reward":{"get":{"responses":{"200":{"description":"Request fulfilled, document follows","schema":{"type":"array","items":{"$ref":"#/definitions/CompanyHotelRewardProgramSchema"}}}},"operationId":"get_company_hotel_reward_program_list","security":[{"access_token":[]}],"tags":["hotel_rewards"]},"options":{"responses":{"204":{"description":"Request fulfilled, nothing follows"}},"summary":"Check which methods are allowed","description":"Use this method if you need to know what operations are allowed to be\nperformed on this endpoint, e.g. to decide wether to display a button\nin your UI.\n\nThe list of allowed methods is provided in `Allow` response header.","operationId":"options_company_hotel_reward_program_list","security":[{"access_token":[]}],"tags":["hotel_rewards"]},"post":{"responses":{"200":{"description":"Request fulfilled, document follows","schema":{"$ref":"#/definitions/CompanyHotelRewardProgramSchema"}},"422":{"description":"Success","schema":{"$ref":"#/definitions/HTTPError422"}}},"operationId":"post_company_hotel_reward_program_list","parameters":[{"in":"body","required":true,"name":"body","schema":{"$ref":"#/definitions/CreateCompanyHotelRewardProgram"}}],"security":[{"access_token":[]}],"tags":["hotel_rewards"]}},"/hotel_rewards/company_hotel_reward/{company_hotel_reward_id}":{"parameters":[{"name":"company_hotel_reward_id","in":"path","required":true,"type":"integer"}],"put":{"responses":{"200":{"description":"Request fulfilled, document follows","schema":{"$ref":"#/definitions/CompanyHotelRewardProgramSchema"}},"422":{"description":"Success","schema":{"$ref":"#/definitions/HTTPError422"}}},"operationId":"put_company_hotel_reward_program","parameters":[{"in":"body","required":true,"name":"body","schema":{"$ref":"#/definitions/CreateCompanyHotelRewardProgram"}}],"security":[{"access_token":[]}],"tags":["hotel_rewards"]},"delete":{"responses":{"204":{"description":"Request fulfilled, nothing follows"}},"operationId":"delete_company_hotel_reward_program","security":[{"access_token":[]}],"tags":["hotel_rewards"]},"options":{"responses":{"204":{"description":"Request fulfilled, nothing follows"}},"summary":"Check which methods are allowed","description":"Use this method if you need to know what operations are allowed to be\nperformed on this endpoint, e.g. to decide wether to display a button\nin your UI.\n\nThe list of allowed methods is provided in `Allow` response header.","operationId":"options_company_hotel_reward_program","security":[{"access_token":[]}],"tags":["hotel_rewards"]}},"/hotels/hotel_loyalty_programs":{"get":{"responses":{"200":{"description":"Get all loyalty programs","schema":{"type":"array","items":{"$ref":"#/definitions/BaseLoyaltyProgramSchema"}}}},"operationId":"get_hotel_loyalty_program_list","security":[{"access_token":[]}],"tags":["hotels"]},"options":{"responses":{"204":{"description":"Request fulfilled, nothing follows"}},"summary":"Check which methods are allowed","description":"Use this method if you need to know what operations are allowed to be\nperformed on this endpoint, e.g. to decide wether to display a button\nin your UI.\n\nThe list of allowed methods is provided in `Allow` response header.","operationId":"options_hotel_loyalty_program_list","security":[{"access_token":[]}],"tags":["hotels"]}},"/hotels/search":{"get":{"responses":{"200":{"description":"Request fulfilled, document follows","schema":{"type":"array","items":{"$ref":"#/definitions/HotelsSearchResultSchema"}}},"422":{"description":"Success","schema":{"$ref":"#/definitions/HTTPError422"}}},"operationId":"get_hotels_search","parameters":[{"in":"query","name":"search","type":"string","required":false},{"in":"query","name":"include_cities","type":"boolean","required":false},{"in":"query","name":"include_hotels","type":"boolean","required":false}],"security":[{"access_token":[]}],"tags":["hotels"]},"options":{"responses":{"204":{"description":"Request fulfilled, nothing follows"}},"summary":"Check which methods are allowed","description":"Use this method if you need to know what operations are allowed to be\nperformed on this endpoint, e.g. to decide wether to display a button\nin your UI.\n\nThe list of allowed methods is provided in `Allow` response header.","operationId":"options_hotels_search","security":[{"access_token":[]}],"tags":["hotels"]}},"/hotels/search_city":{"get":{"responses":{"200":{"description":"Request fulfilled, document follows","schema":{"type":"array","items":{"$ref":"#/definitions/CitySearchResultSchema"}}},"422":{"description":"Success","schema":{"$ref":"#/definitions/HTTPError422"}}},"operationId":"get_city_search","parameters":[{"in":"query","name":"search","type":"string","required":false}],"security":[{"access_token":[]}],"tags":["hotels"]},"options":{"responses":{"204":{"description":"Request fulfilled, nothing follows"}},"summary":"Check which methods are allowed","description":"Use this method if you need to know what operations are allowed to be\nperformed on this endpoint, e.g. to decide wether to display a button\nin your UI.\n\nThe list of allowed methods is provided in `Allow` response header.","operationId":"options_city_search","security":[{"access_token":[]}],"tags":["hotels"]}},"/hotels/{hotel_id}":{"parameters":[{"name":"hotel_id","in":"path","required":true,"type":"string"}],"get":{"responses":{"200":{"description":"Request fulfilled, document follows","schema":{"$ref":"#/definitions/HotelInfoSchema"}}},"operationId":"get_hotel_info","security":[{"access_token":[]}],"tags":["hotels"]},"options":{"responses":{"204":{"description":"Request fulfilled, nothing follows"}},"summary":"Check which methods are allowed","description":"Use this method if you need to know what operations are allowed to be\nperformed on this endpoint, e.g. to decide wether to display a button\nin your UI.\n\nThe list of allowed methods is provided in `Allow` response header.","operationId":"options_hotel_info","security":[{"access_token":[]}],"tags":["hotels"]},"patch":{"responses":{"200":{"description":"Request fulfilled, document follows","schema":{"$ref":"#/definitions/BaseHotelSchema"}},"422":{"description":"Success","schema":{"$ref":"#/definitions/HTTPError422"}}},"operationId":"patch_hotel_info","parameters":[{"in":"body","required":true,"name":"body","schema":{"$ref":"#/definitions/UpdateHotelEmail"}}],"security":[{"access_token":[]}],"tags":["hotels"]}},"/hotels/{hotel_id}/hotel_rates":{"parameters":[{"name":"hotel_id","in":"path","required":true,"type":"string"}],"get":{"responses":{"200":{"description":"Request fulfilled, document follows","schema":{"type":"array","items":{"$ref":"#/definitions/BasicHotelRateSchema"}}},"422":{"description":"Success","schema":{"$ref":"#/definitions/HTTPError422"}}},"operationId":"get_hotels_search_rates_resource","parameters":[{"in":"query","name":"search_id","type":"integer","required":false}],"security":[{"access_token":[]}],"tags":["hotels"]},"options":{"responses":{"204":{"description":"Request fulfilled, nothing follows"}},"summary":"Check which methods are allowed","description":"Use this method if you need to know what operations are allowed to be\nperformed on this endpoint, e.g. to decide wether to display a button\nin your UI.\n\nThe list of allowed methods is provided in `Allow` response header.","operationId":"options_hotels_search_rates_resource","security":[{"access_token":[]}],"tags":["hotels"]}},"/hotels/{hotel_id}/like":{"parameters":[{"name":"hotel_id","in":"path","required":true,"type":"string"}],"delete":{"responses":{"202":{"description":"Request accepted, processing continues off-line"}},"operationId":"delete_hotel_likes_resource","security":[{"access_token":[]}],"tags":["hotels"]},"options":{"responses":{"202":{"description":"Request accepted, processing continues off-line"},"204":{"description":"Request fulfilled, nothing follows"}},"operationId":"options_hotel_likes_resource","security":[{"access_token":[]}],"tags":["hotels"]},"post":{"responses":{"202":{"description":"Request accepted, processing continues off-line"}},"operationId":"post_hotel_likes_resource","security":[{"access_token":[]}],"tags":["hotels"]}},"/hotels/{hotel_id}/rate_details":{"parameters":[{"name":"hotel_id","in":"path","required":true,"type":"string"}],"get":{"responses":{"200":{"description":"Request fulfilled, document follows","schema":{"type":"array","items":{"$ref":"#/definitions/BasicRateDetailsSchema"}}},"422":{"description":"Success","schema":{"$ref":"#/definitions/HTTPError422"}}},"operationId":"get_hotels_rate_details_resource","parameters":[{"in":"query","name":"rate_key","type":"string","required":true},{"in":"query","name":"checkin","type":"string","format":"date","required":false},{"in":"query","name":"checkout","type":"string","format":"date","required":false},{"in":"query","name":"search_id","type":"integer","required":false}],"security":[{"access_token":[]}],"tags":["hotels"]},"options":{"responses":{"204":{"description":"Request fulfilled, nothing follows"}},"summary":"Check which methods are allowed","description":"Use this method if you need to know what operations are allowed to be\nperformed on this endpoint, e.g. to decide wether to display a button\nin your UI.\n\nThe list of allowed methods is provided in `Allow` response header.","operationId":"options_hotels_rate_details_resource","security":[{"access_token":[]}],"tags":["hotels"]}},"/industries/":{"get":{"responses":{"200":{"description":"Request fulfilled, document follows","schema":{"$ref":"#/definitions/CompanyIndustrySchema"}}},"operationId":"get_company_industry_list","security":[{"access_token":[]}],"tags":["industries"]},"options":{"responses":{"204":{"description":"Request fulfilled, nothing follows"}},"summary":"Check which methods are allowed","description":"Use this method if you need to know what operations are allowed to be\nperformed on this endpoint, e.g. to decide wether to display a button\nin your UI.\n\nThe list of allowed methods is provided in `Allow` response header.","operationId":"options_company_industry_list","security":[{"access_token":[]}],"tags":["industries"]}},"/invoices/":{"get":{"responses":{"200":{"description":"Request fulfilled, document follows","schema":{"type":"array","items":{"$ref":"#/definitions/DetailedPaymentTripSchema"}}}},"operationId":"get_invoices_list","security":[{"access_token":[]}],"tags":["invoices"]},"options":{"responses":{"204":{"description":"Request fulfilled, nothing follows"}},"summary":"Check which methods are allowed","description":"Use this method if you need to know what operations are allowed to be\nperformed on this endpoint, e.g. to decide wether to display a button\nin your UI.\n\nThe list of allowed methods is provided in `Allow` response header.","operationId":"options_invoices_list","security":[{"access_token":[]}],"tags":["invoices"]}},"/invoices/{trip_id}":{"parameters":[{"name":"trip_id","in":"path","required":true,"type":"integer"}],"get":{"responses":{"200":{"description":"Request fulfilled, document follows","schema":{"type":"array","items":{"$ref":"#/definitions/InvoicesByUser"}}}},"operationId":"get_invoices_by_trip_list","security":[{"access_token":[]}],"tags":["invoices"]},"options":{"responses":{"204":{"description":"Request fulfilled, nothing follows"}},"summary":"Check which methods are allowed","description":"Use this method if you need to know what operations are allowed to be\nperformed on this endpoint, e.g. to decide wether to display a button\nin your UI.\n\nThe list of allowed methods is provided in `Allow` response header.","operationId":"options_invoices_by_trip_list","security":[{"access_token":[]}],"tags":["invoices"]}},"/locations/":{"get":{"responses":{"200":{"description":"Request fulfilled, document follows","schema":{"type":"array","items":{"$ref":"#/definitions/BaseLocationSchema"}}},"422":{"description":"Success","schema":{"$ref":"#/definitions/HTTPError422"}}},"operationId":"get_location_list","parameters":[{"in":"query","name":"search","type":"string","required":false},{"in":"query","name":"visibility","type":"string","enum":["public","private","hidden"],"required":false},{"in":"query","name":"location_type","type":"string","enum":["home","office","client","hotel","airport","other","city","car_rent_agency","rail","rail_group"],"required":false}],"security":[{"access_token":[]}],"tags":["locations"]},"options":{"responses":{"204":{"description":"Request fulfilled, nothing follows"}},"summary":"Check which methods are allowed","description":"Use this method if you need to know what operations are allowed to be\nperformed on this endpoint, e.g. to decide wether to display a button\nin your UI.\n\nThe list of allowed methods is provided in `Allow` response header.","operationId":"options_location_list","security":[{"access_token":[]}],"tags":["locations"]},"post":{"responses":{"409":{"description":"Request conflict","schema":{"$ref":"#/definitions/HTTPError409"}},"403":{"description":"Request forbidden -- authorization will not help","schema":{"$ref":"#/definitions/HTTPError403"}},"200":{"description":"Request fulfilled, document follows","schema":{"$ref":"#/definitions/DetailedLocationSchema"}},"422":{"description":"Success","schema":{"$ref":"#/definitions/HTTPError422"}}},"operationId":"create_location","parameters":[{"in":"body","required":true,"name":"body","schema":{"$ref":"#/definitions/LocationListParameters"}}],"security":[{"access_token":[]}],"tags":["locations"]}},"/locations/my":{"get":{"responses":{"200":{"description":"Request fulfilled, document follows","schema":{"type":"array","items":{"$ref":"#/definitions/BaseLocationSchema"}}},"422":{"description":"Success","schema":{"$ref":"#/definitions/HTTPError422"}}},"operationId":"get_my_location_list","parameters":[{"in":"query","name":"search","type":"string","required":false}],"security":[{"access_token":[]}],"tags":["locations"]},"options":{"responses":{"204":{"description":"Request fulfilled, nothing follows"}},"summary":"Check which methods are allowed","description":"Use this method if you need to know what operations are allowed to be\nperformed on this endpoint, e.g. to decide wether to display a button\nin your UI.\n\nThe list of allowed methods is provided in `Allow` response header.","operationId":"options_my_location_list","security":[{"access_token":[]}],"tags":["locations"]}},"/locations/{location_id}":{"parameters":[{"name":"location_id","in":"path","required":true,"type":"integer"}],"get":{"responses":{"404":{"description":"Location not found.","schema":{"$ref":"#/definitions/HTTPError404"}},"200":{"description":"Request fulfilled, document follows","schema":{"$ref":"#/definitions/DetailedLocationSchema"}}},"operationId":"get_location_resource","security":[{"access_token":[]}],"tags":["locations"]},"put":{"responses":{"404":{"description":"Location not found.","schema":{"$ref":"#/definitions/HTTPError404"}},"423":{"description":"Success","schema":{"$ref":"#/definitions/HTTPError423"}},"409":{"description":"Request conflict","schema":{"$ref":"#/definitions/HTTPError409"}},"200":{"description":"Request fulfilled, document follows","schema":{"$ref":"#/definitions/DetailedLocationSchema"}},"422":{"description":"Success","schema":{"$ref":"#/definitions/HTTPError422"}}},"operationId":"put_location_resource","parameters":[{"in":"body","required":true,"name":"body","schema":{"$ref":"#/definitions/AddLocationParameters"}}],"security":[{"access_token":[]}],"tags":["locations"]},"delete":{"responses":{"404":{"description":"Location not found.","schema":{"$ref":"#/definitions/HTTPError404"}},"202":{"description":"remove location"}},"operationId":"delete_location_resource","security":[{"access_token":[]}],"tags":["locations"]},"options":{"responses":{"404":{"description":"Location not found.","schema":{"$ref":"#/definitions/HTTPError404"}},"204":{"description":"Request fulfilled, nothing follows"}},"summary":"Check which methods are allowed","description":"Use this method if you need to know what operations are allowed to be\nperformed on this endpoint, e.g. to decide wether to display a button\nin your UI.\n\nThe list of allowed methods is provided in `Allow` response header.","operationId":"options_location_resource","security":[{"access_token":[]}],"tags":["locations"]}},"/login/":{"get":{"responses":{"422":{"description":"Success","schema":{"$ref":"#/definitions/HTTPError422"}},"200":{"description":"login_status=2 (User exists)","schema":{"$ref":"#/definitions/LoginSchema"}},"404":{"description":"login_status=1 (Company does not exists) \nlogin_status=0 (User does not exists)","schema":{"$ref":"#/definitions/LoginSchema"}}},"summary":"Handles login requests","description":"Accepts SSO registration flag from parameters and returns user details or login status.","operationId":"get_login_resource","parameters":[{"in":"query","name":"sso_registration","type":"boolean","required":false}],"security":[{"access_token":[]}],"tags":["login"]},"options":{"responses":{"204":{"description":"Request fulfilled, nothing follows"}},"summary":"Check which methods are allowed","description":"Use this method if you need to know what operations are allowed to be\nperformed on this endpoint, e.g. to decide wether to display a button\nin your UI.\n\nThe list of allowed methods is provided in `Allow` response header.","operationId":"options_login_resource","security":[{"access_token":[]}],"tags":["login"]}},"/logout/":{"options":{"responses":{"204":{"description":"Request fulfilled, nothing follows"}},"summary":"Check which methods are allowed","description":"Use this method if you need to know what operations are allowed to be\nperformed on this endpoint, e.g. to decide wether to display a button\nin your UI.\n\nThe list of allowed methods is provided in `Allow` response header.","operationId":"options_logout_resource","security":[{"access_token":[]}],"tags":["logout"]},"post":{"responses":{"202":{"description":"Request accepted, processing continues off-line"}},"operationId":"post_logout_resource","security":[{"access_token":[]}],"tags":["logout"]}},"/offices/":{"get":{"responses":{"200":{"description":"Request fulfilled, document follows","schema":{"type":"array","items":{"$ref":"#/definitions/BaseOfficeSchema"}}},"422":{"description":"Success","schema":{"$ref":"#/definitions/HTTPError422"}}},"operationId":"get_office_list","parameters":[{"in":"query","name":"search","type":"string","required":false},{"in":"query","name":"office_type","type":"string","enum":["office","client","other"],"required":false}],"security":[{"access_token":[]}],"tags":["offices"]},"options":{"responses":{"204":{"description":"Request fulfilled, nothing follows"}},"summary":"Check which methods are allowed","description":"Use this method if you need to know what operations are allowed to be\nperformed on this endpoint, e.g. to decide wether to display a button\nin your UI.\n\nThe list of allowed methods is provided in `Allow` response header.","operationId":"options_office_list","security":[{"access_token":[]}],"tags":["offices"]},"post":{"responses":{"200":{"description":"Request fulfilled, document follows","schema":{"$ref":"#/definitions/BaseOfficeSchema"}},"422":{"description":"Success","schema":{"$ref":"#/definitions/HTTPError422"}}},"operationId":"post_office_list","parameters":[{"in":"body","required":true,"name":"body","schema":{"$ref":"#/definitions/AddOfficeParameters"}}],"security":[{"access_token":[]}],"tags":["offices"]}},"/offices/{office_id}":{"parameters":[{"name":"office_id","in":"path","required":true,"type":"integer"}],"get":{"responses":{"200":{"description":"Request fulfilled, document follows","schema":{"$ref":"#/definitions/BaseOfficeSchema"}}},"operationId":"get_office_resource","security":[{"access_token":[]}],"tags":["offices"]},"put":{"responses":{"200":{"description":"Request fulfilled, document follows","schema":{"$ref":"#/definitions/BaseOfficeSchema"}},"422":{"description":"Success","schema":{"$ref":"#/definitions/HTTPError422"}}},"operationId":"put_office_resource","parameters":[{"in":"body","required":true,"name":"body","schema":{"$ref":"#/definitions/AddOfficeParameters"}}],"security":[{"access_token":[]}],"tags":["offices"]},"delete":{"responses":{"204":{"description":"remove office"}},"operationId":"delete_office_resource","security":[{"access_token":[]}],"tags":["offices"]},"options":{"responses":{"204":{"description":"Request fulfilled, nothing follows"}},"summary":"Check which methods are allowed","description":"Use this method if you need to know what operations are allowed to be\nperformed on this endpoint, e.g. to decide wether to display a button\nin your UI.\n\nThe list of allowed methods is provided in `Allow` response header.","operationId":"options_office_resource","security":[{"access_token":[]}],"tags":["offices"]}},"/packages/":{"get":{"responses":{"200":{"description":"Request fulfilled, document follows","schema":{"type":"array","items":{"$ref":"#/definitions/PackageResponseSchema"}}}},"operationId":"get_package_list_resource","security":[{"access_token":[]}],"tags":["packages"]},"options":{"responses":{"204":{"description":"Request fulfilled, nothing follows"}},"summary":"Check which methods are allowed","description":"Use this method if you need to know what operations are allowed to be\nperformed on this endpoint, e.g. to decide wether to display a button\nin your UI.\n\nThe list of allowed methods is provided in `Allow` response header.","operationId":"options_package_list_resource","security":[{"access_token":[]}],"tags":["packages"]}},"/packages/downgrade/contact-consultant":{"options":{"responses":{"204":{"description":"Request fulfilled, nothing follows"}},"summary":"Check which methods are allowed","description":"Use this method if you need to know what operations are allowed to be\nperformed on this endpoint, e.g. to decide wether to display a button\nin your UI.\n\nThe list of allowed methods is provided in `Allow` response header.","operationId":"options_package_downgrade_consultant_contact","security":[{"access_token":[]}],"tags":["packages"]},"post":{"responses":{"200":{"description":"Request fulfilled, document follows","schema":{"$ref":"#/definitions/DowngradePackageConsultantResponseSchema"}},"422":{"description":"Success","schema":{"$ref":"#/definitions/HTTPError422"}}},"operationId":"post_package_downgrade_consultant_contact","parameters":[{"in":"body","required":true,"name":"body","schema":{"$ref":"#/definitions/DowngradePackageConsultantEmail"}}],"security":[{"access_token":[]}],"tags":["packages"]}},"/policies/":{"get":{"responses":{"422":{"description":"Success","schema":{"$ref":"#/definitions/HTTPError422"}},"200":{"description":"Request fulfilled, document follows","schema":{"type":"array","items":{"$ref":"#/definitions/BaseTravelPolicySchema"}}}},"operationId":"get_travel_policies_list","parameters":[{"in":"query","name":"type","type":"string","enum":["department","office","company","policy_group"],"required":false}],"security":[{"access_token":[]}],"tags":["policies"]},"put":{"responses":{"422":{"description":"Success","schema":{"$ref":"#/definitions/HTTPError422"}},"200":{"description":"Request fulfilled, document follows","schema":{"$ref":"#/definitions/TravelPolicySchema"}}},"operationId":"put_travel_policies_list","parameters":[{"in":"body","required":true,"name":"body","schema":{"$ref":"#/definitions/TravelPolicySchemaParameters"}}],"security":[{"access_token":[]}],"tags":["policies"]},"options":{"responses":{"204":{"description":"Request fulfilled, nothing follows"}},"summary":"Check which methods are allowed","description":"Use this method if you need to know what operations are allowed to be\nperformed on this endpoint, e.g. to decide wether to display a button\nin your UI.\n\nThe list of allowed methods is provided in `Allow` response header.","operationId":"options_travel_policies_list","security":[{"access_token":[]}],"tags":["policies"]},"post":{"responses":{"409":{"description":"Request conflict","schema":{"$ref":"#/definitions/HTTPError409"}},"200":{"description":"Request fulfilled, document follows","schema":{"$ref":"#/definitions/TravelPolicySchema"}},"422":{"description":"Success","schema":{"$ref":"#/definitions/HTTPError422"}}},"operationId":"post_travel_policies_list","parameters":[{"in":"body","required":true,"name":"body","schema":{"$ref":"#/definitions/TravelPolicyCloneSchemaParameters"}}],"security":[{"access_token":[]}],"tags":["policies"]}},"/policies/for_users":{"options":{"responses":{"204":{"description":"Request fulfilled, nothing follows"}},"summary":"Check which methods are allowed","description":"Use this method if you need to know what operations are allowed to be\nperformed on this endpoint, e.g. to decide wether to display a button\nin your UI.\n\nThe list of allowed methods is provided in `Allow` response header.","operationId":"options_policy_for_users_resource","security":[{"access_token":[]}],"tags":["policies"]},"post":{"responses":{"200":{"description":"Request fulfilled, document follows","schema":{"type":"array","items":{"$ref":"#/definitions/UserPolicySchema"}}},"422":{"description":"Success","schema":{"$ref":"#/definitions/HTTPError422"}}},"operationId":"post_policy_for_users_resource","parameters":[{"in":"body","required":true,"name":"body","schema":{"$ref":"#/definitions/UserIdsParams"}}],"security":[{"access_token":[]}],"tags":["policies"]}},"/policies/ignore_approvals":{"get":{"responses":{"200":{"description":"list users that ignore approvals","schema":{"type":"array","items":{"$ref":"#/definitions/BaseUserSchema"}}}},"operationId":"get_policy_ignore_approvals_travelers_list_resource","security":[{"access_token":[]}],"tags":["policies"]},"put":{"responses":{"200":{"description":"list users that ignore approvals","schema":{"type":"array","items":{"$ref":"#/definitions/BaseUserSchema"}}},"422":{"description":"Success","schema":{"$ref":"#/definitions/HTTPError422"}}},"operationId":"put_policy_ignore_approvals_travelers_list_resource","parameters":[{"in":"body","required":true,"name":"body","schema":{"$ref":"#/definitions/UserIdsParams"}}],"security":[{"access_token":[]}],"tags":["policies"]},"options":{"responses":{"204":{"description":"Request fulfilled, nothing follows"}},"summary":"Check which methods are allowed","description":"Use this method if you need to know what operations are allowed to be\nperformed on this endpoint, e.g. to decide wether to display a button\nin your UI.\n\nThe list of allowed methods is provided in `Allow` response header.","operationId":"options_policy_ignore_approvals_travelers_list_resource","security":[{"access_token":[]}],"tags":["policies"]}},"/policies/ignore_approvals/{user_id}":{"parameters":[{"name":"user_id","in":"path","required":true,"type":"string"}],"delete":{"responses":{"202":{"description":"set specific user to use approvals normally"}},"operationId":"delete_policy_ignore_approvals_travelers_modify_resource","security":[{"access_token":[]}],"tags":["policies"]},"options":{"responses":{"204":{"description":"Request fulfilled, nothing follows"}},"summary":"Check which methods are allowed","description":"Use this method if you need to know what operations are allowed to be\nperformed on this endpoint, e.g. to decide wether to display a button\nin your UI.\n\nThe list of allowed methods is provided in `Allow` response header.","operationId":"options_policy_ignore_approvals_travelers_modify_resource","security":[{"access_token":[]}],"tags":["policies"]},"post":{"responses":{"202":{"description":"set specific user to ignore approval"}},"operationId":"post_policy_ignore_approvals_travelers_modify_resource","security":[{"access_token":[]}],"tags":["policies"]}},"/policies/{group_id}":{"parameters":[{"name":"group_id","in":"path","required":true,"type":"integer"}],"get":{"responses":{"200":{"description":"Request fulfilled, document follows","schema":{"$ref":"#/definitions/TravelPolicySchema"}}},"operationId":"get_travel_policies_resource","security":[{"access_token":[]}],"tags":["policies"]},"delete":{"responses":{"202":{"description":"Request accepted, processing continues off-line"}},"operationId":"delete_travel_policies_resource","security":[{"access_token":[]}],"tags":["policies"]},"options":{"responses":{"204":{"description":"Request fulfilled, nothing follows"}},"summary":"Check which methods are allowed","description":"Use this method if you need to know what operations are allowed to be\nperformed on this endpoint, e.g. to decide wether to display a button\nin your UI.\n\nThe list of allowed methods is provided in `Allow` response header.","operationId":"options_travel_policies_resource","security":[{"access_token":[]}],"tags":["policies"]}},"/pre_trip_requests/":{"get":{"responses":{"200":{"description":"Request fulfilled, document follows","schema":{"type":"array","items":{"$ref":"#/definitions/PreTripResponseSchema"}}}},"operationId":"get_pre_trip_request_list","security":[{"access_token":[]}],"tags":["pre_trip_requests"]},"options":{"responses":{"204":{"description":"Request fulfilled, nothing follows"}},"summary":"Check which methods are allowed","description":"Use this method if you need to know what operations are allowed to be\nperformed on this endpoint, e.g. to decide wether to display a button\nin your UI.\n\nThe list of allowed methods is provided in `Allow` response header.","operationId":"options_pre_trip_request_list","security":[{"access_token":[]}],"tags":["pre_trip_requests"]},"post":{"responses":{"200":{"description":"Request fulfilled, document follows","schema":{"$ref":"#/definitions/PreTripRequestSchema"}},"422":{"description":"Success","schema":{"$ref":"#/definitions/HTTPError422"}}},"operationId":"post_pre_trip_request_list","parameters":[{"in":"body","required":true,"name":"body","schema":{"$ref":"#/definitions/PreTripRequestParameter"}}],"security":[{"access_token":[]}],"tags":["pre_trip_requests"]}},"/pre_trip_requests/by_approver":{"get":{"responses":{"200":{"description":"Request fulfilled, document follows","schema":{"$ref":"#/definitions/PreTripsByApproverSchema"}}},"operationId":"get_pre_trip_by_approver_resource","security":[{"access_token":[]}],"tags":["pre_trip_requests"]},"options":{"responses":{"204":{"description":"Request fulfilled, nothing follows"}},"summary":"Check which methods are allowed","description":"Use this method if you need to know what operations are allowed to be\nperformed on this endpoint, e.g. to decide wether to display a button\nin your UI.\n\nThe list of allowed methods is provided in `Allow` response header.","operationId":"options_pre_trip_by_approver_resource","security":[{"access_token":[]}],"tags":["pre_trip_requests"]}},"/pre_trip_requests/{pretriprequest_id}":{"parameters":[{"name":"pretriprequest_id","in":"path","required":true,"type":"integer"}],"get":{"responses":{"200":{"description":"Request fulfilled, document follows","schema":{"$ref":"#/definitions/PreTripResponseSchema"}}},"operationId":"get_pre_trip_request_resource","security":[{"access_token":[]}],"tags":["pre_trip_requests"]},"delete":{"responses":{"202":{"description":"Request accepted, processing continues off-line"}},"operationId":"delete_pre_trip_request_resource","security":[{"access_token":[]}],"tags":["pre_trip_requests"]},"options":{"responses":{"204":{"description":"Request fulfilled, nothing follows"}},"summary":"Check which methods are allowed","description":"Use this method if you need to know what operations are allowed to be\nperformed on this endpoint, e.g. to decide wether to display a button\nin your UI.\n\nThe list of allowed methods is provided in `Allow` response header.","operationId":"options_pre_trip_request_resource","security":[{"access_token":[]}],"tags":["pre_trip_requests"]},"post":{"responses":{"200":{"description":"Request fulfilled, document follows","schema":{"$ref":"#/definitions/PreTripRequestSchema"}},"422":{"description":"Success","schema":{"$ref":"#/definitions/HTTPError422"}}},"operationId":"post_pre_trip_request_resource","parameters":[{"in":"body","required":true,"name":"body","schema":{"$ref":"#/definitions/PreTripRequestNameParams"}}],"security":[{"access_token":[]}],"tags":["pre_trip_requests"]}},"/pre_trip_requests/{pretriprequest_id}/manage":{"parameters":[{"name":"pretriprequest_id","in":"path","required":true,"type":"integer"}],"options":{"responses":{"204":{"description":"Request fulfilled, nothing follows"}},"summary":"Check which methods are allowed","description":"Use this method if you need to know what operations are allowed to be\nperformed on this endpoint, e.g. to decide wether to display a button\nin your UI.\n\nThe list of allowed methods is provided in `Allow` response header.","operationId":"options_pre_trip_request_manage_resource","security":[{"access_token":[]}],"tags":["pre_trip_requests"]},"post":{"responses":{"200":{"description":"Request fulfilled, document follows","schema":{"$ref":"#/definitions/PreTripRequestSchema"}},"422":{"description":"Success","schema":{"$ref":"#/definitions/HTTPError422"}}},"operationId":"post_pre_trip_request_manage_resource","parameters":[{"in":"body","required":true,"name":"body","schema":{"$ref":"#/definitions/PreTripRequestManageParams"}}],"security":[{"access_token":[]}],"tags":["pre_trip_requests"]}},"/rail/rail_cards":{"get":{"responses":{"200":{"description":"Request fulfilled, document follows","schema":{"type":"array","items":{"$ref":"#/definitions/RailCardListResponseSchema"}}},"422":{"description":"Success","schema":{"$ref":"#/definitions/HTTPError422"}}},"operationId":"get_rail_card_resource","parameters":[{"in":"query","name":"new_rail_search","type":"boolean","required":false}],"security":[{"access_token":[]}],"tags":["rail"]},"options":{"responses":{"204":{"description":"Request fulfilled, nothing follows"}},"summary":"Check which methods are allowed","description":"Use this method if you need to know what operations are allowed to be\nperformed on this endpoint, e.g. to decide wether to display a button\nin your UI.\n\nThe list of allowed methods is provided in `Allow` response header.","operationId":"options_rail_card_resource","security":[{"access_token":[]}],"tags":["rail"]},"post":{"responses":{"422":{"description":"Success","schema":{"$ref":"#/definitions/HTTPError422"}}},"operationId":"post_rail_card_resource","parameters":[{"in":"body","required":true,"name":"body","schema":{"$ref":"#/definitions/CreateRailCardsParameters"}}],"security":[{"access_token":[]}],"tags":["rail"]}},"/rails/cancellation_offer":{"get":{"responses":{"200":{"description":"Request fulfilled, document follows","schema":{"$ref":"#/definitions/TaskResultsListResponseSchema"}},"422":{"description":"Success","schema":{"$ref":"#/definitions/HTTPError422"}}},"operationId":"get_rails_cancellation_offer_resource","parameters":[{"in":"query","name":"job_id","type":"string","required":true}],"security":[{"access_token":[]}],"tags":["rails"]},"options":{"responses":{"204":{"description":"Request fulfilled, nothing follows"}},"summary":"Check which methods are allowed","description":"Use this method if you need to know what operations are allowed to be\nperformed on this endpoint, e.g. to decide wether to display a button\nin your UI.\n\nThe list of allowed methods is provided in `Allow` response header.","operationId":"options_rails_cancellation_offer_resource","security":[{"access_token":[]}],"tags":["rails"]},"post":{"responses":{"200":{"description":"Request fulfilled, document follows","schema":{"$ref":"#/definitions/TaskResponseSchema"}},"422":{"description":"Success","schema":{"$ref":"#/definitions/HTTPError422"}}},"operationId":"post_rails_cancellation_offer_resource","parameters":[{"in":"body","required":true,"name":"body","schema":{"$ref":"#/definitions/RailsGetCancellationOfferParameters"}}],"security":[{"access_token":[]}],"tags":["rails"]}},"/rails/get_passenger_types":{"get":{"responses":{"200":{"description":"Request fulfilled, document follows","schema":{"$ref":"#/definitions/TaskResultResponseSchema"}},"422":{"description":"Success","schema":{"$ref":"#/definitions/HTTPError422"}}},"operationId":"get_rails_get_passenger_types_resource","parameters":[{"in":"query","name":"job_id","type":"string","required":true}],"security":[{"access_token":[]}],"tags":["rails"]},"options":{"responses":{"204":{"description":"Request fulfilled, nothing follows"}},"summary":"Check which methods are allowed","description":"Use this method if you need to know what operations are allowed to be\nperformed on this endpoint, e.g. to decide wether to display a button\nin your UI.\n\nThe list of allowed methods is provided in `Allow` response header.","operationId":"options_rails_get_passenger_types_resource","security":[{"access_token":[]}],"tags":["rails"]},"post":{"responses":{"200":{"description":"Request fulfilled, document follows","schema":{"$ref":"#/definitions/TaskResponseSchema"}},"422":{"description":"Success","schema":{"$ref":"#/definitions/HTTPError422"}}},"operationId":"post_rails_get_passenger_types_resource","parameters":[{"in":"body","required":true,"name":"body","schema":{"$ref":"#/definitions/RailsGetPassengerTypesParameters"}}],"security":[{"access_token":[]}],"tags":["rails"]}},"/rails/locations_search":{"get":{"responses":{"200":{"description":"Request fulfilled, document follows","schema":{"type":"array","items":{"$ref":"#/definitions/RailsLocationsSearchResponseSchema"}}},"422":{"description":"Success","schema":{"$ref":"#/definitions/HTTPError422"}}},"operationId":"get_rails_locations_search","parameters":[{"in":"query","name":"search","type":"string","minLength":2,"required":true}],"security":[{"access_token":[]}],"tags":["rails"]},"options":{"responses":{"204":{"description":"Request fulfilled, nothing follows"}},"summary":"Check which methods are allowed","description":"Use this method if you need to know what operations are allowed to be\nperformed on this endpoint, e.g. to decide wether to display a button\nin your UI.\n\nThe list of allowed methods is provided in `Allow` response header.","operationId":"options_rails_locations_search","security":[{"access_token":[]}],"tags":["rails"]}},"/rails/search/{search_id}/paginate":{"parameters":[{"name":"search_id","in":"path","required":true,"type":"integer"}],"options":{"responses":{"404":{"description":"Search not found.","schema":{"$ref":"#/definitions/HTTPError404"}},"204":{"description":"Request fulfilled, nothing follows"}},"summary":"Check which methods are allowed","description":"Use this method if you need to know what operations are allowed to be\nperformed on this endpoint, e.g. to decide wether to display a button\nin your UI.\n\nThe list of allowed methods is provided in `Allow` response header.","operationId":"options_rails_pagination","security":[{"access_token":[]}],"tags":["rails"]},"post":{"responses":{"404":{"description":"Search not found.","schema":{"$ref":"#/definitions/HTTPError404"}},"202":{"description":"Request accepted, processing continues off-line","schema":{"$ref":"#/definitions/DetailedSearchResultsSchema"}},"422":{"description":"Success","schema":{"$ref":"#/definitions/HTTPError422"}}},"operationId":"post_rails_pagination","parameters":[{"in":"body","required":true,"name":"body","schema":{"$ref":"#/definitions/RailsPaginationParameters"}}],"security":[{"access_token":[]}],"tags":["rails"]}},"/rails/search/{search_id}/search_inward":{"parameters":[{"name":"search_id","in":"path","required":true,"type":"integer"}],"options":{"responses":{"404":{"description":"Search not found.","schema":{"$ref":"#/definitions/HTTPError404"}},"204":{"description":"Request fulfilled, nothing follows"}},"summary":"Check which methods are allowed","description":"Use this method if you need to know what operations are allowed to be\nperformed on this endpoint, e.g. to decide wether to display a button\nin your UI.\n\nThe list of allowed methods is provided in `Allow` response header.","operationId":"options_rails_search_inward","security":[{"access_token":[]}],"tags":["rails"]},"post":{"responses":{"404":{"description":"Search not found.","schema":{"$ref":"#/definitions/HTTPError404"}},"202":{"description":"Request accepted, processing continues off-line","schema":{"$ref":"#/definitions/DetailedSearchResultsSchema"}},"422":{"description":"Success","schema":{"$ref":"#/definitions/HTTPError422"}}},"operationId":"post_rails_search_inward","parameters":[{"in":"body","required":true,"name":"body","schema":{"$ref":"#/definitions/RailsSearchInwardParameters"}}],"security":[{"access_token":[]}],"tags":["rails"]}},"/rails/{booking_segment_id}/reservation_offers":{"parameters":[{"name":"booking_segment_id","in":"path","required":true,"type":"integer"}],"put":{"responses":{"404":{"description":"Booking segment not found.","schema":{"$ref":"#/definitions/HTTPError404"}},"204":{"description":"Request fulfilled, nothing follows"},"422":{"description":"Success","schema":{"$ref":"#/definitions/HTTPError422"}}},"operationId":"put_rails_reservation_offers","parameters":[{"in":"body","required":true,"name":"body","schema":{"$ref":"#/definitions/ReservationOffersRequest"}}],"security":[{"access_token":[]}],"tags":["rails"]},"options":{"responses":{"404":{"description":"Booking segment not found.","schema":{"$ref":"#/definitions/HTTPError404"}},"204":{"description":"Request fulfilled, nothing follows"}},"summary":"Check which methods are allowed","description":"Use this method if you need to know what operations are allowed to be\nperformed on this endpoint, e.g. to decide wether to display a button\nin your UI.\n\nThe list of allowed methods is provided in `Allow` response header.","operationId":"options_rails_reservation_offers","security":[{"access_token":[]}],"tags":["rails"]}},"/rails/{booking_segment_id}/seat_map":{"parameters":[{"name":"booking_segment_id","in":"path","required":true,"type":"integer"}],"get":{"responses":{"404":{"description":"Booking segment not found.","schema":{"$ref":"#/definitions/HTTPError404"}},"200":{"description":"Request fulfilled, document follows","schema":{"$ref":"#/definitions/TaskResultsResponseSchema"}},"422":{"description":"Success","schema":{"$ref":"#/definitions/HTTPError422"}}},"operationId":"get_rails_seat_map","parameters":[{"in":"query","name":"job_id","type":"string","required":true}],"security":[{"access_token":[]}],"tags":["rails"]},"options":{"responses":{"404":{"description":"Booking segment not found.","schema":{"$ref":"#/definitions/HTTPError404"}},"204":{"description":"Request fulfilled, nothing follows"}},"summary":"Check which methods are allowed","description":"Use this method if you need to know what operations are allowed to be\nperformed on this endpoint, e.g. to decide wether to display a button\nin your UI.\n\nThe list of allowed methods is provided in `Allow` response header.","operationId":"options_rails_seat_map","security":[{"access_token":[]}],"tags":["rails"]},"post":{"responses":{"404":{"description":"Booking segment not found.","schema":{"$ref":"#/definitions/HTTPError404"}},"200":{"description":"Request fulfilled, document follows","schema":{"$ref":"#/definitions/TaskResponseSchema"}}},"operationId":"post_rails_seat_map","security":[{"access_token":[]}],"tags":["rails"]}},"/rails/{booking_segment_id}/seat_preferences":{"parameters":[{"name":"booking_segment_id","in":"path","required":true,"type":"integer"}],"put":{"responses":{"404":{"description":"Booking segment not found.","schema":{"$ref":"#/definitions/HTTPError404"}},"204":{"description":"Request fulfilled, nothing follows"},"422":{"description":"Success","schema":{"$ref":"#/definitions/HTTPError422"}}},"operationId":"put_rails_seat_preferences","parameters":[{"in":"body","required":true,"name":"body","schema":{"$ref":"#/definitions/SeatPreferencesRequest"}}],"security":[{"access_token":[]}],"tags":["rails"]},"delete":{"responses":{"404":{"description":"Booking segment not found.","schema":{"$ref":"#/definitions/HTTPError404"}},"204":{"description":"Request fulfilled, nothing follows"}},"operationId":"delete_rails_seat_preferences","security":[{"access_token":[]}],"tags":["rails"]},"options":{"responses":{"404":{"description":"Booking segment not found.","schema":{"$ref":"#/definitions/HTTPError404"}},"204":{"description":"Request fulfilled, nothing follows"}},"summary":"Check which methods are allowed","description":"Use this method if you need to know what operations are allowed to be\nperformed on this endpoint, e.g. to decide wether to display a button\nin your UI.\n\nThe list of allowed methods is provided in `Allow` response header.","operationId":"options_rails_seat_preferences","security":[{"access_token":[]}],"tags":["rails"]},"post":{"responses":{"404":{"description":"Booking segment not found.","schema":{"$ref":"#/definitions/HTTPError404"}},"204":{"description":"Request fulfilled, nothing follows"},"422":{"description":"Success","schema":{"$ref":"#/definitions/HTTPError422"}}},"operationId":"post_rails_seat_preferences","parameters":[{"in":"body","required":true,"name":"body","schema":{"$ref":"#/definitions/SeatPreferencesRequest"}}],"security":[{"access_token":[]}],"tags":["rails"]}},"/rails/{booking_segment_id}/seats":{"parameters":[{"name":"booking_segment_id","in":"path","required":true,"type":"integer"}],"put":{"responses":{"404":{"description":"Booking segment not found.","schema":{"$ref":"#/definitions/HTTPError404"}},"204":{"description":"Request fulfilled, nothing follows"},"422":{"description":"Success","schema":{"$ref":"#/definitions/HTTPError422"}}},"operationId":"put_rails_manage_seats","parameters":[{"in":"body","required":true,"name":"body","schema":{"$ref":"#/definitions/SeatsBaseRequest"}}],"security":[{"access_token":[]}],"tags":["rails"]},"delete":{"responses":{"404":{"description":"Booking segment not found.","schema":{"$ref":"#/definitions/HTTPError404"}},"204":{"description":"Request fulfilled, nothing follows"},"422":{"description":"Success","schema":{"$ref":"#/definitions/HTTPError422"}}},"operationId":"delete_rails_manage_seats","parameters":[{"in":"body","required":true,"name":"body","schema":{"$ref":"#/definitions/SeatsBaseRequest"}}],"security":[{"access_token":[]}],"tags":["rails"]},"options":{"responses":{"404":{"description":"Booking segment not found.","schema":{"$ref":"#/definitions/HTTPError404"}},"204":{"description":"Request fulfilled, nothing follows"}},"summary":"Check which methods are allowed","description":"Use this method if you need to know what operations are allowed to be\nperformed on this endpoint, e.g. to decide wether to display a button\nin your UI.\n\nThe list of allowed methods is provided in `Allow` response header.","operationId":"options_rails_manage_seats","security":[{"access_token":[]}],"tags":["rails"]}},"/rails/{booking_segment_id}/seen_seat_preferences":{"parameters":[{"name":"booking_segment_id","in":"path","required":true,"type":"integer"}],"options":{"responses":{"404":{"description":"Booking segment not found.","schema":{"$ref":"#/definitions/HTTPError404"}},"204":{"description":"Request fulfilled, nothing follows"}},"summary":"Check which methods are allowed","description":"Use this method if you need to know what operations are allowed to be\nperformed on this endpoint, e.g. to decide wether to display a button\nin your UI.\n\nThe list of allowed methods is provided in `Allow` response header.","operationId":"options_rails_seen_seat_preferences","security":[{"access_token":[]}],"tags":["rails"]},"patch":{"responses":{"404":{"description":"Booking segment not found.","schema":{"$ref":"#/definitions/HTTPError404"}},"204":{"description":"Request fulfilled, nothing follows"},"422":{"description":"Success","schema":{"$ref":"#/definitions/HTTPError422"}}},"operationId":"patch_rails_seen_seat_preferences","parameters":[{"in":"body","required":true,"name":"body","schema":{"$ref":"#/definitions/RailsSeenSeatPreferences"}}],"security":[{"access_token":[]}],"tags":["rails"]}},"/register/":{"options":{"responses":{"204":{"description":"Request fulfilled, nothing follows"}},"summary":"Check which methods are allowed","description":"Use this method if you need to know what operations are allowed to be\nperformed on this endpoint, e.g. to decide wether to display a button\nin your UI.\n\nThe list of allowed methods is provided in `Allow` response header.","operationId":"options_register_resource","security":[{"access_token":[]}],"tags":["register"]},"post":{"responses":{"200":{"description":"login_status=2 (User exists)","schema":{"$ref":"#/definitions/LoginSchema"}},"404":{"description":"login_status=1 (Company does not exists) \nlogin_status=0 (User does not exists)","schema":{"$ref":"#/definitions/LoginSchema"}},"422":{"description":"Success","schema":{"$ref":"#/definitions/HTTPError422"}}},"operationId":"post_register_resource","parameters":[{"in":"body","required":true,"name":"body","schema":{"$ref":"#/definitions/RegisterParameters"}}],"security":[{"access_token":[]}],"tags":["register"]}},"/role_permissions/":{"get":{"responses":{"422":{"description":"Success","schema":{"$ref":"#/definitions/HTTPError422"}},"200":{"description":"Request fulfilled, document follows","schema":{"type":"array","items":{"$ref":"#/definitions/BaseRolePermissionSchema"}}}},"operationId":"get_role_permission_list","parameters":[{"in":"query","name":"permission","type":"string","enum":["Default","Register","BeforeOnBoarding","ViewOthers","ManageSystem","ManageUsers","ManageTrips","ViewAllReports","ViewManagedGroupReports","Admin"],"required":false},{"in":"query","name":"role_id","type":"integer","required":false}],"security":[{"access_token":[]}],"tags":["role_permissions"]},"options":{"responses":{"204":{"description":"Request fulfilled, nothing follows"}},"summary":"Check which methods are allowed","description":"Use this method if you need to know what operations are allowed to be\nperformed on this endpoint, e.g. to decide wether to display a button\nin your UI.\n\nThe list of allowed methods is provided in `Allow` response header.","operationId":"options_role_permission_list","security":[{"access_token":[]}],"tags":["role_permissions"]},"post":{"responses":{"409":{"description":"Request conflict","schema":{"$ref":"#/definitions/HTTPError409"}},"403":{"description":"Request forbidden -- authorization will not help","schema":{"$ref":"#/definitions/HTTPError403"}},"200":{"description":"Request fulfilled, document follows","schema":{"$ref":"#/definitions/DetailedRolePermissionSchema"}},"422":{"description":"Success","schema":{"$ref":"#/definitions/HTTPError422"}}},"operationId":"post_role_permission_list","parameters":[{"in":"body","required":true,"name":"body","schema":{"$ref":"#/definitions/AddRolePermissionParameters"}}],"security":[{"access_token":[]}],"tags":["role_permissions"]}},"/role_permissions/{role_permission_id}":{"parameters":[{"name":"role_permission_id","in":"path","required":true,"type":"integer"}],"get":{"responses":{"404":{"description":"RolePermission not found.","schema":{"$ref":"#/definitions/HTTPError404"}},"200":{"description":"Request fulfilled, document follows","schema":{"$ref":"#/definitions/DetailedRolePermissionSchema"}}},"operationId":"get_role_permission_resource","security":[{"access_token":[]}],"tags":["role_permissions"]},"put":{"responses":{"404":{"description":"RolePermission not found.","schema":{"$ref":"#/definitions/HTTPError404"}},"409":{"description":"Request conflict","schema":{"$ref":"#/definitions/HTTPError409"}},"200":{"description":"Request fulfilled, document follows","schema":{"$ref":"#/definitions/DetailedRolePermissionSchema"}},"422":{"description":"Success","schema":{"$ref":"#/definitions/HTTPError422"}}},"operationId":"put_role_permission_resource","parameters":[{"in":"body","required":true,"name":"body","schema":{"$ref":"#/definitions/AddRolePermissionParameters"}}],"security":[{"access_token":[]}],"tags":["role_permissions"]},"options":{"responses":{"404":{"description":"RolePermission not found.","schema":{"$ref":"#/definitions/HTTPError404"}},"204":{"description":"Request fulfilled, nothing follows"}},"summary":"Check which methods are allowed","description":"Use this method if you need to know what operations are allowed to be\nperformed on this endpoint, e.g. to decide wether to display a button\nin your UI.\n\nThe list of allowed methods is provided in `Allow` response header.","operationId":"options_role_permission_resource","security":[{"access_token":[]}],"tags":["role_permissions"]}},"/roles/":{"get":{"responses":{"200":{"description":"Request fulfilled, document follows","schema":{"type":"array","items":{"$ref":"#/definitions/BaseRoleSchema"}}}},"operationId":"get_role_list","security":[{"access_token":[]}],"tags":["roles"]},"options":{"responses":{"204":{"description":"Request fulfilled, nothing follows"}},"summary":"Check which methods are allowed","description":"Use this method if you need to know what operations are allowed to be\nperformed on this endpoint, e.g. to decide wether to display a button\nin your UI.\n\nThe list of allowed methods is provided in `Allow` response header.","operationId":"options_role_list","security":[{"access_token":[]}],"tags":["roles"]},"post":{"responses":{"409":{"description":"Request conflict","schema":{"$ref":"#/definitions/HTTPError409"}},"403":{"description":"Request forbidden -- authorization will not help","schema":{"$ref":"#/definitions/HTTPError403"}},"200":{"description":"Request fulfilled, document follows","schema":{"$ref":"#/definitions/DetailedRoleSchema"}},"422":{"description":"Success","schema":{"$ref":"#/definitions/HTTPError422"}}},"operationId":"post_role_list","parameters":[{"in":"body","required":true,"name":"body","schema":{"$ref":"#/definitions/AddRoleParameters"}}],"security":[{"access_token":[]}],"tags":["roles"]}},"/roles/{role_id}":{"parameters":[{"name":"role_id","in":"path","required":true,"type":"integer"}],"get":{"responses":{"404":{"description":"Role not found.","schema":{"$ref":"#/definitions/HTTPError404"}},"200":{"description":"Request fulfilled, document follows","schema":{"$ref":"#/definitions/DetailedRoleSchema"}}},"operationId":"get_role_resource","security":[{"access_token":[]}],"tags":["roles"]},"put":{"responses":{"404":{"description":"Role not found.","schema":{"$ref":"#/definitions/HTTPError404"}},"409":{"description":"Request conflict","schema":{"$ref":"#/definitions/HTTPError409"}},"200":{"description":"Request fulfilled, document follows","schema":{"$ref":"#/definitions/DetailedRoleSchema"}},"422":{"description":"Success","schema":{"$ref":"#/definitions/HTTPError422"}}},"operationId":"put_role_resource","parameters":[{"in":"body","required":true,"name":"body","schema":{"$ref":"#/definitions/AddRoleParameters"}}],"security":[{"access_token":[]}],"tags":["roles"]},"options":{"responses":{"404":{"description":"Role not found.","schema":{"$ref":"#/definitions/HTTPError404"}},"204":{"description":"Request fulfilled, nothing follows"}},"summary":"Check which methods are allowed","description":"Use this method if you need to know what operations are allowed to be\nperformed on this endpoint, e.g. to decide wether to display a button\nin your UI.\n\nThe list of allowed methods is provided in `Allow` response header.","operationId":"options_role_resource","security":[{"access_token":[]}],"tags":["roles"]}},"/search/":{"options":{"responses":{"204":{"description":"Request fulfilled, nothing follows"}},"summary":"Check which methods are allowed","description":"Use this method if you need to know what operations are allowed to be\nperformed on this endpoint, e.g. to decide wether to display a button\nin your UI.\n\nThe list of allowed methods is provided in `Allow` response header.","operationId":"options_search_resource","security":[{"access_token":[]}],"tags":["search"]},"post":{"responses":{"202":{"description":"Request accepted, processing continues off-line","schema":{"$ref":"#/definitions/DetailedSearchResultsSchema"}},"422":{"description":"Success","schema":{"$ref":"#/definitions/HTTPError422"}}},"operationId":"post_search_resource","parameters":[{"in":"body","required":true,"name":"body","schema":{"$ref":"#/definitions/SearchParameters"}}],"security":[{"access_token":[]}],"tags":["search"]}},"/search/hotel_get_availability/result":{"get":{"responses":{"200":{"description":"Request fulfilled, document follows","schema":{"$ref":"#/definitions/TaskResultsResponseSchema"}},"422":{"description":"Success","schema":{"$ref":"#/definitions/HTTPError422"}}},"operationId":"get_get_hotel_get_availability_task_result","parameters":[{"in":"query","name":"job_id","type":"string","required":true}],"security":[{"access_token":[]}],"tags":["search"]},"options":{"responses":{"204":{"description":"Request fulfilled, nothing follows"}},"summary":"Check which methods are allowed","description":"Use this method if you need to know what operations are allowed to be\nperformed on this endpoint, e.g. to decide wether to display a button\nin your UI.\n\nThe list of allowed methods is provided in `Allow` response header.","operationId":"options_get_hotel_get_availability_task_result","security":[{"access_token":[]}],"tags":["search"]}},"/search/recent_searches":{"get":{"responses":{"200":{"description":"Request fulfilled, document follows","schema":{"$ref":"#/definitions/RecentSearchesSchema"}},"422":{"description":"Success","schema":{"$ref":"#/definitions/HTTPError422"}}},"operationId":"get_recent_searches_resource","parameters":[{"in":"query","name":"num_of_searches","type":"integer","required":false},{"in":"query","name":"search_type","default":null,"x-nullable":true,"type":"string","enum":["flights","hotels","cars","rails"],"required":false},{"in":"query","name":"timezone_offset","type":"integer","required":true}],"security":[{"access_token":[]}],"tags":["search"]},"options":{"responses":{"204":{"description":"Request fulfilled, nothing follows"}},"summary":"Check which methods are allowed","description":"Use this method if you need to know what operations are allowed to be\nperformed on this endpoint, e.g. to decide wether to display a button\nin your UI.\n\nThe list of allowed methods is provided in `Allow` response header.","operationId":"options_recent_searches_resource","security":[{"access_token":[]}],"tags":["search"]}},"/search/{search_id}":{"parameters":[{"name":"search_id","in":"path","required":true,"type":"integer"}],"get":{"responses":{"404":{"description":"Search not found.","schema":{"$ref":"#/definitions/HTTPError404"}},"200":{"description":"Request fulfilled, document follows","schema":{"$ref":"#/definitions/BaseSearchSchema"}}},"operationId":"get_existing_search_resource","security":[{"access_token":[]}],"tags":["search"]},"put":{"responses":{"404":{"description":"Search not found.","schema":{"$ref":"#/definitions/HTTPError404"}},"202":{"description":"Request accepted, processing continues off-line","schema":{"$ref":"#/definitions/DetailedSearchResultsSchema"}},"422":{"description":"Success","schema":{"$ref":"#/definitions/HTTPError422"}}},"operationId":"put_existing_search_resource","parameters":[{"in":"body","required":true,"name":"body","schema":{"$ref":"#/definitions/SearchUpdateParameters"}}],"security":[{"access_token":[]}],"tags":["search"]},"options":{"responses":{"404":{"description":"Search not found.","schema":{"$ref":"#/definitions/HTTPError404"}},"204":{"description":"Request fulfilled, nothing follows"}},"summary":"Check which methods are allowed","description":"Use this method if you need to know what operations are allowed to be\nperformed on this endpoint, e.g. to decide wether to display a button\nin your UI.\n\nThe list of allowed methods is provided in `Allow` response header.","operationId":"options_existing_search_resource","security":[{"access_token":[]}],"tags":["search"]}},"/search/{search_id}/hotels/get_availability":{"parameters":[{"name":"search_id","in":"path","required":true,"type":"integer"}],"options":{"responses":{"404":{"description":"Search not found.","schema":{"$ref":"#/definitions/HTTPError404"}},"204":{"description":"Request fulfilled, nothing follows"}},"summary":"Check which methods are allowed","description":"Use this method if you need to know what operations are allowed to be\nperformed on this endpoint, e.g. to decide wether to display a button\nin your UI.\n\nThe list of allowed methods is provided in `Allow` response header.","operationId":"options_get_hotel_get_availability_search_results_resource","security":[{"access_token":[]}],"tags":["search"]},"post":{"responses":{"404":{"description":"Search not found.","schema":{"$ref":"#/definitions/HTTPError404"}},"200":{"description":"Request fulfilled, document follows","schema":{"$ref":"#/definitions/TaskResponseSchema"}},"422":{"description":"Success","schema":{"$ref":"#/definitions/HTTPError422"}}},"operationId":"post_get_hotel_get_availability_search_results_resource","parameters":[{"in":"body","required":true,"name":"body","schema":{"$ref":"#/definitions/HotelGetAvailabilitySearchResultsParameters"}}],"security":[{"access_token":[]}],"tags":["search"]}},"/search/{search_id}/results":{"parameters":[{"name":"search_id","in":"path","required":true,"type":"integer"}],"get":{"responses":{"404":{"description":"Search not found.","schema":{"$ref":"#/definitions/HTTPError404"}},"200":{"description":"For flight search: The final result will be empty if vendor throw exception in result or doesn't provide any.","schema":{"$ref":"#/definitions/DetailedSearchResultsSchema"}},"422":{"description":"Success","schema":{"$ref":"#/definitions/HTTPError422"}}},"operationId":"get_get_search_results_resource","parameters":[{"in":"query","name":"limit","type":"integer","required":false},{"in":"query","name":"last_seen_result_index","type":"integer","required":false},{"in":"query","name":"type","type":"string","enum":["outward","inward","open_return","seat_only"],"required":false},{"in":"query","name":"pagination","type":"boolean","required":false}],"security":[{"access_token":[]}],"tags":["search"]},"options":{"responses":{"404":{"description":"Search not found.","schema":{"$ref":"#/definitions/HTTPError404"}},"204":{"description":"Request fulfilled, nothing follows"}},"summary":"Check which methods are allowed","description":"Use this method if you need to know what operations are allowed to be\nperformed on this endpoint, e.g. to decide wether to display a button\nin your UI.\n\nThe list of allowed methods is provided in `Allow` response header.","operationId":"options_get_search_results_resource","security":[{"access_token":[]}],"tags":["search"]}},"/search/{search_id}/unused_tickets":{"parameters":[{"name":"search_id","in":"path","required":true,"type":"integer"}],"get":{"responses":{"404":{"description":"Search not found.","schema":{"$ref":"#/definitions/HTTPError404"}},"200":{"description":"Request fulfilled, document follows","schema":{"$ref":"#/definitions/TicketSchema"}}},"operationId":"get_get_search_results_resource","security":[{"access_token":[]}],"tags":["search"]},"options":{"responses":{"404":{"description":"Search not found.","schema":{"$ref":"#/definitions/HTTPError404"}},"204":{"description":"Request fulfilled, nothing follows"}},"summary":"Check which methods are allowed","description":"Use this method if you need to know what operations are allowed to be\nperformed on this endpoint, e.g. to decide wether to display a button\nin your UI.\n\nThe list of allowed methods is provided in `Allow` response header.","operationId":"options_get_search_results_resource","security":[{"access_token":[]}],"tags":["search"]}},"/sessions/":{"get":{"responses":{"200":{"description":"Request fulfilled, document follows","schema":{"$ref":"#/definitions/SessionSchema"}}},"operationId":"get_session_resource","security":[{"access_token":[]}],"tags":["sessions"]},"options":{"responses":{"204":{"description":"Request fulfilled, nothing follows"}},"summary":"Check which methods are allowed","description":"Use this method if you need to know what operations are allowed to be\nperformed on this endpoint, e.g. to decide wether to display a button\nin your UI.\n\nThe list of allowed methods is provided in `Allow` response header.","operationId":"options_session_resource","security":[{"access_token":[]}],"tags":["sessions"]},"post":{"responses":{"200":{"description":"Request fulfilled, document follows","schema":{"$ref":"#/definitions/SessionSchema"}}},"operationId":"post_session_resource","security":[{"access_token":[]}],"tags":["sessions"]}},"/sites/":{"get":{"responses":{"200":{"description":"Request fulfilled, document follows","schema":{"type":"array","items":{"$ref":"#/definitions/SearchSitesSchema"}}},"422":{"description":"Success","schema":{"$ref":"#/definitions/HTTPError422"}}},"operationId":"get_sites_list","parameters":[{"in":"query","name":"search","type":"string","required":false},{"in":"query","name":"limit","type":"integer","x-nullable":true,"required":false}],"security":[{"access_token":[]}],"tags":["sites"]},"options":{"responses":{"204":{"description":"Request fulfilled, nothing follows"}},"summary":"Check which methods are allowed","description":"Use this method if you need to know what operations are allowed to be\nperformed on this endpoint, e.g. to decide wether to display a button\nin your UI.\n\nThe list of allowed methods is provided in `Allow` response header.","operationId":"options_sites_list","security":[{"access_token":[]}],"tags":["sites"]}},"/sso/connections":{"get":{"responses":{"200":{"description":"Success"}},"operationId":"list_sso_connections","security":[{"access_token":[]}],"tags":["sso"]},"options":{"responses":{"204":{"description":"Request fulfilled, nothing follows"}},"summary":"Check which methods are allowed","description":"Use this method if you need to know what operations are allowed to be\nperformed on this endpoint, e.g. to decide wether to display a button\nin your UI.\n\nThe list of allowed methods is provided in `Allow` response header.","operationId":"options_sso_connection_list","security":[{"access_token":[]}],"tags":["sso"]},"post":{"responses":{"200":{"description":"Success"}},"summary":"Create a new SAML SSO connection in Auth0","operationId":"create_sso_connection","parameters":[{"name":"payload","required":true,"in":"body","schema":{"$ref":"#/definitions/SAMLConnectionCreate"}}],"security":[{"access_token":[]}],"tags":["sso"]}},"/sso/connections/draft":{"options":{"responses":{"204":{"description":"Request fulfilled, nothing follows"}},"summary":"Check which methods are allowed","description":"Use this method if you need to know what operations are allowed to be\nperformed on this endpoint, e.g. to decide wether to display a button\nin your UI.\n\nThe list of allowed methods is provided in `Allow` response header.","operationId":"options_sso_connection_draft","security":[{"access_token":[]}],"tags":["sso"]},"post":{"responses":{"200":{"description":"Success"}},"summary":"Create a new SAML SSO connection in Auth0","operationId":"create_sso_connection","parameters":[{"name":"payload","required":true,"in":"body","schema":{"$ref":"#/definitions/SAMLConnectionCreate"}}],"security":[{"access_token":[]}],"tags":["sso"]}},"/sso/connections/parse-metadata":{"options":{"responses":{"204":{"description":"Request fulfilled, nothing follows"}},"summary":"Check which methods are allowed","description":"Use this method if you need to know what operations are allowed to be\nperformed on this endpoint, e.g. to decide wether to display a button\nin your UI.\n\nThe list of allowed methods is provided in `Allow` response header.","operationId":"options_sso_parse_metadata","security":[{"access_token":[]}],"tags":["sso"]},"post":{"responses":{"200":{"description":"Success"}},"summary":"Parse IdP SAML metadata XML and validate the certificate expiry (min 6 months)","description":"Frontend sends the XML file contents as a JSON string.\nOn success returns the extracted sign_in_url, signing_cert, and entity_id\nwhich the frontend pre-fills into the form fields.","operationId":"parse_sso_metadata","parameters":[{"name":"payload","required":true,"in":"body","schema":{"$ref":"#/definitions/SAMLParseMetadata"}}],"security":[{"access_token":[]}],"tags":["sso"]}},"/sso/connections/{connection_id}":{"parameters":[{"name":"connection_id","in":"path","required":true,"type":"string"}],"get":{"responses":{"200":{"description":"Success"}},"summary":"Get details of a SAML SSO connection including SP metadata","operationId":"get_sso_connection","security":[{"access_token":[]}],"tags":["sso"]},"put":{"responses":{"200":{"description":"Success"}},"summary":"Update a SAML SSO connection","operationId":"update_sso_connection","parameters":[{"name":"payload","required":true,"in":"body","schema":{"$ref":"#/definitions/SAMLConnectionUpdate"}}],"security":[{"access_token":[]}],"tags":["sso"]},"delete":{"responses":{"200":{"description":"Success"}},"summary":"Delete a SAML SSO connection from Auth0","operationId":"delete_sso_connection","security":[{"access_token":[]}],"tags":["sso"]},"options":{"responses":{"204":{"description":"Request fulfilled, nothing follows"}},"summary":"Check which methods are allowed","description":"Use this method if you need to know what operations are allowed to be\nperformed on this endpoint, e.g. to decide wether to display a button\nin your UI.\n\nThe list of allowed methods is provided in `Allow` response header.","operationId":"options_sso_connection_detail","security":[{"access_token":[]}],"tags":["sso"]}},"/sso/connections/{connection_id}/activate":{"parameters":[{"name":"connection_id","in":"path","required":true,"type":"string"}],"options":{"responses":{"204":{"description":"Request fulfilled, nothing follows"}},"summary":"Check which methods are allowed","description":"Use this method if you need to know what operations are allowed to be\nperformed on this endpoint, e.g. to decide wether to display a button\nin your UI.\n\nThe list of allowed methods is provided in `Allow` response header.","operationId":"options_sso_connection_activate","security":[{"access_token":[]}],"tags":["sso"]},"post":{"responses":{"200":{"description":"Success"}},"summary":"Enable a draft SAML connection for real Auth0 clients","description":"Called by the frontend 'Create Connection' button ONLY after\nthe admin has completed a successful test login via the test_login_url.\nThis is a no-op guard \u2014 if the connection is already active it returns an error.","operationId":"activate_sso_connection","parameters":[{"name":"payload","required":true,"in":"body","schema":{"$ref":"#/definitions/SAMLActivateConnection"}}],"security":[{"access_token":[]}],"tags":["sso"]}},"/sso/connections/{connection_id}/disable/{client_id}":{"parameters":[{"name":"connection_id","in":"path","required":true,"type":"string"},{"name":"client_id","in":"path","required":true,"type":"string"}],"options":{"responses":{"204":{"description":"Request fulfilled, nothing follows"}},"summary":"Check which methods are allowed","description":"Use this method if you need to know what operations are allowed to be\nperformed on this endpoint, e.g. to decide wether to display a button\nin your UI.\n\nThe list of allowed methods is provided in `Allow` response header.","operationId":"options_sso_connection_disable_client","security":[{"access_token":[]}],"tags":["sso"]},"post":{"responses":{"200":{"description":"Success"}},"summary":"Disable a SAML connection for an Auth0 client/application","operationId":"disable_sso_for_client","security":[{"access_token":[]}],"tags":["sso"]}},"/sso/connections/{connection_id}/enable/{client_id}":{"parameters":[{"name":"connection_id","in":"path","required":true,"type":"string"},{"name":"client_id","in":"path","required":true,"type":"string"}],"options":{"responses":{"204":{"description":"Request fulfilled, nothing follows"}},"summary":"Check which methods are allowed","description":"Use this method if you need to know what operations are allowed to be\nperformed on this endpoint, e.g. to decide wether to display a button\nin your UI.\n\nThe list of allowed methods is provided in `Allow` response header.","operationId":"options_sso_connection_enable_client","security":[{"access_token":[]}],"tags":["sso"]},"post":{"responses":{"200":{"description":"Success"}},"summary":"Enable a SAML connection for an Auth0 client/application","operationId":"enable_sso_for_client","security":[{"access_token":[]}],"tags":["sso"]}},"/states/":{"get":{"responses":{"422":{"description":"Success","schema":{"$ref":"#/definitions/HTTPError422"}}},"operationId":"get_states_list","parameters":[{"in":"query","name":"country_code","type":"string","required":true}],"security":[{"access_token":[]}],"tags":["states"]},"options":{"responses":{"204":{"description":"Request fulfilled, nothing follows"}},"summary":"Check which methods are allowed","description":"Use this method if you need to know what operations are allowed to be\nperformed on this endpoint, e.g. to decide wether to display a button\nin your UI.\n\nThe list of allowed methods is provided in `Allow` response header.","operationId":"options_states_list","security":[{"access_token":[]}],"tags":["states"]}},"/system/companies":{"get":{"responses":{"200":{"description":"Request fulfilled, document follows","schema":{"type":"array","items":{"$ref":"#/definitions/DetailedCompanySchema"}}}},"operationId":"system-companies","security":[{"access_token":[]}],"tags":["system"]},"options":{"responses":{"204":{"description":"Request fulfilled, nothing follows"}},"summary":"Check which methods are allowed","description":"Use this method if you need to know what operations are allowed to be\nperformed on this endpoint, e.g. to decide wether to display a button\nin your UI.\n\nThe list of allowed methods is provided in `Allow` response header.","operationId":"options_system_companies","security":[{"access_token":[]}],"tags":["system"]}},"/system/companies/support":{"options":{"responses":{"204":{"description":"Request fulfilled, nothing follows"}},"summary":"Check which methods are allowed","description":"Use this method if you need to know what operations are allowed to be\nperformed on this endpoint, e.g. to decide wether to display a button\nin your UI.\n\nThe list of allowed methods is provided in `Allow` response header.","operationId":"options_system_companies_support","security":[{"access_token":[]}],"tags":["system"]},"post":{"responses":{"404":{"description":"Nothing matches the given URI","schema":{"$ref":"#/definitions/HTTPError404"}},"202":{"description":"Request accepted, processing continues off-line"},"400":{"description":"Bad request syntax or unsupported method","schema":{"$ref":"#/definitions/HTTPError400"}},"422":{"description":"Success","schema":{"$ref":"#/definitions/HTTPError422"}}},"operationId":"system-companies-support","parameters":[{"in":"body","required":true,"name":"body","schema":{"$ref":"#/definitions/AnyData"}}],"security":[{"access_token":[]}],"tags":["system"]}},"/system/manage":{"options":{"responses":{"204":{"description":"Request fulfilled, nothing follows"}},"summary":"Check which methods are allowed","description":"Use this method if you need to know what operations are allowed to be\nperformed on this endpoint, e.g. to decide wether to display a button\nin your UI.\n\nThe list of allowed methods is provided in `Allow` response header.","operationId":"options_system_manage","security":[{"access_token":[]}],"tags":["system"]},"post":{"responses":{"202":{"description":"Request accepted, processing continues off-line"},"422":{"description":"Success","schema":{"$ref":"#/definitions/HTTPError422"}}},"operationId":"manage","parameters":[{"in":"body","required":true,"name":"body","schema":{"$ref":"#/definitions/AnyData"}}],"security":[{"access_token":[]}],"tags":["system"]}},"/system/trips/{trip_id}/approve/{user_id}":{"parameters":[{"name":"trip_id","in":"path","required":true,"type":"integer"},{"name":"user_id","in":"path","required":true,"type":"integer"}],"options":{"responses":{"204":{"description":"Request fulfilled, nothing follows"}},"summary":"Check which methods are allowed","description":"Use this method if you need to know what operations are allowed to be\nperformed on this endpoint, e.g. to decide wether to display a button\nin your UI.\n\nThe list of allowed methods is provided in `Allow` response header.","operationId":"options_system_trip_approve_support","security":[{"access_token":[]}],"tags":["system"]},"post":{"responses":{"202":{"description":"Request accepted, processing continues off-line"}},"operationId":"post_system_trip_approve_support","security":[{"access_token":[]}],"tags":["system"]}},"/system/trips/{trip_id}/book":{"parameters":[{"name":"trip_id","in":"path","required":true,"type":"integer"}],"options":{"responses":{"204":{"description":"Request fulfilled, nothing follows"}},"summary":"Check which methods are allowed","description":"Use this method if you need to know what operations are allowed to be\nperformed on this endpoint, e.g. to decide wether to display a button\nin your UI.\n\nThe list of allowed methods is provided in `Allow` response header.","operationId":"options_system_trip_book_support","security":[{"access_token":[]}],"tags":["system"]},"post":{"responses":{"200":{"description":"Request fulfilled, document follows","schema":{"$ref":"#/definitions/TripStatusSchema"}}},"operationId":"post_system_trip_book_support","security":[{"access_token":[]}],"tags":["system"]}},"/three_d_secure/log":{"options":{"responses":{"204":{"description":"Request fulfilled, nothing follows"}},"summary":"Check which methods are allowed","description":"Use this method if you need to know what operations are allowed to be\nperformed on this endpoint, e.g. to decide wether to display a button\nin your UI.\n\nThe list of allowed methods is provided in `Allow` response header.","operationId":"options_three_d_secure_log","security":[{"access_token":[]}],"tags":["three_d_secure"]},"post":{"responses":{"202":{"description":"Log accepted"},"422":{"description":"Success","schema":{"$ref":"#/definitions/HTTPError422"}}},"operationId":"post_three_d_secure_log","parameters":[{"in":"body","required":true,"name":"body","schema":{"$ref":"#/definitions/ThreeDSecureLog"}}],"security":[{"access_token":[]}],"tags":["three_d_secure"]}},"/travel_map/":{"get":{"responses":{"200":{"description":"Request fulfilled, document follows","schema":{"$ref":"#/definitions/TravelMapSchema"}}},"operationId":"get_travel_map_resource","security":[{"access_token":[]}],"tags":["travel_map"]},"options":{"responses":{"204":{"description":"Request fulfilled, nothing follows"}},"summary":"Check which methods are allowed","description":"Use this method if you need to know what operations are allowed to be\nperformed on this endpoint, e.g. to decide wether to display a button\nin your UI.\n\nThe list of allowed methods is provided in `Allow` response header.","operationId":"options_travel_map_resource","security":[{"access_token":[]}],"tags":["travel_map"]}},"/travel_profile/":{"options":{"responses":{"204":{"description":"Request fulfilled, nothing follows"}},"summary":"Check which methods are allowed","description":"Use this method if you need to know what operations are allowed to be\nperformed on this endpoint, e.g. to decide wether to display a button\nin your UI.\n\nThe list of allowed methods is provided in `Allow` response header.","operationId":"options_travelers_list","security":[{"access_token":[]}],"tags":["travel_profile"]},"post":{"responses":{"409":{"description":"Request conflict","schema":{"$ref":"#/definitions/HTTPError409"}},"403":{"description":"Request forbidden -- authorization will not help","schema":{"$ref":"#/definitions/HTTPError403"}},"200":{"description":"Request fulfilled, document follows","schema":{"$ref":"#/definitions/DetailedTravelerSchema"}},"422":{"description":"Success","schema":{"$ref":"#/definitions/HTTPError422"}}},"operationId":"create_user","parameters":[{"in":"body","required":true,"name":"body","schema":{"$ref":"#/definitions/AddTravelerParameters"}}],"security":[{"access_token":[]}],"tags":["travel_profile"]}},"/travel_profile/car_loyalty_programs":{"get":{"responses":{"200":{"description":"Get all car loyalty programs","schema":{"type":"array","items":{"$ref":"#/definitions/BaseCarLoyaltyProgramSchema"}}}},"operationId":"get_car_loyalty_program_list","security":[{"access_token":[]}],"tags":["travel_profile"]},"options":{"responses":{"204":{"description":"Request fulfilled, nothing follows"}},"summary":"Check which methods are allowed","description":"Use this method if you need to know what operations are allowed to be\nperformed on this endpoint, e.g. to decide wether to display a button\nin your UI.\n\nThe list of allowed methods is provided in `Allow` response header.","operationId":"options_car_loyalty_program_list","security":[{"access_token":[]}],"tags":["travel_profile"]}},"/travel_profile/national_ids/{nationalid_id}/status":{"parameters":[{"name":"nationalid_id","in":"path","required":true,"type":"integer"}],"get":{"responses":{"200":{"description":"Request fulfilled, document follows","schema":{"$ref":"#/definitions/NationalIDStatusSchema"}}},"operationId":"get_national_id_status_resource","security":[{"access_token":[]}],"tags":["travel_profile"]},"options":{"responses":{"204":{"description":"Request fulfilled, nothing follows"}},"summary":"Check which methods are allowed","description":"Use this method if you need to know what operations are allowed to be\nperformed on this endpoint, e.g. to decide wether to display a button\nin your UI.\n\nThe list of allowed methods is provided in `Allow` response header.","operationId":"options_national_id_status_resource","security":[{"access_token":[]}],"tags":["travel_profile"]}},"/travel_profile/passports/{passport_id}/status":{"parameters":[{"name":"passport_id","in":"path","required":true,"type":"integer"}],"get":{"responses":{"200":{"description":"Request fulfilled, document follows","schema":{"$ref":"#/definitions/PassportStatusSchema"}}},"operationId":"get_passport_status_resource","security":[{"access_token":[]}],"tags":["travel_profile"]},"options":{"responses":{"204":{"description":"Request fulfilled, nothing follows"}},"summary":"Check which methods are allowed","description":"Use this method if you need to know what operations are allowed to be\nperformed on this endpoint, e.g. to decide wether to display a button\nin your UI.\n\nThe list of allowed methods is provided in `Allow` response header.","operationId":"options_passport_status_resource","security":[{"access_token":[]}],"tags":["travel_profile"]}},"/travel_profile/rail_card_bulk":{"options":{"responses":{"204":{"description":"Request fulfilled, nothing follows"}},"summary":"Check which methods are allowed","description":"Use this method if you need to know what operations are allowed to be\nperformed on this endpoint, e.g. to decide wether to display a button\nin your UI.\n\nThe list of allowed methods is provided in `Allow` response header.","operationId":"options_bulk_traveler_rail_cards_list","security":[{"access_token":[]}],"tags":["travel_profile"]},"post":{"responses":{"200":{"description":"Rail cards were added to multiple traveler profiles","schema":{"type":"array","items":{"$ref":"#/definitions/DetailedTravelerRailCardSchema"}}},"422":{"description":"Success","schema":{"$ref":"#/definitions/HTTPError422"}}},"operationId":"post_bulk_traveler_rail_cards_list","parameters":[{"in":"body","required":true,"name":"body","schema":{"$ref":"#/definitions/BulkAddTravelerRailCardParameters"}}],"security":[{"access_token":[]}],"tags":["travel_profile"]}},"/travel_profile/{user_id}":{"parameters":[{"name":"user_id","in":"path","required":true,"type":"integer"}],"get":{"responses":{"404":{"description":"Traveler not found.","schema":{"$ref":"#/definitions/HTTPError404"}},"200":{"description":"Request fulfilled, document follows","schema":{"$ref":"#/definitions/DetailedTravelerSchema"}}},"operationId":"get_traveler_resource","security":[{"access_token":[]}],"tags":["travel_profile"]},"put":{"responses":{"404":{"description":"Traveler not found.","schema":{"$ref":"#/definitions/HTTPError404"}},"409":{"description":"Request conflict","schema":{"$ref":"#/definitions/HTTPError409"}},"200":{"description":"Request fulfilled, document follows","schema":{"$ref":"#/definitions/DetailedTravelerSchema"}},"422":{"description":"Success","schema":{"$ref":"#/definitions/HTTPError422"}}},"operationId":"put_traveler_resource","parameters":[{"in":"body","required":true,"name":"body","schema":{"$ref":"#/definitions/AddTravelerParameters"}}],"security":[{"access_token":[]}],"tags":["travel_profile"]},"delete":{"responses":{"404":{"description":"Traveler not found.","schema":{"$ref":"#/definitions/HTTPError404"}},"202":{"description":"remove traveler"}},"operationId":"delete_traveler_resource","security":[{"access_token":[]}],"tags":["travel_profile"]},"options":{"responses":{"404":{"description":"Traveler not found.","schema":{"$ref":"#/definitions/HTTPError404"}},"204":{"description":"Request fulfilled, nothing follows"}},"summary":"Check which methods are allowed","description":"Use this method if you need to know what operations are allowed to be\nperformed on this endpoint, e.g. to decide wether to display a button\nin your UI.\n\nThe list of allowed methods is provided in `Allow` response header.","operationId":"options_traveler_resource","security":[{"access_token":[]}],"tags":["travel_profile"]}},"/travel_profile/{user_id}/car_loyalty":{"parameters":[{"name":"user_id","in":"path","required":true,"type":"integer"}],"get":{"responses":{"200":{"description":"get all travelers car loyalty programs","schema":{"type":"array","items":{"$ref":"#/definitions/DetailedCarLoyaltySchema"}}}},"operationId":"get_car_loyalty_list","security":[{"access_token":[]}],"tags":["travel_profile"]},"options":{"responses":{"204":{"description":"Request fulfilled, nothing follows"}},"summary":"Check which methods are allowed","description":"Use this method if you need to know what operations are allowed to be\nperformed on this endpoint, e.g. to decide wether to display a button\nin your UI.\n\nThe list of allowed methods is provided in `Allow` response header.","operationId":"options_car_loyalty_list","security":[{"access_token":[]}],"tags":["travel_profile"]},"post":{"responses":{"200":{"description":"add car loyalty program","schema":{"$ref":"#/definitions/DetailedCarLoyaltySchema"}},"422":{"description":"Success","schema":{"$ref":"#/definitions/HTTPError422"}}},"operationId":"post_car_loyalty_list","parameters":[{"in":"body","required":true,"name":"body","schema":{"$ref":"#/definitions/AddCarLoyalty"}}],"security":[{"access_token":[]}],"tags":["travel_profile"]}},"/travel_profile/{user_id}/car_loyalty/{program_id}":{"parameters":[{"name":"user_id","in":"path","required":true,"type":"integer"},{"name":"program_id","in":"path","required":true,"type":"integer"}],"get":{"responses":{"200":{"description":"Request fulfilled, document follows","schema":{"$ref":"#/definitions/DetailedCarLoyaltySchema"}}},"operationId":"get_car_loyalty_resource","security":[{"access_token":[]}],"tags":["travel_profile"]},"put":{"responses":{"202":{"description":"car loyalty program update"},"422":{"description":"Success","schema":{"$ref":"#/definitions/HTTPError422"}},"200":{"description":"Request fulfilled, document follows","schema":{"$ref":"#/definitions/DetailedCarLoyaltySchema"}}},"operationId":"put_car_loyalty_resource","parameters":[{"in":"body","required":true,"name":"body","schema":{"$ref":"#/definitions/AddCarLoyalty"}}],"security":[{"access_token":[]}],"tags":["travel_profile"]},"delete":{"responses":{"202":{"description":"remove car loyalty program"}},"operationId":"delete_car_loyalty_resource","security":[{"access_token":[]}],"tags":["travel_profile"]},"options":{"responses":{"204":{"description":"Request fulfilled, nothing follows"}},"summary":"Check which methods are allowed","description":"Use this method if you need to know what operations are allowed to be\nperformed on this endpoint, e.g. to decide wether to display a button\nin your UI.\n\nThe list of allowed methods is provided in `Allow` response header.","operationId":"options_car_loyalty_resource","security":[{"access_token":[]}],"tags":["travel_profile"]}},"/travel_profile/{user_id}/frequent_flyer":{"parameters":[{"name":"user_id","in":"path","required":true,"type":"integer"}],"get":{"responses":{"200":{"description":"get all travelers frequent flyer cards","schema":{"type":"array","items":{"$ref":"#/definitions/DetailedFrequentFlyerCardSchema"}}}},"operationId":"get_frequent_flyer_cards_list","security":[{"access_token":[]}],"tags":["travel_profile"]},"options":{"responses":{"204":{"description":"Request fulfilled, nothing follows"}},"summary":"Check which methods are allowed","description":"Use this method if you need to know what operations are allowed to be\nperformed on this endpoint, e.g. to decide wether to display a button\nin your UI.\n\nThe list of allowed methods is provided in `Allow` response header.","operationId":"options_frequent_flyer_cards_list","security":[{"access_token":[]}],"tags":["travel_profile"]},"post":{"responses":{"304":{"description":" acard already exists for this airline"},"200":{"description":"add membership card","schema":{"$ref":"#/definitions/DetailedFrequentFlyerCardSchema"}},"422":{"description":"Success","schema":{"$ref":"#/definitions/HTTPError422"}}},"operationId":"post_frequent_flyer_cards_list","parameters":[{"in":"body","required":true,"name":"body","schema":{"$ref":"#/definitions/AddDFrequentFlyerCardParameters"}}],"security":[{"access_token":[]}],"tags":["travel_profile"]}},"/travel_profile/{user_id}/frequent_flyer/{card_id}":{"parameters":[{"name":"user_id","in":"path","required":true,"type":"integer"},{"name":"card_id","in":"path","required":true,"type":"integer"}],"get":{"responses":{"200":{"description":"Request fulfilled, document follows","schema":{"$ref":"#/definitions/DetailedFrequentFlyerCardSchema"}}},"operationId":"get_frequent_flyer_resource","security":[{"access_token":[]}],"tags":["travel_profile"]},"put":{"responses":{"202":{"description":"card info update"},"422":{"description":"Success","schema":{"$ref":"#/definitions/HTTPError422"}},"200":{"description":"Request fulfilled, document follows","schema":{"$ref":"#/definitions/DetailedFrequentFlyerCardSchema"}}},"operationId":"put_frequent_flyer_resource","parameters":[{"in":"body","required":true,"name":"body","schema":{"$ref":"#/definitions/AddDFrequentFlyerCardParameters"}}],"security":[{"access_token":[]}],"tags":["travel_profile"]},"delete":{"responses":{"202":{"description":"remove card"}},"operationId":"delete_frequent_flyer_resource","security":[{"access_token":[]}],"tags":["travel_profile"]},"options":{"responses":{"204":{"description":"Request fulfilled, nothing follows"}},"summary":"Check which methods are allowed","description":"Use this method if you need to know what operations are allowed to be\nperformed on this endpoint, e.g. to decide wether to display a button\nin your UI.\n\nThe list of allowed methods is provided in `Allow` response header.","operationId":"options_frequent_flyer_resource","security":[{"access_token":[]}],"tags":["travel_profile"]}},"/travel_profile/{user_id}/hotel_loyalty":{"parameters":[{"name":"user_id","in":"path","required":true,"type":"integer"}],"get":{"responses":{"200":{"description":"get all travelers hotel loyalty programs","schema":{"type":"array","items":{"$ref":"#/definitions/DetailedHotelLoyaltySchema"}}}},"operationId":"get_hotel_loyalty_list","security":[{"access_token":[]}],"tags":["travel_profile"]},"options":{"responses":{"204":{"description":"Request fulfilled, nothing follows"}},"summary":"Check which methods are allowed","description":"Use this method if you need to know what operations are allowed to be\nperformed on this endpoint, e.g. to decide wether to display a button\nin your UI.\n\nThe list of allowed methods is provided in `Allow` response header.","operationId":"options_hotel_loyalty_list","security":[{"access_token":[]}],"tags":["travel_profile"]},"post":{"responses":{"200":{"description":"add hotel loyalty program","schema":{"$ref":"#/definitions/DetailedHotelLoyaltySchema"}},"422":{"description":"Success","schema":{"$ref":"#/definitions/HTTPError422"}}},"operationId":"post_hotel_loyalty_list","parameters":[{"in":"body","required":true,"name":"body","schema":{"$ref":"#/definitions/AddHotelLoyalty"}}],"security":[{"access_token":[]}],"tags":["travel_profile"]}},"/travel_profile/{user_id}/hotel_loyalty/{program_id}":{"parameters":[{"name":"user_id","in":"path","required":true,"type":"integer"},{"name":"program_id","in":"path","required":true,"type":"integer"}],"get":{"responses":{"200":{"description":"Request fulfilled, document follows","schema":{"$ref":"#/definitions/DetailedHotelLoyaltySchema"}}},"operationId":"get_hotel_loyalty_resource","security":[{"access_token":[]}],"tags":["travel_profile"]},"put":{"responses":{"202":{"description":"hotel loyalty program update"},"422":{"description":"Success","schema":{"$ref":"#/definitions/HTTPError422"}},"200":{"description":"Request fulfilled, document follows","schema":{"$ref":"#/definitions/DetailedHotelLoyaltySchema"}}},"operationId":"put_hotel_loyalty_resource","parameters":[{"in":"body","required":true,"name":"body","schema":{"$ref":"#/definitions/AddHotelLoyalty"}}],"security":[{"access_token":[]}],"tags":["travel_profile"]},"delete":{"responses":{"202":{"description":"remove hotel loyalty program"}},"operationId":"delete_hotel_loyalty_resource","security":[{"access_token":[]}],"tags":["travel_profile"]},"options":{"responses":{"204":{"description":"Request fulfilled, nothing follows"}},"summary":"Check which methods are allowed","description":"Use this method if you need to know what operations are allowed to be\nperformed on this endpoint, e.g. to decide wether to display a button\nin your UI.\n\nThe list of allowed methods is provided in `Allow` response header.","operationId":"options_hotel_loyalty_resource","security":[{"access_token":[]}],"tags":["travel_profile"]}},"/travel_profile/{user_id}/national_ids":{"parameters":[{"name":"user_id","in":"path","required":true,"type":"integer"}],"get":{"responses":{"200":{"description":"Request fulfilled, document follows","schema":{"type":"array","items":{"$ref":"#/definitions/BaseNationalIDSchema"}}}},"operationId":"get_national_i_ds_list","security":[{"access_token":[]}],"tags":["travel_profile"]},"options":{"responses":{"204":{"description":"Request fulfilled, nothing follows"}},"summary":"Check which methods are allowed","description":"Use this method if you need to know what operations are allowed to be\nperformed on this endpoint, e.g. to decide wether to display a button\nin your UI.\n\nThe list of allowed methods is provided in `Allow` response header.","operationId":"options_national_i_ds_list","security":[{"access_token":[]}],"tags":["travel_profile"]},"post":{"responses":{"201":{"description":"National ID was created.","schema":{"$ref":"#/definitions/BaseNationalIDSchema"}},"422":{"description":"Success","schema":{"$ref":"#/definitions/HTTPError422"}}},"operationId":"post_national_i_ds_list","parameters":[{"in":"body","required":true,"name":"body","schema":{"$ref":"#/definitions/AddNationalIDParameters"}}],"security":[{"access_token":[]}],"tags":["travel_profile"]}},"/travel_profile/{user_id}/national_ids/{national_id_id}":{"parameters":[{"name":"user_id","in":"path","required":true,"type":"integer"},{"name":"national_id_id","in":"path","required":true,"type":"integer"}],"get":{"responses":{"200":{"description":"Request fulfilled, document follows","schema":{"$ref":"#/definitions/BaseNationalIDSchema"}}},"operationId":"get_national_id_resource","security":[{"access_token":[]}],"tags":["travel_profile"]},"put":{"responses":{"200":{"description":"Request fulfilled, document follows","schema":{"$ref":"#/definitions/BaseNationalIDSchema"}},"202":{"description":"National ID was updated","schema":{"$ref":"#/definitions/BaseNationalIDSchema"}},"422":{"description":"Success","schema":{"$ref":"#/definitions/HTTPError422"}}},"operationId":"put_national_id_resource","parameters":[{"in":"body","required":true,"name":"body","schema":{"$ref":"#/definitions/AddNationalIDParameters"}}],"security":[{"access_token":[]}],"tags":["travel_profile"]},"delete":{"responses":{"202":{"description":"National ID was deleted."}},"operationId":"delete_national_id_resource","security":[{"access_token":[]}],"tags":["travel_profile"]},"options":{"responses":{"204":{"description":"Request fulfilled, nothing follows"}},"summary":"Check which methods are allowed","description":"Use this method if you need to know what operations are allowed to be\nperformed on this endpoint, e.g. to decide wether to display a button\nin your UI.\n\nThe list of allowed methods is provided in `Allow` response header.","operationId":"options_national_id_resource","security":[{"access_token":[]}],"tags":["travel_profile"]}},"/travel_profile/{user_id}/passports":{"parameters":[{"name":"user_id","in":"path","required":true,"type":"integer"}],"get":{"responses":{"200":{"description":"Get all traveler passports","schema":{"type":"array","items":{"$ref":"#/definitions/BasePassportSchema"}}}},"operationId":"get_passports_list","security":[{"access_token":[]}],"tags":["travel_profile"]},"options":{"responses":{"204":{"description":"Request fulfilled, nothing follows"}},"summary":"Check which methods are allowed","description":"Use this method if you need to know what operations are allowed to be\nperformed on this endpoint, e.g. to decide wether to display a button\nin your UI.\n\nThe list of allowed methods is provided in `Allow` response header.","operationId":"options_passports_list","security":[{"access_token":[]}],"tags":["travel_profile"]},"post":{"responses":{"202":{"description":"Passport was created.","schema":{"$ref":"#/definitions/BasePassportSchema"}},"422":{"description":"Success","schema":{"$ref":"#/definitions/HTTPError422"}}},"operationId":"post_passports_list","parameters":[{"in":"body","required":true,"name":"body","schema":{"$ref":"#/definitions/AddPassportParameters"}}],"security":[{"access_token":[]}],"tags":["travel_profile"]}},"/travel_profile/{user_id}/passports/{passport_id}":{"parameters":[{"name":"user_id","in":"path","required":true,"type":"integer"},{"name":"passport_id","in":"path","required":true,"type":"integer"}],"get":{"responses":{"200":{"description":"Request fulfilled, document follows","schema":{"$ref":"#/definitions/BasePassportSchema"}}},"operationId":"get_passport_resource","security":[{"access_token":[]}],"tags":["travel_profile"]},"put":{"responses":{"200":{"description":"Request fulfilled, document follows","schema":{"$ref":"#/definitions/BasePassportSchema"}},"202":{"description":"Passport was updated","schema":{"$ref":"#/definitions/BasePassportSchema"}},"422":{"description":"Success","schema":{"$ref":"#/definitions/HTTPError422"}}},"operationId":"put_passport_resource","parameters":[{"in":"body","required":true,"name":"body","schema":{"$ref":"#/definitions/AddPassportParameters"}}],"security":[{"access_token":[]}],"tags":["travel_profile"]},"delete":{"responses":{"202":{"description":"Passport was deleted."}},"operationId":"delete_passport_resource","security":[{"access_token":[]}],"tags":["travel_profile"]},"options":{"responses":{"204":{"description":"Request fulfilled, nothing follows"}},"summary":"Check which methods are allowed","description":"Use this method if you need to know what operations are allowed to be\nperformed on this endpoint, e.g. to decide wether to display a button\nin your UI.\n\nThe list of allowed methods is provided in `Allow` response header.","operationId":"options_passport_resource","security":[{"access_token":[]}],"tags":["travel_profile"]}},"/travel_profile/{user_id}/rail_card":{"parameters":[{"name":"user_id","in":"path","required":true,"type":"integer"}],"options":{"responses":{"204":{"description":"Request fulfilled, nothing follows"}},"summary":"Check which methods are allowed","description":"Use this method if you need to know what operations are allowed to be\nperformed on this endpoint, e.g. to decide wether to display a button\nin your UI.\n\nThe list of allowed methods is provided in `Allow` response header.","operationId":"options_traveler_rail_cards_list","security":[{"access_token":[]}],"tags":["travel_profile"]},"post":{"responses":{"200":{"description":"Rail card was added to traveler profile","schema":{"$ref":"#/definitions/DetailedTravelerRailCardSchema"}},"422":{"description":"Success","schema":{"$ref":"#/definitions/HTTPError422"}}},"operationId":"post_traveler_rail_cards_list","parameters":[{"in":"body","required":true,"name":"body","schema":{"$ref":"#/definitions/AddTravelerRailCardParameters"}}],"security":[{"access_token":[]}],"tags":["travel_profile"]}},"/travel_profile/{user_id}/rail_card/{card_id}":{"parameters":[{"name":"user_id","in":"path","required":true,"type":"integer"},{"name":"card_id","in":"path","required":true,"type":"string"}],"put":{"responses":{"202":{"description":"Rail card info was updated","schema":{"$ref":"#/definitions/DetailedTravelerRailCardSchema"}},"422":{"description":"Success","schema":{"$ref":"#/definitions/HTTPError422"}}},"operationId":"put_traveler_rail_card_resource","parameters":[{"in":"body","required":true,"name":"body","schema":{"$ref":"#/definitions/AddTravelerRailCardParameters"}}],"security":[{"access_token":[]}],"tags":["travel_profile"]},"delete":{"responses":{"202":{"description":"Rail card was deleted"}},"operationId":"delete_traveler_rail_card_resource","security":[{"access_token":[]}],"tags":["travel_profile"]},"options":{"responses":{"204":{"description":"Request fulfilled, nothing follows"}},"summary":"Check which methods are allowed","description":"Use this method if you need to know what operations are allowed to be\nperformed on this endpoint, e.g. to decide wether to display a button\nin your UI.\n\nThe list of allowed methods is provided in `Allow` response header.","operationId":"options_traveler_rail_card_resource","security":[{"access_token":[]}],"tags":["travel_profile"]}},"/trips/":{"get":{"responses":{"200":{"description":"Request fulfilled, document follows","schema":{"type":"array","items":{"$ref":"#/definitions/DetailedTripSchemaUserWithoutInvoiceProfile"}}},"422":{"description":"Success","schema":{"$ref":"#/definitions/HTTPError422"}}},"operationId":"get_trip_list","parameters":[{"in":"query","name":"search","type":"string","required":false},{"in":"query","name":"statuses","type":"array","items":{"type":"string","enum":["draft","draft_by_support","reverted","sending_to_approval","waiting_approval","canceled","not_approved","approved","waiting_for_user_submission","booked","booking","price_changed","pre_trip_green_light"]},"required":false,"collectionFormat":"multi"},{"in":"query","name":"time_frame","default":"all","type":"string","enum":["past","current","all"],"required":false}],"security":[{"access_token":[]}],"tags":["trips"]},"options":{"responses":{"204":{"description":"Request fulfilled, nothing follows"}},"summary":"Check which methods are allowed","description":"Use this method if you need to know what operations are allowed to be\nperformed on this endpoint, e.g. to decide wether to display a button\nin your UI.\n\nThe list of allowed methods is provided in `Allow` response header.","operationId":"options_trip_list","security":[{"access_token":[]}],"tags":["trips"]},"post":{"responses":{"200":{"description":"Request fulfilled, document follows","schema":{"$ref":"#/definitions/DetailedPaymentTripSchema"}},"422":{"description":"Success","schema":{"$ref":"#/definitions/HTTPError422"}}},"operationId":"post_trip_list","parameters":[{"in":"body","required":true,"name":"body","schema":{"$ref":"#/definitions/AddTripParameters"}}],"security":[{"access_token":[]}],"tags":["trips"]}},"/trips/all":{"get":{"responses":{"200":{"description":"Request fulfilled, document follows","schema":{"type":"array","items":{"$ref":"#/definitions/DetailedTripSchema"}}},"422":{"description":"Success","schema":{"$ref":"#/definitions/HTTPError422"}}},"operationId":"get_trip_all_list","parameters":[{"in":"query","name":"search","type":"string","required":false},{"in":"query","name":"statuses","type":"array","items":{"type":"string","enum":["draft","draft_by_support","reverted","sending_to_approval","waiting_approval","canceled","not_approved","approved","waiting_for_user_submission","booked","booking","price_changed","pre_trip_green_light"]},"required":false,"collectionFormat":"multi"},{"in":"query","name":"time_frame","default":"all","type":"string","enum":["past","current","all"],"required":false}],"security":[{"access_token":[]}],"tags":["trips"]},"options":{"responses":{"204":{"description":"Request fulfilled, nothing follows"}},"summary":"Check which methods are allowed","description":"Use this method if you need to know what operations are allowed to be\nperformed on this endpoint, e.g. to decide wether to display a button\nin your UI.\n\nThe list of allowed methods is provided in `Allow` response header.","operationId":"options_trip_all_list","security":[{"access_token":[]}],"tags":["trips"]}},"/trips/created_by_me":{"get":{"responses":{"200":{"description":"Request fulfilled, document follows","schema":{"type":"array","items":{"$ref":"#/definitions/DetailedTripSchema"}}},"422":{"description":"Success","schema":{"$ref":"#/definitions/HTTPError422"}}},"operationId":"get_created_by_me_trips_list","parameters":[{"in":"query","name":"search","type":"string","required":false},{"in":"query","name":"statuses","type":"array","items":{"type":"string","enum":["draft","draft_by_support","reverted","sending_to_approval","waiting_approval","canceled","not_approved","approved","waiting_for_user_submission","booked","booking","price_changed","pre_trip_green_light"]},"required":false,"collectionFormat":"multi"},{"in":"query","name":"time_frame","default":"all","type":"string","enum":["past","current","all"],"required":false}],"security":[{"access_token":[]}],"tags":["trips"]},"options":{"responses":{"204":{"description":"Request fulfilled, nothing follows"}},"summary":"Check which methods are allowed","description":"Use this method if you need to know what operations are allowed to be\nperformed on this endpoint, e.g. to decide wether to display a button\nin your UI.\n\nThe list of allowed methods is provided in `Allow` response header.","operationId":"options_created_by_me_trips_list","security":[{"access_token":[]}],"tags":["trips"]}},"/trips/flight_tax_types":{"get":{"responses":{"200":{"description":"Success"}},"operationId":"get_flight_tax_type_category_list","security":[{"access_token":[]}],"tags":["trips"]},"options":{"responses":{"204":{"description":"Request fulfilled, nothing follows"}},"summary":"Check which methods are allowed","description":"Use this method if you need to know what operations are allowed to be\nperformed on this endpoint, e.g. to decide wether to display a button\nin your UI.\n\nThe list of allowed methods is provided in `Allow` response header.","operationId":"options_flight_tax_type_category_list","security":[{"access_token":[]}],"tags":["trips"]}},"/trips/merge":{"options":{"responses":{"204":{"description":"Request fulfilled, nothing follows"}},"summary":"Check which methods are allowed","description":"Use this method if you need to know what operations are allowed to be\nperformed on this endpoint, e.g. to decide wether to display a button\nin your UI.\n\nThe list of allowed methods is provided in `Allow` response header.","operationId":"options_trip_merge_resource","security":[{"access_token":[]}],"tags":["trips"]},"post":{"responses":{"404":{"description":"Nothing matches the given URI","schema":{"$ref":"#/definitions/HTTPError404"}},"202":{"description":"Request accepted, processing continues off-line"},"422":{"description":"Success","schema":{"$ref":"#/definitions/HTTPError422"}}},"operationId":"post_trip_merge_resource","parameters":[{"in":"body","required":true,"name":"body","schema":{"$ref":"#/definitions/TripMergeParameters"}}],"security":[{"access_token":[]}],"tags":["trips"]}},"/trips/mock/metadata":{"get":{"responses":{"200":{"description":"Request fulfilled, document follows","schema":{"$ref":"#/definitions/MockDataSchema"}}},"operationId":"get_mock_meta_data_resource","security":[{"access_token":[]}],"tags":["trips"]},"options":{"responses":{"204":{"description":"Request fulfilled, nothing follows"}},"summary":"Check which methods are allowed","description":"Use this method if you need to know what operations are allowed to be\nperformed on this endpoint, e.g. to decide wether to display a button\nin your UI.\n\nThe list of allowed methods is provided in `Allow` response header.","operationId":"options_mock_meta_data_resource","security":[{"access_token":[]}],"tags":["trips"]}},"/trips/my":{"get":{"responses":{"200":{"description":"Request fulfilled, document follows","schema":{"type":"array","items":{"$ref":"#/definitions/DetailedTripSchema"}}},"422":{"description":"Success","schema":{"$ref":"#/definitions/HTTPError422"}}},"operationId":"get_my_trips_list","parameters":[{"in":"query","name":"search","type":"string","required":false},{"in":"query","name":"statuses","type":"array","items":{"type":"string","enum":["draft","draft_by_support","reverted","sending_to_approval","waiting_approval","canceled","not_approved","approved","waiting_for_user_submission","booked","booking","price_changed","pre_trip_green_light"]},"required":false,"collectionFormat":"multi"},{"in":"query","name":"time_frame","default":"all","type":"string","enum":["past","current","all"],"required":false}],"security":[{"access_token":[]}],"tags":["trips"]},"options":{"responses":{"204":{"description":"Request fulfilled, nothing follows"}},"summary":"Check which methods are allowed","description":"Use this method if you need to know what operations are allowed to be\nperformed on this endpoint, e.g. to decide wether to display a button\nin your UI.\n\nThe list of allowed methods is provided in `Allow` response header.","operationId":"options_my_trips_list","security":[{"access_token":[]}],"tags":["trips"]}},"/trips/purpose_list":{"get":{"responses":{"200":{"description":"Request fulfilled, document follows","schema":{"type":"array","items":{"$ref":"#/definitions/PurposeListSchema"}}}},"operationId":"get_trip_purpose_list_resource","security":[{"access_token":[]}],"tags":["trips"]},"options":{"responses":{"204":{"description":"Request fulfilled, nothing follows"}},"summary":"Check which methods are allowed","description":"Use this method if you need to know what operations are allowed to be\nperformed on this endpoint, e.g. to decide wether to display a button\nin your UI.\n\nThe list of allowed methods is provided in `Allow` response header.","operationId":"options_trip_purpose_list_resource","security":[{"access_token":[]}],"tags":["trips"]}},"/trips/share/itinerary/result":{"get":{"responses":{"200":{"description":"Request fulfilled, document follows","schema":{"$ref":"#/definitions/ShareTripItineraryTaskResultSchema"}},"422":{"description":"Success","schema":{"$ref":"#/definitions/HTTPError422"}}},"operationId":"get_trip_itinerary_share_task_result","parameters":[{"in":"query","name":"job_id","type":"string","required":true}],"security":[{"access_token":[]}],"tags":["trips"]},"options":{"responses":{"204":{"description":"Request fulfilled, nothing follows"}},"summary":"Check which methods are allowed","description":"Use this method if you need to know what operations are allowed to be\nperformed on this endpoint, e.g. to decide wether to display a button\nin your UI.\n\nThe list of allowed methods is provided in `Allow` response header.","operationId":"options_trip_itinerary_share_task_result","security":[{"access_token":[]}],"tags":["trips"]}},"/trips/{trip_id}":{"parameters":[{"name":"trip_id","in":"path","required":true,"type":"integer"}],"get":{"responses":{"404":{"description":"Trip not found.","schema":{"$ref":"#/definitions/HTTPError404"}},"200":{"description":"Request fulfilled, document follows","schema":{"$ref":"#/definitions/DetailedPaymentTripSchema"}}},"operationId":"get_trip_resource","security":[{"access_token":[]}],"tags":["trips"]},"put":{"responses":{"404":{"description":"Trip not found.","schema":{"$ref":"#/definitions/HTTPError404"}},"200":{"description":"Request fulfilled, document follows","schema":{"$ref":"#/definitions/DetailedPaymentTripSchema"}},"422":{"description":"Success","schema":{"$ref":"#/definitions/HTTPError422"}}},"description":"Method for apply comments to bookings in trip","operationId":"put_trip_resource","parameters":[{"in":"body","required":true,"name":"body","schema":{"$ref":"#/definitions/AddTripParameters"}}],"security":[{"access_token":[]}],"tags":["trips"]},"delete":{"responses":{"404":{"description":"Trip not found.","schema":{"$ref":"#/definitions/HTTPError404"}},"202":{"description":"Request accepted, processing continues off-line"}},"operationId":"delete_trip_resource","security":[{"access_token":[]}],"tags":["trips"]},"options":{"responses":{"404":{"description":"Trip not found.","schema":{"$ref":"#/definitions/HTTPError404"}},"204":{"description":"Request fulfilled, nothing follows"}},"summary":"Check which methods are allowed","description":"Use this method if you need to know what operations are allowed to be\nperformed on this endpoint, e.g. to decide wether to display a button\nin your UI.\n\nThe list of allowed methods is provided in `Allow` response header.","operationId":"options_trip_resource","security":[{"access_token":[]}],"tags":["trips"]}},"/trips/{trip_id}/additional_charges":{"parameters":[{"name":"trip_id","in":"path","required":true,"type":"integer"}],"get":{"responses":{"200":{"description":"Request fulfilled, document follows","schema":{"type":"array","items":{"$ref":"#/definitions/AdditionalChargeSchema"}}}},"operationId":"get_trip_additional_charges_resource","security":[{"access_token":[]}],"tags":["trips"]},"options":{"responses":{"204":{"description":"Request fulfilled, nothing follows"}},"summary":"Check which methods are allowed","description":"Use this method if you need to know what operations are allowed to be\nperformed on this endpoint, e.g. to decide wether to display a button\nin your UI.\n\nThe list of allowed methods is provided in `Allow` response header.","operationId":"options_trip_additional_charges_resource","security":[{"access_token":[]}],"tags":["trips"]},"post":{"responses":{"200":{"description":"Request fulfilled, document follows","schema":{"$ref":"#/definitions/AdditionalChargeSchema"}},"422":{"description":"Success","schema":{"$ref":"#/definitions/HTTPError422"}}},"operationId":"post_trip_additional_charges_resource","parameters":[{"in":"body","required":true,"name":"body","schema":{"$ref":"#/definitions/AdditionalChargeSchemaParameters"}}],"security":[{"access_token":[]}],"tags":["trips"]}},"/trips/{trip_id}/additional_charges/{additional_charge_id}":{"parameters":[{"name":"trip_id","in":"path","required":true,"type":"integer"},{"name":"additional_charge_id","in":"path","required":true,"type":"integer"}],"put":{"responses":{"404":{"description":"Additional Charge not found.","schema":{"$ref":"#/definitions/HTTPError404"}},"200":{"description":"Request fulfilled, document follows","schema":{"$ref":"#/definitions/AdditionalChargeSchema"}},"422":{"description":"Success","schema":{"$ref":"#/definitions/HTTPError422"}}},"operationId":"put_trip_additional_charge_manage_resource","parameters":[{"in":"body","required":true,"name":"body","schema":{"$ref":"#/definitions/AdditionalChargeSchemaParameters"}}],"security":[{"access_token":[]}],"tags":["trips"]},"options":{"responses":{"204":{"description":"Request fulfilled, nothing follows"}},"summary":"Check which methods are allowed","description":"Use this method if you need to know what operations are allowed to be\nperformed on this endpoint, e.g. to decide wether to display a button\nin your UI.\n\nThe list of allowed methods is provided in `Allow` response header.","operationId":"options_trip_additional_charge_manage_resource","security":[{"access_token":[]}],"tags":["trips"]}},"/trips/{trip_id}/approvals_status":{"parameters":[{"name":"trip_id","in":"path","required":true,"type":"integer"}],"get":{"responses":{"200":{"description":"Request fulfilled, document follows","schema":{"type":"array","items":{"$ref":"#/definitions/TripApprovalStatus"}}}},"operationId":"get_trip_approval_status_resource","security":[{"access_token":[]}],"tags":["trips"]},"options":{"responses":{"204":{"description":"Request fulfilled, nothing follows"}},"summary":"Check which methods are allowed","description":"Use this method if you need to know what operations are allowed to be\nperformed on this endpoint, e.g. to decide wether to display a button\nin your UI.\n\nThe list of allowed methods is provided in `Allow` response header.","operationId":"options_trip_approval_status_resource","security":[{"access_token":[]}],"tags":["trips"]}},"/trips/{trip_id}/approve":{"parameters":[{"name":"trip_id","in":"path","required":true,"type":"integer"}],"options":{"responses":{"204":{"description":"Request fulfilled, nothing follows"}},"summary":"Check which methods are allowed","description":"Use this method if you need to know what operations are allowed to be\nperformed on this endpoint, e.g. to decide wether to display a button\nin your UI.\n\nThe list of allowed methods is provided in `Allow` response header.","operationId":"options_trip_approve_resource","security":[{"access_token":[]}],"tags":["trips"]},"post":{"responses":{"202":{"description":"Request accepted, processing continues off-line"}},"operationId":"post_trip_approve_resource","security":[{"access_token":[]}],"tags":["trips"]}},"/trips/{trip_id}/booking_segment_to_travelers/{booking_segment_to_travelers_id}/cancellation_status":{"parameters":[{"name":"trip_id","in":"path","required":true,"type":"integer"},{"name":"booking_segment_to_travelers_id","in":"path","required":true,"type":"integer"}],"get":{"responses":{"404":{"description":"Trip or booking segment to travelers not found.","schema":{"$ref":"#/definitions/HTTPError404"}},"200":{"description":"Request fulfilled, document follows","schema":{"$ref":"#/definitions/BookingSegmentToTravelersCancellationStatusSchema"}}},"operationId":"get_trip_booking_segment_to_travelers_cancellation_status","security":[{"access_token":[]}],"tags":["trips"]},"options":{"responses":{"404":{"description":"Trip or booking segment to travelers not found.","schema":{"$ref":"#/definitions/HTTPError404"}},"204":{"description":"Request fulfilled, nothing follows"}},"summary":"Check which methods are allowed","description":"Use this method if you need to know what operations are allowed to be\nperformed on this endpoint, e.g. to decide wether to display a button\nin your UI.\n\nThe list of allowed methods is provided in `Allow` response header.","operationId":"options_trip_booking_segment_to_travelers_cancellation_status","security":[{"access_token":[]}],"tags":["trips"]}},"/trips/{trip_id}/booking_segments/{booking_segment_id}/cancellation_status":{"parameters":[{"name":"trip_id","in":"path","required":true,"type":"integer"},{"name":"booking_segment_id","in":"path","required":true,"type":"integer"}],"get":{"responses":{"404":{"description":"Trip or booking segment not found.","schema":{"$ref":"#/definitions/HTTPError404"}},"200":{"description":"Request fulfilled, document follows","schema":{"$ref":"#/definitions/BookingSegmentCancellationStatusSchema"}}},"operationId":"get_trip_booking_segments_cancellation_status","security":[{"access_token":[]}],"tags":["trips"]},"options":{"responses":{"404":{"description":"Trip or booking segment not found.","schema":{"$ref":"#/definitions/HTTPError404"}},"204":{"description":"Request fulfilled, nothing follows"}},"summary":"Check which methods are allowed","description":"Use this method if you need to know what operations are allowed to be\nperformed on this endpoint, e.g. to decide wether to display a button\nin your UI.\n\nThe list of allowed methods is provided in `Allow` response header.","operationId":"options_trip_booking_segments_cancellation_status","security":[{"access_token":[]}],"tags":["trips"]}},"/trips/{trip_id}/cancel_flights":{"parameters":[{"name":"trip_id","in":"path","required":true,"type":"integer"}],"options":{"responses":{"204":{"description":"Request fulfilled, nothing follows"}},"summary":"Check which methods are allowed","description":"Use this method if you need to know what operations are allowed to be\nperformed on this endpoint, e.g. to decide wether to display a button\nin your UI.\n\nThe list of allowed methods is provided in `Allow` response header.","operationId":"options_cancel_flight_booking_resource","security":[{"access_token":[]}],"tags":["trips"]},"post":{"responses":{"202":{"description":"Request accepted, processing continues off-line"},"422":{"description":"Success","schema":{"$ref":"#/definitions/HTTPError422"}}},"operationId":"post_cancel_flight_booking_resource","parameters":[{"in":"body","required":true,"name":"body","schema":{"$ref":"#/definitions/CancelFlightsParameters"}}],"security":[{"access_token":[]}],"tags":["trips"]}},"/trips/{trip_id}/cancel_price_change":{"parameters":[{"name":"trip_id","in":"path","required":true,"type":"integer"}],"options":{"responses":{"204":{"description":"Request fulfilled, nothing follows"}},"summary":"Check which methods are allowed","description":"Use this method if you need to know what operations are allowed to be\nperformed on this endpoint, e.g. to decide wether to display a button\nin your UI.\n\nThe list of allowed methods is provided in `Allow` response header.","operationId":"options_trip_cancel_price_change_resource","security":[{"access_token":[]}],"tags":["trips"]},"post":{"responses":{"202":{"description":"Request accepted, processing continues off-line","schema":{"$ref":"#/definitions/TripStatusSchema"}}},"operationId":"post_trip_cancel_price_change_resource","security":[{"access_token":[]}],"tags":["trips"]}},"/trips/{trip_id}/cancel_train":{"parameters":[{"name":"trip_id","in":"path","required":true,"type":"integer"}],"options":{"responses":{"204":{"description":"Request fulfilled, nothing follows"}},"summary":"Check which methods are allowed","description":"Use this method if you need to know what operations are allowed to be\nperformed on this endpoint, e.g. to decide wether to display a button\nin your UI.\n\nThe list of allowed methods is provided in `Allow` response header.","operationId":"options_cancel_train_booking_resource","security":[{"access_token":[]}],"tags":["trips"]},"post":{"responses":{"202":{"description":"Request accepted, processing continues off-line"},"422":{"description":"Success","schema":{"$ref":"#/definitions/HTTPError422"}}},"operationId":"post_cancel_train_booking_resource","parameters":[{"in":"body","required":true,"name":"body","schema":{"$ref":"#/definitions/CancelTrainParameters"}}],"security":[{"access_token":[]}],"tags":["trips"]}},"/trips/{trip_id}/cancel_trains":{"parameters":[{"name":"trip_id","in":"path","required":true,"type":"integer"}],"options":{"responses":{"204":{"description":"Request fulfilled, nothing follows"}},"summary":"Check which methods are allowed","description":"Use this method if you need to know what operations are allowed to be\nperformed on this endpoint, e.g. to decide wether to display a button\nin your UI.\n\nThe list of allowed methods is provided in `Allow` response header.","operationId":"options_cancel_bcd_rail_booking_resource","security":[{"access_token":[]}],"tags":["trips"]},"post":{"responses":{"202":{"description":"Request accepted, processing continues off-line"},"422":{"description":"Success","schema":{"$ref":"#/definitions/HTTPError422"}}},"operationId":"post_cancel_bcd_rail_booking_resource","parameters":[{"in":"body","required":true,"name":"body","schema":{"$ref":"#/definitions/CancelTrainsParameters"}}],"security":[{"access_token":[]}],"tags":["trips"]}},"/trips/{trip_id}/cancel_trip":{"parameters":[{"name":"trip_id","in":"path","required":true,"type":"integer"}],"options":{"responses":{"204":{"description":"Request fulfilled, nothing follows"}},"summary":"Check which methods are allowed","description":"Use this method if you need to know what operations are allowed to be\nperformed on this endpoint, e.g. to decide wether to display a button\nin your UI.\n\nThe list of allowed methods is provided in `Allow` response header.","operationId":"options_cancel_trip_resource","security":[{"access_token":[]}],"tags":["trips"]},"post":{"responses":{"200":{"description":"Request fulfilled, document follows","schema":{"$ref":"#/definitions/CancelTripResponse"}},"422":{"description":"Success","schema":{"$ref":"#/definitions/HTTPError422"}}},"operationId":"post_cancel_trip_resource","parameters":[{"in":"body","required":true,"name":"body","schema":{"$ref":"#/definitions/CancelTripParameters"}}],"security":[{"access_token":[]}],"tags":["trips"]}},"/trips/{trip_id}/cancel_verification/{segment_id}":{"parameters":[{"name":"trip_id","in":"path","required":true,"type":"integer"},{"name":"segment_id","in":"path","required":true,"type":"integer"}],"options":{"responses":{"204":{"description":"Request fulfilled, nothing follows"}},"summary":"Check which methods are allowed","description":"Use this method if you need to know what operations are allowed to be\nperformed on this endpoint, e.g. to decide wether to display a button\nin your UI.\n\nThe list of allowed methods is provided in `Allow` response header.","operationId":"options_trip_cancel_verification_resource","security":[{"access_token":[]}],"tags":["trips"]},"post":{"responses":{"202":{"description":"Request accepted, processing continues off-line","schema":{"$ref":"#/definitions/TripStatusSchema"}}},"operationId":"post_trip_cancel_verification_resource","security":[{"access_token":[]}],"tags":["trips"]}},"/trips/{trip_id}/cars":{"parameters":[{"name":"trip_id","in":"path","required":true,"type":"integer"}],"delete":{"responses":{"200":{"description":"Request fulfilled, document follows","schema":{"$ref":"#/definitions/CarBookingDeletionResponse"}},"422":{"description":"Success","schema":{"$ref":"#/definitions/HTTPError422"}}},"operationId":"delete_cars_list_resource","parameters":[{"in":"body","required":true,"name":"body","schema":{"$ref":"#/definitions/CarBookingStatusParameters"}}],"security":[{"access_token":[]}],"tags":["trips"]},"options":{"responses":{"204":{"description":"Request fulfilled, nothing follows"}},"summary":"Check which methods are allowed","description":"Use this method if you need to know what operations are allowed to be\nperformed on this endpoint, e.g. to decide wether to display a button\nin your UI.\n\nThe list of allowed methods is provided in `Allow` response header.","operationId":"options_cars_list_resource","security":[{"access_token":[]}],"tags":["trips"]},"post":{"responses":{"200":{"description":"Request fulfilled, document follows","schema":{"$ref":"#/definitions/CarBookingSchema"}},"422":{"description":"Success","schema":{"$ref":"#/definitions/HTTPError422"}}},"operationId":"post_cars_list_resource","parameters":[{"in":"body","required":true,"name":"body","schema":{"$ref":"#/definitions/CarsBookingParameters"}}],"security":[{"access_token":[]}],"tags":["trips"]}},"/trips/{trip_id}/cars/car_booking_status":{"parameters":[{"name":"trip_id","in":"path","required":true,"type":"integer"}],"options":{"responses":{"204":{"description":"Request fulfilled, nothing follows"}},"summary":"Check which methods are allowed","description":"Use this method if you need to know what operations are allowed to be\nperformed on this endpoint, e.g. to decide wether to display a button\nin your UI.\n\nThe list of allowed methods is provided in `Allow` response header.","operationId":"options_car_booking_status_resource","security":[{"access_token":[]}],"tags":["trips"]},"post":{"responses":{"200":{"description":"Request fulfilled, document follows","schema":{"$ref":"#/definitions/CarReservationStatusSchema"}},"422":{"description":"Success","schema":{"$ref":"#/definitions/HTTPError422"}}},"operationId":"post_car_booking_status_resource","parameters":[{"in":"body","required":true,"name":"body","schema":{"$ref":"#/definitions/CarBookingStatusParameters"}}],"security":[{"access_token":[]}],"tags":["trips"]}},"/trips/{trip_id}/confirm_price_change":{"parameters":[{"name":"trip_id","in":"path","required":true,"type":"integer"}],"options":{"responses":{"204":{"description":"Request fulfilled, nothing follows"}},"summary":"Check which methods are allowed","description":"Use this method if you need to know what operations are allowed to be\nperformed on this endpoint, e.g. to decide wether to display a button\nin your UI.\n\nThe list of allowed methods is provided in `Allow` response header.","operationId":"options_trip_price_change_resource","security":[{"access_token":[]}],"tags":["trips"]},"post":{"responses":{"202":{"description":"Request accepted, processing continues off-line","schema":{"$ref":"#/definitions/TripStatusSchema"}},"422":{"description":"Success","schema":{"$ref":"#/definitions/HTTPError422"}}},"operationId":"post_trip_price_change_resource","parameters":[{"in":"body","required":true,"name":"body","schema":{"$ref":"#/definitions/TripPriceChangeParameters"}}],"security":[{"access_token":[]}],"tags":["trips"]}},"/trips/{trip_id}/essential_travel_information":{"parameters":[{"name":"trip_id","in":"path","required":true,"type":"integer"}],"get":{"responses":{"200":{"description":"Request fulfilled, document follows","schema":{"type":"array","items":{"$ref":"#/definitions/EssentialTravelInformationSchema"}}}},"operationId":"get_trip_essential_travel_information_list","security":[{"access_token":[]}],"tags":["trips"]},"options":{"responses":{"204":{"description":"Request fulfilled, nothing follows"}},"summary":"Check which methods are allowed","description":"Use this method if you need to know what operations are allowed to be\nperformed on this endpoint, e.g. to decide wether to display a button\nin your UI.\n\nThe list of allowed methods is provided in `Allow` response header.","operationId":"options_trip_essential_travel_information_list","security":[{"access_token":[]}],"tags":["trips"]}},"/trips/{trip_id}/external_cars":{"parameters":[{"name":"trip_id","in":"path","required":true,"type":"integer"}],"options":{"responses":{"204":{"description":"Request fulfilled, nothing follows"}},"summary":"Check which methods are allowed","description":"Use this method if you need to know what operations are allowed to be\nperformed on this endpoint, e.g. to decide wether to display a button\nin your UI.\n\nThe list of allowed methods is provided in `Allow` response header.","operationId":"options_external_cars_resource","security":[{"access_token":[]}],"tags":["trips"]},"post":{"responses":{"200":{"description":"Request fulfilled, document follows","schema":{"type":"array","items":{"$ref":"#/definitions/CarBookingSchema"}}},"422":{"description":"Success","schema":{"$ref":"#/definitions/HTTPError422"}}},"operationId":"post_external_cars_resource","parameters":[{"in":"body","required":true,"name":"body","schema":{"$ref":"#/definitions/CreateExternalCarBooking"}}],"security":[{"access_token":[]}],"tags":["trips"]}},"/trips/{trip_id}/external_flights":{"parameters":[{"name":"trip_id","in":"path","required":true,"type":"integer"}],"options":{"responses":{"204":{"description":"Request fulfilled, nothing follows"}},"summary":"Check which methods are allowed","description":"Use this method if you need to know what operations are allowed to be\nperformed on this endpoint, e.g. to decide wether to display a button\nin your UI.\n\nThe list of allowed methods is provided in `Allow` response header.","operationId":"options_external_flights_resource","security":[{"access_token":[]}],"tags":["trips"]},"post":{"responses":{"200":{"description":"Request fulfilled, document follows","schema":{"type":"array","items":{"$ref":"#/definitions/BaseFlightSearchResultSchema"}}},"422":{"description":"Success","schema":{"$ref":"#/definitions/HTTPError422"}}},"operationId":"post_external_flights_resource","parameters":[{"in":"body","required":true,"name":"body","schema":{"$ref":"#/definitions/CreateExternalFlightBooking"}}],"security":[{"access_token":[]}],"tags":["trips"]}},"/trips/{trip_id}/external_hotels":{"parameters":[{"name":"trip_id","in":"path","required":true,"type":"integer"}],"options":{"responses":{"204":{"description":"Request fulfilled, nothing follows"}},"summary":"Check which methods are allowed","description":"Use this method if you need to know what operations are allowed to be\nperformed on this endpoint, e.g. to decide wether to display a button\nin your UI.\n\nThe list of allowed methods is provided in `Allow` response header.","operationId":"options_external_hotels_resource","security":[{"access_token":[]}],"tags":["trips"]},"post":{"responses":{"200":{"description":"Request fulfilled, document follows","schema":{"type":"array","items":{"$ref":"#/definitions/BasicHotelRoomSchema"}}},"422":{"description":"Success","schema":{"$ref":"#/definitions/HTTPError422"}}},"operationId":"post_external_hotels_resource","parameters":[{"in":"body","required":true,"name":"body","schema":{"$ref":"#/definitions/CreateExternalHotelBooking"}}],"security":[{"access_token":[]}],"tags":["trips"]}},"/trips/{trip_id}/external_rails":{"parameters":[{"name":"trip_id","in":"path","required":true,"type":"integer"}],"options":{"responses":{"204":{"description":"Request fulfilled, nothing follows"}},"summary":"Check which methods are allowed","description":"Use this method if you need to know what operations are allowed to be\nperformed on this endpoint, e.g. to decide wether to display a button\nin your UI.\n\nThe list of allowed methods is provided in `Allow` response header.","operationId":"options_external_trains_resource","security":[{"access_token":[]}],"tags":["trips"]},"post":{"responses":{"200":{"description":"Request fulfilled, document follows","schema":{"type":"array","items":{"$ref":"#/definitions/BaseRailResultSchema"}}},"422":{"description":"Success","schema":{"$ref":"#/definitions/HTTPError422"}}},"operationId":"post_external_trains_resource","parameters":[{"in":"body","required":true,"name":"body","schema":{"$ref":"#/definitions/CreateExternalRailsBooking"}}],"security":[{"access_token":[]}],"tags":["trips"]}},"/trips/{trip_id}/fare_availability":{"parameters":[{"name":"trip_id","in":"path","required":true,"type":"integer"}],"get":{"responses":{"404":{"description":"trip not found","schema":{"$ref":"#/definitions/BaseFareAvailabilitySchema"}},"400":{"description":"trip has no flights/hotels","schema":{"$ref":"#/definitions/BaseFareAvailabilitySchema"}},"200":{"description":"existed results of the fare availability task","schema":{"$ref":"#/definitions/BaseFareAvailabilitySchema"}}},"operationId":"get_trip_fare_availability_resource","security":[{"access_token":[]}],"tags":["trips"]},"options":{"responses":{"404":{"description":"trip not found","schema":{"$ref":"#/definitions/BaseFareAvailabilitySchema"}},"400":{"description":"trip has no flights/hotels","schema":{"$ref":"#/definitions/BaseFareAvailabilitySchema"}},"204":{"description":"Request fulfilled, nothing follows"}},"summary":"Check which methods are allowed","description":"Use this method if you need to know what operations are allowed to be\nperformed on this endpoint, e.g. to decide wether to display a button\nin your UI.\n\nThe list of allowed methods is provided in `Allow` response header.","operationId":"options_trip_fare_availability_resource","security":[{"access_token":[]}],"tags":["trips"]},"post":{"responses":{"404":{"description":"trip not found","schema":{"$ref":"#/definitions/BaseFareAvailabilitySchema"}},"400":{"description":"trip has no flights/hotels","schema":{"$ref":"#/definitions/BaseFareAvailabilitySchema"}},"201":{"description":"fare availability task was created","schema":{"$ref":"#/definitions/BaseFareAvailabilitySchema"}}},"operationId":"post_trip_fare_availability_resource","security":[{"access_token":[]}],"tags":["trips"]}},"/trips/{trip_id}/flights":{"parameters":[{"name":"trip_id","in":"path","required":true,"type":"integer"}],"delete":{"responses":{"202":{"description":"Request accepted, processing continues off-line"},"422":{"description":"Success","schema":{"$ref":"#/definitions/HTTPError422"}}},"operationId":"delete_flights_list_resource","parameters":[{"in":"body","required":true,"name":"body","schema":{"$ref":"#/definitions/FlightBookingStatusParameters"}}],"security":[{"access_token":[]}],"tags":["trips"]},"options":{"responses":{"204":{"description":"Request fulfilled, nothing follows"}},"summary":"Check which methods are allowed","description":"Use this method if you need to know what operations are allowed to be\nperformed on this endpoint, e.g. to decide wether to display a button\nin your UI.\n\nThe list of allowed methods is provided in `Allow` response header.","operationId":"options_flights_list_resource","security":[{"access_token":[]}],"tags":["trips"]},"post":{"responses":{"423":{"description":"Success","schema":{"$ref":"#/definitions/HTTPError423"}},"200":{"description":"Request fulfilled, document follows","schema":{"type":"array","items":{"$ref":"#/definitions/BaseFlightSearchResultSchema"}}},"422":{"description":"Success","schema":{"$ref":"#/definitions/HTTPError422"}}},"operationId":"post_flights_list_resource","parameters":[{"in":"body","required":true,"name":"body","schema":{"$ref":"#/definitions/BcdFlightBookingParameters"}}],"security":[{"access_token":[]}],"tags":["trips"]}},"/trips/{trip_id}/flights/alternative_fares":{"parameters":[{"name":"trip_id","in":"path","required":true,"type":"integer"}],"options":{"responses":{"204":{"description":"Request fulfilled, nothing follows"}},"summary":"Check which methods are allowed","description":"Use this method if you need to know what operations are allowed to be\nperformed on this endpoint, e.g. to decide wether to display a button\nin your UI.\n\nThe list of allowed methods is provided in `Allow` response header.","operationId":"options_trip_alternative_fares_resource","security":[{"access_token":[]}],"tags":["trips"]},"post":{"responses":{"200":{"description":"Request fulfilled, document follows","schema":{"$ref":"#/definitions/TaskResponseSchema"}},"422":{"description":"Success","schema":{"$ref":"#/definitions/HTTPError422"}}},"operationId":"post_trip_alternative_fares_resource","parameters":[{"in":"body","required":true,"name":"body","schema":{"$ref":"#/definitions/AlternativeFares"}}],"security":[{"access_token":[]}],"tags":["trips"]}},"/trips/{trip_id}/flights/alternative_fares/accept":{"parameters":[{"name":"trip_id","in":"path","required":true,"type":"integer"}],"options":{"responses":{"204":{"description":"Request fulfilled, nothing follows"}},"summary":"Check which methods are allowed","description":"Use this method if you need to know what operations are allowed to be\nperformed on this endpoint, e.g. to decide wether to display a button\nin your UI.\n\nThe list of allowed methods is provided in `Allow` response header.","operationId":"options_trip_alternative_fares_accept_resource","security":[{"access_token":[]}],"tags":["trips"]},"post":{"responses":{"200":{"description":"Request fulfilled, document follows","schema":{"type":"array","items":{"$ref":"#/definitions/BaseFlightSearchResultSchema"}}},"422":{"description":"Success","schema":{"$ref":"#/definitions/HTTPError422"}}},"operationId":"post_trip_alternative_fares_accept_resource","parameters":[{"in":"body","required":true,"name":"body","schema":{"$ref":"#/definitions/FlightAlternativeFaresAccept"}}],"security":[{"access_token":[]}],"tags":["trips"]}},"/trips/{trip_id}/flights/alternative_fares/results":{"parameters":[{"name":"trip_id","in":"path","required":true,"type":"integer"}],"get":{"responses":{"200":{"description":"Request fulfilled, document follows","schema":{"$ref":"#/definitions/TaskResultsResponseSchema"}},"422":{"description":"Success","schema":{"$ref":"#/definitions/HTTPError422"}}},"operationId":"get_trip_alternative_fares_results_resource","parameters":[{"in":"query","name":"job_id","type":"string","required":true}],"security":[{"access_token":[]}],"tags":["trips"]},"options":{"responses":{"204":{"description":"Request fulfilled, nothing follows"}},"summary":"Check which methods are allowed","description":"Use this method if you need to know what operations are allowed to be\nperformed on this endpoint, e.g. to decide wether to display a button\nin your UI.\n\nThe list of allowed methods is provided in `Allow` response header.","operationId":"options_trip_alternative_fares_results_resource","security":[{"access_token":[]}],"tags":["trips"]}},"/trips/{trip_id}/flights/flights_status":{"parameters":[{"name":"trip_id","in":"path","required":true,"type":"integer"}],"options":{"responses":{"204":{"description":"Request fulfilled, nothing follows"}},"summary":"Check which methods are allowed","description":"Use this method if you need to know what operations are allowed to be\nperformed on this endpoint, e.g. to decide wether to display a button\nin your UI.\n\nThe list of allowed methods is provided in `Allow` response header.","operationId":"options_flights_status","security":[{"access_token":[]}],"tags":["trips"]},"post":{"responses":{"422":{"description":"Success","schema":{"$ref":"#/definitions/HTTPError422"}}},"operationId":"post_flights_status","parameters":[{"in":"body","required":true,"name":"body","schema":{"$ref":"#/definitions/FlightBookingStatusParameters"}}],"security":[{"access_token":[]}],"tags":["trips"]}},"/trips/{trip_id}/flights/luggage":{"parameters":[{"name":"trip_id","in":"path","required":true,"type":"integer"}],"delete":{"responses":{"200":{"description":"Request fulfilled, document follows","schema":{"type":"array","items":{"$ref":"#/definitions/BaseFlightSearchResultSchema"}}},"422":{"description":"Success","schema":{"$ref":"#/definitions/HTTPError422"}}},"description":"Turned off. Will be add in post MVP.","operationId":"delete_flights_luggage_resource","parameters":[{"in":"body","required":true,"name":"body","schema":{"$ref":"#/definitions/FlightBookingStatusParameters"}}],"security":[{"access_token":[]}],"tags":["trips"]},"options":{"responses":{"204":{"description":"Request fulfilled, nothing follows"}},"summary":"Check which methods are allowed","description":"Turned off. Will be add in post MVP.\nUse this method if you need to know what operations are allowed to be\nperformed on this endpoint, e.g. to decide wether to display a button\nin your UI.\n\nThe list of allowed methods is provided in `Allow` response header.","operationId":"options_flights_luggage_resource","security":[{"access_token":[]}],"tags":["trips"]},"post":{"responses":{"200":{"description":"Request fulfilled, document follows","schema":{"type":"array","items":{"$ref":"#/definitions/BaseFlightSearchResultSchema"}}},"422":{"description":"Success","schema":{"$ref":"#/definitions/HTTPError422"}}},"description":"Turned off. Will be add in post MVP.","operationId":"post_flights_luggage_resource","parameters":[{"in":"body","required":true,"name":"body","schema":{"$ref":"#/definitions/FlightBookingStatusParameters"}}],"security":[{"access_token":[]}],"tags":["trips"]}},"/trips/{trip_id}/flights/ob_fee":{"parameters":[{"name":"trip_id","in":"path","required":true,"type":"integer"}],"get":{"responses":{"200":{"description":"Request fulfilled, document follows","schema":{"$ref":"#/definitions/TaskResultsResponseSchema"}},"422":{"description":"Success","schema":{"$ref":"#/definitions/HTTPError422"}}},"operationId":"get_ob_fee_recalculation_resource","parameters":[{"in":"query","name":"job_id","type":"string","required":true}],"security":[{"access_token":[]}],"tags":["trips"]},"options":{"responses":{"204":{"description":"Request fulfilled, nothing follows"}},"summary":"Check which methods are allowed","description":"Use this method if you need to know what operations are allowed to be\nperformed on this endpoint, e.g. to decide wether to display a button\nin your UI.\n\nThe list of allowed methods is provided in `Allow` response header.","operationId":"options_ob_fee_recalculation_resource","security":[{"access_token":[]}],"tags":["trips"]},"post":{"responses":{"200":{"description":"Request fulfilled, document follows","schema":{"$ref":"#/definitions/TaskResponseSchema"}},"422":{"description":"Success","schema":{"$ref":"#/definitions/HTTPError422"}}},"operationId":"post_ob_fee_recalculation_resource","parameters":[{"in":"body","required":true,"name":"body","schema":{"$ref":"#/definitions/ObFeeRecalculationRequest"}}],"security":[{"access_token":[]}],"tags":["trips"]}},"/trips/{trip_id}/gaps":{"parameters":[{"name":"trip_id","in":"path","required":true,"type":"integer"}],"options":{"responses":{"404":{"description":"Trip not found.","schema":{"$ref":"#/definitions/HTTPError404"}},"204":{"description":"Request fulfilled, nothing follows"}},"summary":"Check which methods are allowed","description":"Use this method if you need to know what operations are allowed to be\nperformed on this endpoint, e.g. to decide wether to display a button\nin your UI.\n\nThe list of allowed methods is provided in `Allow` response header.","operationId":"options_trip_gaps_resource","security":[{"access_token":[]}],"tags":["trips"]},"post":{"responses":{"404":{"description":"Trip not found.","schema":{"$ref":"#/definitions/HTTPError404"}},"200":{"description":"Request fulfilled, document follows","schema":{"type":"array","items":{"$ref":"#/definitions/TripGapSchema"}}},"422":{"description":"Success","schema":{"$ref":"#/definitions/HTTPError422"}}},"operationId":"post_trip_gaps_resource","parameters":[{"in":"body","required":true,"name":"body","schema":{"$ref":"#/definitions/TripGapParameters"}}],"security":[{"access_token":[]}],"tags":["trips"]}},"/trips/{trip_id}/hotels":{"parameters":[{"name":"trip_id","in":"path","required":true,"type":"integer"}],"delete":{"responses":{"422":{"description":"Success","schema":{"$ref":"#/definitions/HTTPError422"}}},"operationId":"delete_hotels_list_in_accommodation_resource","parameters":[{"in":"body","required":true,"name":"body","schema":{"$ref":"#/definitions/HotelBookingStatusParameters"}}],"security":[{"access_token":[]}],"tags":["trips"]},"options":{"responses":{"204":{"description":"Request fulfilled, nothing follows"}},"summary":"Check which methods are allowed","description":"Use this method if you need to know what operations are allowed to be\nperformed on this endpoint, e.g. to decide wether to display a button\nin your UI.\n\nThe list of allowed methods is provided in `Allow` response header.","operationId":"options_hotels_list_in_accommodation_resource","security":[{"access_token":[]}],"tags":["trips"]},"post":{"responses":{"423":{"description":"Success","schema":{"$ref":"#/definitions/HTTPError423"}},"501":{"description":"Server does not support this operation","schema":{"$ref":"#/definitions/HTTPError501"}},"200":{"description":"Request fulfilled, document follows","schema":{"type":"array","items":{"$ref":"#/definitions/BasicHotelRoomSchema"}}},"422":{"description":"Success","schema":{"$ref":"#/definitions/HTTPError422"}}},"operationId":"post_hotels_list_in_accommodation_resource","parameters":[{"in":"body","required":true,"name":"body","schema":{"$ref":"#/definitions/HotelRoomSchemaParameters"}}],"security":[{"access_token":[]}],"tags":["trips"]}},"/trips/{trip_id}/hotels/alternative_fares":{"parameters":[{"name":"trip_id","in":"path","required":true,"type":"integer"}],"options":{"responses":{"204":{"description":"Request fulfilled, nothing follows"}},"summary":"Check which methods are allowed","description":"Use this method if you need to know what operations are allowed to be\nperformed on this endpoint, e.g. to decide wether to display a button\nin your UI.\n\nThe list of allowed methods is provided in `Allow` response header.","operationId":"options_hotel_alternative_fares_resource","security":[{"access_token":[]}],"tags":["trips"]},"post":{"responses":{"200":{"description":"Request fulfilled, document follows","schema":{"$ref":"#/definitions/TaskResponseSchema"}},"422":{"description":"Success","schema":{"$ref":"#/definitions/HTTPError422"}}},"operationId":"post_hotel_alternative_fares_resource","parameters":[{"in":"body","required":true,"name":"body","schema":{"$ref":"#/definitions/AlternativeFares"}}],"security":[{"access_token":[]}],"tags":["trips"]}},"/trips/{trip_id}/hotels/alternative_fares/accept":{"parameters":[{"name":"trip_id","in":"path","required":true,"type":"integer"}],"options":{"responses":{"204":{"description":"Request fulfilled, nothing follows"}},"summary":"Check which methods are allowed","description":"Use this method if you need to know what operations are allowed to be\nperformed on this endpoint, e.g. to decide wether to display a button\nin your UI.\n\nThe list of allowed methods is provided in `Allow` response header.","operationId":"options_hotel_alternative_fares_accept_resource","security":[{"access_token":[]}],"tags":["trips"]},"post":{"responses":{"200":{"description":"Request fulfilled, document follows","schema":{"type":"array","items":{"$ref":"#/definitions/BasicHotelRoomSchema"}}},"422":{"description":"Success","schema":{"$ref":"#/definitions/HTTPError422"}}},"operationId":"post_hotel_alternative_fares_accept_resource","parameters":[{"in":"body","required":true,"name":"body","schema":{"$ref":"#/definitions/HotelAlternativeFaresAccept"}}],"security":[{"access_token":[]}],"tags":["trips"]}},"/trips/{trip_id}/hotels/alternative_fares/results":{"parameters":[{"name":"trip_id","in":"path","required":true,"type":"integer"}],"get":{"responses":{"200":{"description":"Request fulfilled, document follows","schema":{"$ref":"#/definitions/TaskResultsResponseSchema"}},"422":{"description":"Success","schema":{"$ref":"#/definitions/HTTPError422"}}},"operationId":"get_hotel_alternative_fares_results_resource","parameters":[{"in":"query","name":"job_id","type":"string","required":true}],"security":[{"access_token":[]}],"tags":["trips"]},"options":{"responses":{"204":{"description":"Request fulfilled, nothing follows"}},"summary":"Check which methods are allowed","description":"Use this method if you need to know what operations are allowed to be\nperformed on this endpoint, e.g. to decide wether to display a button\nin your UI.\n\nThe list of allowed methods is provided in `Allow` response header.","operationId":"options_hotel_alternative_fares_results_resource","security":[{"access_token":[]}],"tags":["trips"]}},"/trips/{trip_id}/hotels/alternative_hotels":{"parameters":[{"name":"trip_id","in":"path","required":true,"type":"integer"}],"options":{"responses":{"204":{"description":"Request fulfilled, nothing follows"}},"summary":"Check which methods are allowed","description":"Use this method if you need to know what operations are allowed to be\nperformed on this endpoint, e.g. to decide wether to display a button\nin your UI.\n\nThe list of allowed methods is provided in `Allow` response header.","operationId":"options_hotel_alternative_hotels_resource","security":[{"access_token":[]}],"tags":["trips"]},"post":{"responses":{"200":{"description":"Request fulfilled, document follows","schema":{"$ref":"#/definitions/TaskResponseSchema"}},"422":{"description":"Success","schema":{"$ref":"#/definitions/HTTPError422"}}},"operationId":"post_hotel_alternative_hotels_resource","parameters":[{"in":"body","required":true,"name":"body","schema":{"$ref":"#/definitions/AlternativeFares"}}],"security":[{"access_token":[]}],"tags":["trips"]}},"/trips/{trip_id}/hotels/alternative_hotels/{booking_segment_id}/results":{"parameters":[{"name":"trip_id","in":"path","required":true,"type":"integer"},{"name":"booking_segment_id","in":"path","required":true,"type":"integer"}],"get":{"responses":{"200":{"description":"Request fulfilled, document follows","schema":{"$ref":"#/definitions/TaskResultsResponseSchema"}}},"operationId":"get_hotel_alternative_hotels_result_resource","security":[{"access_token":[]}],"tags":["trips"]},"options":{"responses":{"204":{"description":"Request fulfilled, nothing follows"}},"summary":"Check which methods are allowed","description":"Use this method if you need to know what operations are allowed to be\nperformed on this endpoint, e.g. to decide wether to display a button\nin your UI.\n\nThe list of allowed methods is provided in `Allow` response header.","operationId":"options_hotel_alternative_hotels_result_resource","security":[{"access_token":[]}],"tags":["trips"]}},"/trips/{trip_id}/hotels/hotel_booking_status":{"parameters":[{"name":"trip_id","in":"path","required":true,"type":"integer"}],"options":{"responses":{"204":{"description":"Request fulfilled, nothing follows"}},"summary":"Check which methods are allowed","description":"Use this method if you need to know what operations are allowed to be\nperformed on this endpoint, e.g. to decide wether to display a button\nin your UI.\n\nThe list of allowed methods is provided in `Allow` response header.","operationId":"options_hotel_booking_status_resource","security":[{"access_token":[]}],"tags":["trips"]},"post":{"responses":{"200":{"description":"Request fulfilled, document follows","schema":{"$ref":"#/definitions/HotelRoomReservationStatusSchema"}},"422":{"description":"Success","schema":{"$ref":"#/definitions/HTTPError422"}}},"operationId":"post_hotel_booking_status_resource","parameters":[{"in":"body","required":true,"name":"body","schema":{"$ref":"#/definitions/HotelBookingStatusParameters"}}],"security":[{"access_token":[]}],"tags":["trips"]}},"/trips/{trip_id}/hotels/{hotel_id}/send_payment_communication":{"parameters":[{"name":"trip_id","in":"path","required":true,"type":"integer"},{"name":"hotel_id","in":"path","required":true,"type":"string"}],"options":{"responses":{"204":{"description":"Request fulfilled, nothing follows"}},"summary":"Check which methods are allowed","description":"Use this method if you need to know what operations are allowed to be\nperformed on this endpoint, e.g. to decide wether to display a button\nin your UI.\n\nThe list of allowed methods is provided in `Allow` response header.","operationId":"options_hotel_send_conferma_communication_resource","security":[{"access_token":[]}],"tags":["trips"]},"post":{"responses":{"422":{"description":"Success","schema":{"$ref":"#/definitions/HTTPError422"}}},"operationId":"post_hotel_send_conferma_communication_resource","parameters":[{"in":"body","required":true,"name":"body","schema":{"$ref":"#/definitions/HotelConfermaCommunication"}}],"security":[{"access_token":[]}],"tags":["trips"]}},"/trips/{trip_id}/itinerary":{"parameters":[{"name":"trip_id","in":"path","required":true,"type":"integer"}],"get":{"responses":{"200":{"description":"Request fulfilled, document follows","schema":{"$ref":"#/definitions/TripItinerarySchema"}}},"operationId":"get_trip_itinerary_resource","security":[{"access_token":[]}],"tags":["trips"]},"options":{"responses":{"204":{"description":"Request fulfilled, nothing follows"}},"summary":"Check which methods are allowed","description":"Use this method if you need to know what operations are allowed to be\nperformed on this endpoint, e.g. to decide wether to display a button\nin your UI.\n\nThe list of allowed methods is provided in `Allow` response header.","operationId":"options_trip_itinerary_resource","security":[{"access_token":[]}],"tags":["trips"]}},"/trips/{trip_id}/itinerary/hash":{"parameters":[{"name":"trip_id","in":"path","required":true,"type":"integer"}],"get":{"responses":{"422":{"description":"Success","schema":{"$ref":"#/definitions/HTTPError422"}}},"operationId":"get_trip_itinerary_hash_resource","parameters":[{"in":"query","name":"user_id","type":"string","required":false}],"security":[{"access_token":[]}],"tags":["trips"]},"options":{"responses":{"204":{"description":"Request fulfilled, nothing follows"}},"summary":"Check which methods are allowed","description":"Use this method if you need to know what operations are allowed to be\nperformed on this endpoint, e.g. to decide wether to display a button\nin your UI.\n\nThe list of allowed methods is provided in `Allow` response header.","operationId":"options_trip_itinerary_hash_resource","security":[{"access_token":[]}],"tags":["trips"]}},"/trips/{trip_id}/itinerary/refresh":{"parameters":[{"name":"trip_id","in":"path","required":true,"type":"integer"}],"put":{"responses":{"200":{"description":"Request fulfilled, document follows","schema":{"$ref":"#/definitions/ItineraryStatusSchema"}}},"operationId":"put_travel_itinerary_check_status_start","security":[{"access_token":[]}],"tags":["trips"]},"options":{"responses":{"204":{"description":"Request fulfilled, nothing follows"}},"summary":"Check which methods are allowed","description":"Use this method if you need to know what operations are allowed to be\nperformed on this endpoint, e.g. to decide wether to display a button\nin your UI.\n\nThe list of allowed methods is provided in `Allow` response header.","operationId":"options_travel_itinerary_check_status_start","security":[{"access_token":[]}],"tags":["trips"]}},"/trips/{trip_id}/itinerary/refresh/{status_request_id}":{"parameters":[{"name":"trip_id","in":"path","required":true,"type":"integer"},{"name":"status_request_id","in":"path","required":true,"type":"integer"}],"get":{"responses":{"200":{"description":"Request fulfilled, document follows","schema":{"$ref":"#/definitions/ItineraryStatusSchema"}}},"operationId":"get_travel_itinerary_check_status","security":[{"access_token":[]}],"tags":["trips"]},"options":{"responses":{"204":{"description":"Request fulfilled, nothing follows"}},"summary":"Check which methods are allowed","description":"Use this method if you need to know what operations are allowed to be\nperformed on this endpoint, e.g. to decide wether to display a button\nin your UI.\n\nThe list of allowed methods is provided in `Allow` response header.","operationId":"options_travel_itinerary_check_status","security":[{"access_token":[]}],"tags":["trips"]}},"/trips/{trip_id}/itinerary/{trip_id_hash}.ics":{"parameters":[{"name":"trip_id","in":"path","required":true,"type":"integer"},{"name":"trip_id_hash","in":"path","required":true,"type":"string"}],"get":{"responses":{"200":{"description":"Success"}},"operationId":"get_trip_itinerary_ics_resource","tags":["trips"]},"options":{"responses":{"204":{"description":"Request fulfilled, nothing follows"}},"summary":"Check which methods are allowed","description":"Use this method if you need to know what operations are allowed to be\nperformed on this endpoint, e.g. to decide wether to display a button\nin your UI.\n\nThe list of allowed methods is provided in `Allow` response header.","operationId":"options_trip_itinerary_ics_resource","tags":["trips"]}},"/trips/{trip_id}/itinerary/{trip_id_hash}.pdf":{"parameters":[{"name":"trip_id","in":"path","required":true,"type":"integer"},{"name":"trip_id_hash","in":"path","required":true,"type":"string"}],"get":{"responses":{"422":{"description":"Success","schema":{"$ref":"#/definitions/HTTPError422"}}},"operationId":"get_trip_itinerary_pdf_resource","parameters":[{"in":"query","name":"as_attachment","type":"boolean","required":false}],"tags":["trips"]},"options":{"responses":{"204":{"description":"Request fulfilled, nothing follows"}},"summary":"Check which methods are allowed","description":"Use this method if you need to know what operations are allowed to be\nperformed on this endpoint, e.g. to decide wether to display a button\nin your UI.\n\nThe list of allowed methods is provided in `Allow` response header.","operationId":"options_trip_itinerary_pdf_resource","tags":["trips"]}},"/trips/{trip_id}/itinerary/{trip_id_hash}.zip":{"parameters":[{"name":"trip_id","in":"path","required":true,"type":"integer"},{"name":"trip_id_hash","in":"path","required":true,"type":"string"}],"get":{"responses":{"422":{"description":"Success","schema":{"$ref":"#/definitions/HTTPError422"}}},"operationId":"get_trip_itinerary_zip_resource","parameters":[{"in":"query","name":"as_attachment","type":"boolean","required":false}],"tags":["trips"]},"options":{"responses":{"204":{"description":"Request fulfilled, nothing follows"}},"summary":"Check which methods are allowed","description":"Use this method if you need to know what operations are allowed to be\nperformed on this endpoint, e.g. to decide wether to display a button\nin your UI.\n\nThe list of allowed methods is provided in `Allow` response header.","operationId":"options_trip_itinerary_zip_resource","tags":["trips"]}},"/trips/{trip_id}/mock/book":{"parameters":[{"name":"trip_id","in":"path","required":true,"type":"integer"}],"get":{"responses":{"405":{"description":"method not allowed","schema":{"type":"array","items":{"$ref":"#/definitions/BookingSegmentMockSchema"}}},"404":{"description":"trip not found","schema":{"type":"array","items":{"$ref":"#/definitions/BookingSegmentMockSchema"}}},"200":{"description":"mock book","schema":{"type":"array","items":{"$ref":"#/definitions/BookingSegmentMockSchema"}}}},"operationId":"get_trip_mock_book_resource","security":[{"access_token":[]}],"tags":["trips"]},"options":{"responses":{"405":{"description":"method not allowed","schema":{"type":"array","items":{"$ref":"#/definitions/BookingSegmentMockSchema"}}},"204":{"description":"Request fulfilled, nothing follows"}},"summary":"Check which methods are allowed","description":"Use this method if you need to know what operations are allowed to be\nperformed on this endpoint, e.g. to decide wether to display a button\nin your UI.\n\nThe list of allowed methods is provided in `Allow` response header.","operationId":"options_trip_mock_book_resource","security":[{"access_token":[]}],"tags":["trips"]},"post":{"responses":{"405":{"description":"method not allowed","schema":{"type":"array","items":{"$ref":"#/definitions/BookingSegmentMockSchema"}}},"202":{"description":"set mock book"},"422":{"description":"Success","schema":{"$ref":"#/definitions/HTTPError422"}}},"operationId":"post_trip_mock_book_resource","parameters":[{"in":"body","required":true,"name":"body","schema":{"$ref":"#/definitions/AddMocksParameters"}}],"security":[{"access_token":[]}],"tags":["trips"]}},"/trips/{trip_id}/mock/cancel":{"parameters":[{"name":"trip_id","in":"path","required":true,"type":"integer"}],"get":{"responses":{"405":{"description":"method not allowed","schema":{"type":"array","items":{"$ref":"#/definitions/BookingSegmentMockSchema"}}},"404":{"description":"trip not found","schema":{"type":"array","items":{"$ref":"#/definitions/BookingSegmentMockSchema"}}},"200":{"description":"mock cancel","schema":{"type":"array","items":{"$ref":"#/definitions/BookingSegmentMockSchema"}}}},"operationId":"get_trip_mock_cancel_resource","security":[{"access_token":[]}],"tags":["trips"]},"options":{"responses":{"405":{"description":"method not allowed","schema":{"type":"array","items":{"$ref":"#/definitions/BookingSegmentMockSchema"}}},"204":{"description":"Request fulfilled, nothing follows"}},"summary":"Check which methods are allowed","description":"Use this method if you need to know what operations are allowed to be\nperformed on this endpoint, e.g. to decide wether to display a button\nin your UI.\n\nThe list of allowed methods is provided in `Allow` response header.","operationId":"options_trip_mock_cancel_resource","security":[{"access_token":[]}],"tags":["trips"]},"post":{"responses":{"405":{"description":"method not allowed","schema":{"type":"array","items":{"$ref":"#/definitions/BookingSegmentMockSchema"}}},"202":{"description":"set mock cancel"},"422":{"description":"Success","schema":{"$ref":"#/definitions/HTTPError422"}}},"operationId":"post_trip_mock_cancel_resource","parameters":[{"in":"body","required":true,"name":"body","schema":{"$ref":"#/definitions/AddMocksParameters"}}],"security":[{"access_token":[]}],"tags":["trips"]}},"/trips/{trip_id}/mock/fee":{"parameters":[{"name":"trip_id","in":"path","required":true,"type":"integer"}],"get":{"responses":{"404":{"description":"trip not found","schema":{"$ref":"#/definitions/BaseMockSchema"}},"200":{"description":"mock pricing","schema":{"$ref":"#/definitions/BaseMockSchema"}}},"operationId":"get_trip_mock_fee_resource","security":[{"access_token":[]}],"tags":["trips"]},"options":{"responses":{"204":{"description":"Request fulfilled, nothing follows"}},"summary":"Check which methods are allowed","description":"Use this method if you need to know what operations are allowed to be\nperformed on this endpoint, e.g. to decide wether to display a button\nin your UI.\n\nThe list of allowed methods is provided in `Allow` response header.","operationId":"options_trip_mock_fee_resource","security":[{"access_token":[]}],"tags":["trips"]},"post":{"responses":{"202":{"description":"set mock pricing"},"422":{"description":"Success","schema":{"$ref":"#/definitions/HTTPError422"}}},"operationId":"post_trip_mock_fee_resource","parameters":[{"in":"body","required":true,"name":"body","schema":{"$ref":"#/definitions/AddFeeMockParameters"}}],"security":[{"access_token":[]}],"tags":["trips"]}},"/trips/{trip_id}/mock/pricing":{"parameters":[{"name":"trip_id","in":"path","required":true,"type":"integer"}],"get":{"responses":{"405":{"description":"method not allowed","schema":{"type":"array","items":{"$ref":"#/definitions/BookingSegmentMockSchema"}}},"404":{"description":"trip not found","schema":{"type":"array","items":{"$ref":"#/definitions/BookingSegmentMockSchema"}}},"200":{"description":"mock pricing","schema":{"type":"array","items":{"$ref":"#/definitions/BookingSegmentMockSchema"}}}},"operationId":"get_trip_mock_pricing_resource","security":[{"access_token":[]}],"tags":["trips"]},"delete":{"responses":{"405":{"description":"method not allowed","schema":{"type":"array","items":{"$ref":"#/definitions/BookingSegmentMockSchema"}}},"202":{"description":"delete mock pricing"},"422":{"description":"Success","schema":{"$ref":"#/definitions/HTTPError422"}}},"operationId":"delete_trip_mock_pricing_resource","parameters":[{"in":"body","required":true,"name":"body","schema":{"$ref":"#/definitions/AddMocksParameters"}}],"security":[{"access_token":[]}],"tags":["trips"]},"options":{"responses":{"405":{"description":"method not allowed","schema":{"type":"array","items":{"$ref":"#/definitions/BookingSegmentMockSchema"}}},"204":{"description":"Request fulfilled, nothing follows"}},"summary":"Check which methods are allowed","description":"Use this method if you need to know what operations are allowed to be\nperformed on this endpoint, e.g. to decide wether to display a button\nin your UI.\n\nThe list of allowed methods is provided in `Allow` response header.","operationId":"options_trip_mock_pricing_resource","security":[{"access_token":[]}],"tags":["trips"]},"post":{"responses":{"405":{"description":"method not allowed","schema":{"type":"array","items":{"$ref":"#/definitions/BookingSegmentMockSchema"}}},"202":{"description":"set mock pricing"},"422":{"description":"Success","schema":{"$ref":"#/definitions/HTTPError422"}}},"operationId":"post_trip_mock_pricing_resource","parameters":[{"in":"body","required":true,"name":"body","schema":{"$ref":"#/definitions/AddMocksParameters"}}],"security":[{"access_token":[]}],"tags":["trips"]}},"/trips/{trip_id}/notes":{"parameters":[{"name":"trip_id","in":"path","required":true,"type":"integer"}],"get":{"responses":{"404":{"description":"Trip not found.","schema":{"$ref":"#/definitions/HTTPError404"}},"200":{"description":"Request fulfilled, document follows","schema":{"type":"array","items":{"$ref":"#/definitions/TripNoteSchema"}}}},"operationId":"get_trip_notes_resource","security":[{"access_token":[]}],"tags":["trips"]},"options":{"responses":{"204":{"description":"Request fulfilled, nothing follows"}},"summary":"Check which methods are allowed","description":"Use this method if you need to know what operations are allowed to be\nperformed on this endpoint, e.g. to decide wether to display a button\nin your UI.\n\nThe list of allowed methods is provided in `Allow` response header.","operationId":"options_trip_notes_resource","security":[{"access_token":[]}],"tags":["trips"]},"post":{"responses":{"200":{"description":"Request fulfilled, document follows","schema":{"$ref":"#/definitions/TripNoteSchema"}},"422":{"description":"Success","schema":{"$ref":"#/definitions/HTTPError422"}}},"operationId":"post_trip_notes_resource","parameters":[{"in":"body","required":true,"name":"body","schema":{"$ref":"#/definitions/TripNotesCreateParameters"}}],"security":[{"access_token":[]}],"tags":["trips"]}},"/trips/{trip_id}/notes/{notes_id}":{"parameters":[{"name":"trip_id","in":"path","required":true,"type":"integer"},{"name":"notes_id","in":"path","required":true,"type":"integer"}],"put":{"responses":{"404":{"description":"Note not found.","schema":{"$ref":"#/definitions/HTTPError404"}},"200":{"description":"Request fulfilled, document follows","schema":{"$ref":"#/definitions/TripNoteSchema"}},"422":{"description":"Success","schema":{"$ref":"#/definitions/HTTPError422"}}},"operationId":"put_trip_notes_manager_resource","parameters":[{"in":"body","required":true,"name":"body","schema":{"$ref":"#/definitions/TripNotesUpdateParameters"}}],"security":[{"access_token":[]}],"tags":["trips"]},"delete":{"responses":{"202":{"description":"Request accepted, processing continues off-line"}},"operationId":"delete_trip_notes_manager_resource","security":[{"access_token":[]}],"tags":["trips"]},"options":{"responses":{"204":{"description":"Request fulfilled, nothing follows"}},"summary":"Check which methods are allowed","description":"Use this method if you need to know what operations are allowed to be\nperformed on this endpoint, e.g. to decide wether to display a button\nin your UI.\n\nThe list of allowed methods is provided in `Allow` response header.","operationId":"options_trip_notes_manager_resource","security":[{"access_token":[]}],"tags":["trips"]}},"/trips/{trip_id}/notify_planner_price_change":{"parameters":[{"name":"trip_id","in":"path","required":true,"type":"integer"}],"options":{"responses":{"404":{"description":"User not found.","schema":{"$ref":"#/definitions/HTTPError404"}},"204":{"description":"Request fulfilled, nothing follows"}},"summary":"Check which methods are allowed","description":"Use this method if you need to know what operations are allowed to be\nperformed on this endpoint, e.g. to decide wether to display a button\nin your UI.\n\nThe list of allowed methods is provided in `Allow` response header.","operationId":"options_trip_notify_price_change_resource","security":[{"access_token":[]}],"tags":["trips"]},"post":{"responses":{"404":{"description":"User not found.","schema":{"$ref":"#/definitions/HTTPError404"}},"422":{"description":"Success","schema":{"$ref":"#/definitions/HTTPError422"}}},"operationId":"post_trip_notify_price_change_resource","parameters":[{"in":"body","required":true,"name":"body","schema":{"$ref":"#/definitions/PriceChangeParameters"}}],"security":[{"access_token":[]}],"tags":["trips"]}},"/trips/{trip_id}/notify_planner_reverted":{"parameters":[{"name":"trip_id","in":"path","required":true,"type":"integer"}],"options":{"responses":{"404":{"description":"User not found.","schema":{"$ref":"#/definitions/HTTPError404"}},"204":{"description":"Request fulfilled, nothing follows"}},"summary":"Check which methods are allowed","description":"Use this method if you need to know what operations are allowed to be\nperformed on this endpoint, e.g. to decide wether to display a button\nin your UI.\n\nThe list of allowed methods is provided in `Allow` response header.","operationId":"options_trip_notify_reverted_resource","security":[{"access_token":[]}],"tags":["trips"]},"post":{"responses":{"404":{"description":"User not found.","schema":{"$ref":"#/definitions/HTTPError404"}}},"operationId":"post_trip_notify_reverted_resource","security":[{"access_token":[]}],"tags":["trips"]}},"/trips/{trip_id}/payment_methods":{"parameters":[{"name":"trip_id","in":"path","required":true,"type":"integer"}],"get":{"responses":{"422":{"description":"Success","schema":{"$ref":"#/definitions/HTTPError422"}}},"operationId":"get_trip_payment_method_list","parameters":[{"in":"query","name":"different_traveler_credit_cards","type":"boolean","required":false}],"security":[{"access_token":[]}],"tags":["trips"]},"put":{"responses":{"200":{"description":"Request fulfilled, document follows","schema":{"$ref":"#/definitions/DetailedPaymentTripSchema"}},"422":{"description":"Success","schema":{"$ref":"#/definitions/HTTPError422"}}},"operationId":"put_trip_payment_method_list","parameters":[{"in":"body","required":true,"name":"body","schema":{"$ref":"#/definitions/PutCreditCardParameters"}}],"security":[{"access_token":[]}],"tags":["trips"]},"options":{"responses":{"204":{"description":"Request fulfilled, nothing follows"}},"summary":"Check which methods are allowed","description":"Use this method if you need to know what operations are allowed to be\nperformed on this endpoint, e.g. to decide wether to display a button\nin your UI.\n\nThe list of allowed methods is provided in `Allow` response header.","operationId":"options_trip_payment_method_list","security":[{"access_token":[]}],"tags":["trips"]}},"/trips/{trip_id}/rails":{"parameters":[{"name":"trip_id","in":"path","required":true,"type":"integer"}],"delete":{"responses":{"202":{"description":"Request accepted, processing continues off-line"},"422":{"description":"Success","schema":{"$ref":"#/definitions/HTTPError422"}}},"operationId":"delete_rail_booking_resource","parameters":[{"in":"body","required":true,"name":"body","schema":{"$ref":"#/definitions/RailBookingDeleteParameters"}}],"security":[{"access_token":[]}],"tags":["trips"]},"options":{"responses":{"204":{"description":"Request fulfilled, nothing follows"}},"summary":"Check which methods are allowed","description":"Use this method if you need to know what operations are allowed to be\nperformed on this endpoint, e.g. to decide wether to display a button\nin your UI.\n\nThe list of allowed methods is provided in `Allow` response header.","operationId":"options_rail_booking_resource","security":[{"access_token":[]}],"tags":["trips"]},"post":{"responses":{"423":{"description":"Success","schema":{"$ref":"#/definitions/HTTPError423"}},"200":{"description":"Request fulfilled, document follows","schema":{"type":"array","items":{"$ref":"#/definitions/BaseRailResultSchema"}}},"422":{"description":"Success","schema":{"$ref":"#/definitions/HTTPError422"}}},"operationId":"post_rail_booking_resource","parameters":[{"in":"body","required":true,"name":"body","schema":{"$ref":"#/definitions/BCDRailBookingSelectParameters"}}],"security":[{"access_token":[]}],"tags":["trips"]}},"/trips/{trip_id}/reject":{"parameters":[{"name":"trip_id","in":"path","required":true,"type":"integer"}],"options":{"responses":{"204":{"description":"Request fulfilled, nothing follows"}},"summary":"Check which methods are allowed","description":"Use this method if you need to know what operations are allowed to be\nperformed on this endpoint, e.g. to decide wether to display a button\nin your UI.\n\nThe list of allowed methods is provided in `Allow` response header.","operationId":"options_trip_reject_resource","security":[{"access_token":[]}],"tags":["trips"]},"post":{"responses":{"202":{"description":"Request accepted, processing continues off-line"},"422":{"description":"Success","schema":{"$ref":"#/definitions/HTTPError422"}}},"operationId":"post_trip_reject_resource","parameters":[{"in":"body","required":true,"name":"body","schema":{"$ref":"#/definitions/RejectionMessage"}}],"security":[{"access_token":[]}],"tags":["trips"]}},"/trips/{trip_id}/share/itinerary":{"parameters":[{"name":"trip_id","in":"path","required":true,"type":"integer"}],"options":{"responses":{"204":{"description":"Request fulfilled, nothing follows"}},"summary":"Check which methods are allowed","description":"Use this method if you need to know what operations are allowed to be\nperformed on this endpoint, e.g. to decide wether to display a button\nin your UI.\n\nThe list of allowed methods is provided in `Allow` response header.","operationId":"options_trip_itinerary_share_resource","security":[{"access_token":[]}],"tags":["trips"]},"post":{"responses":{"200":{"description":"Request fulfilled, document follows","schema":{"$ref":"#/definitions/TaskResponseSchema"}},"422":{"description":"Success","schema":{"$ref":"#/definitions/HTTPError422"}}},"operationId":"post_trip_itinerary_share_resource","parameters":[{"in":"body","required":true,"name":"body","schema":{"$ref":"#/definitions/TripItineraryShareParameters"}}],"security":[{"access_token":[]}],"tags":["trips"]}},"/trips/{trip_id}/status":{"parameters":[{"name":"trip_id","in":"path","required":true,"type":"integer"}],"get":{"responses":{"200":{"description":"Request fulfilled, document follows","schema":{"$ref":"#/definitions/TripStatusSchema"}}},"operationId":"get_trip_status_resource","security":[{"access_token":[]}],"tags":["trips"]},"options":{"responses":{"204":{"description":"Request fulfilled, nothing follows"}},"summary":"Check which methods are allowed","description":"Use this method if you need to know what operations are allowed to be\nperformed on this endpoint, e.g. to decide wether to display a button\nin your UI.\n\nThe list of allowed methods is provided in `Allow` response header.","operationId":"options_trip_status_resource","security":[{"access_token":[]}],"tags":["trips"]}},"/trips/{trip_id}/submit_for_approval":{"parameters":[{"name":"trip_id","in":"path","required":true,"type":"integer"}],"options":{"responses":{"204":{"description":"Request fulfilled, nothing follows"}},"summary":"Check which methods are allowed","description":"Use this method if you need to know what operations are allowed to be\nperformed on this endpoint, e.g. to decide wether to display a button\nin your UI.\n\nThe list of allowed methods is provided in `Allow` response header.","operationId":"options_trip_submit_for_approval_resource","security":[{"access_token":[]}],"tags":["trips"]},"post":{"responses":{"202":{"description":"Request accepted, processing continues off-line","schema":{"$ref":"#/definitions/TripStatusSchema"}},"400":{"description":"Bad request syntax or unsupported method","schema":{"$ref":"#/definitions/HTTPError400"}},"422":{"description":"Success","schema":{"$ref":"#/definitions/HTTPError422"}}},"operationId":"post_trip_submit_for_approval_resource","parameters":[{"in":"body","required":true,"name":"body","schema":{"$ref":"#/definitions/TripSubmitParameters"}}],"security":[{"access_token":[]}],"tags":["trips"]}},"/trips/{trip_id}/submit_trip":{"parameters":[{"name":"trip_id","in":"path","required":true,"type":"integer"}],"options":{"responses":{"204":{"description":"Request fulfilled, nothing follows"}},"summary":"Check which methods are allowed","description":"Use this method if you need to know what operations are allowed to be\nperformed on this endpoint, e.g. to decide wether to display a button\nin your UI.\n\nThe list of allowed methods is provided in `Allow` response header.","operationId":"options_trip_submit_resource","security":[{"access_token":[]}],"tags":["trips"]},"post":{"responses":{"202":{"description":"Request accepted, processing continues off-line","schema":{"$ref":"#/definitions/TripStatusSchema"}},"400":{"description":"Bad request syntax or unsupported method","schema":{"$ref":"#/definitions/HTTPError400"}},"422":{"description":"Success","schema":{"$ref":"#/definitions/HTTPError422"}}},"operationId":"post_trip_submit_resource","parameters":[{"in":"body","required":true,"name":"body","schema":{"$ref":"#/definitions/TripSubmitParameters"}}],"security":[{"access_token":[]}],"tags":["trips"]}},"/trips/{trip_id}/support_requests":{"parameters":[{"name":"trip_id","in":"path","required":true,"type":"integer"}],"get":{"responses":{"200":{"description":"get all trip support requests","schema":{"type":"array","items":{"$ref":"#/definitions/DetailedSupportRequestSchema"}}}},"operationId":"get_trip_support_requests_list","security":[{"access_token":[]}],"tags":["trips"]},"options":{"responses":{"204":{"description":"Request fulfilled, nothing follows"}},"summary":"Check which methods are allowed","description":"Use this method if you need to know what operations are allowed to be\nperformed on this endpoint, e.g. to decide wether to display a button\nin your UI.\n\nThe list of allowed methods is provided in `Allow` response header.","operationId":"options_trip_support_requests_list","security":[{"access_token":[]}],"tags":["trips"]},"post":{"responses":{"200":{"description":"create support requests for trip","schema":{"$ref":"#/definitions/DetailedSupportRequestSchema"}},"422":{"description":"Success","schema":{"$ref":"#/definitions/HTTPError422"}}},"operationId":"post_trip_support_requests_list","parameters":[{"in":"body","required":true,"name":"body","schema":{"$ref":"#/definitions/SupportRequestSchemaParams"}}],"security":[{"access_token":[]}],"tags":["trips"]}},"/trips/{trip_id}/travelers":{"parameters":[{"name":"trip_id","in":"path","required":true,"type":"integer"}],"get":{"responses":{"200":{"description":"get all travelers in trip","schema":{"type":"array","items":{"$ref":"#/definitions/BaseUserSchema"}}}},"operationId":"get_trip_travelers_list","security":[{"access_token":[]}],"tags":["trips"]},"options":{"responses":{"204":{"description":"Request fulfilled, nothing follows"}},"summary":"Check which methods are allowed","description":"Use this method if you need to know what operations are allowed to be\nperformed on this endpoint, e.g. to decide wether to display a button\nin your UI.\n\nThe list of allowed methods is provided in `Allow` response header.","operationId":"options_trip_travelers_list","security":[{"access_token":[]}],"tags":["trips"]}},"/trips/{trip_id}/v2/flights":{"parameters":[{"name":"trip_id","in":"path","required":true,"type":"integer"}],"get":{"responses":{"200":{"description":"Request fulfilled, document follows","schema":{"$ref":"#/definitions/TaskFlightStatusSchema"}},"422":{"description":"Success","schema":{"$ref":"#/definitions/HTTPError422"}}},"operationId":"get_flight_booking_resource","parameters":[{"in":"query","name":"job_id","type":"string","required":true}],"security":[{"access_token":[]}],"tags":["trips"]},"options":{"responses":{"204":{"description":"Request fulfilled, nothing follows"}},"summary":"Check which methods are allowed","description":"Use this method if you need to know what operations are allowed to be\nperformed on this endpoint, e.g. to decide wether to display a button\nin your UI.\n\nThe list of allowed methods is provided in `Allow` response header.","operationId":"options_flight_booking_resource","security":[{"access_token":[]}],"tags":["trips"]},"post":{"responses":{"423":{"description":"Success","schema":{"$ref":"#/definitions/HTTPError423"}},"200":{"description":"Request fulfilled, document follows","schema":{"$ref":"#/definitions/TaskResponseSchema"}},"422":{"description":"Success","schema":{"$ref":"#/definitions/HTTPError422"}}},"operationId":"post_flight_booking_resource","parameters":[{"in":"body","required":true,"name":"body","schema":{"$ref":"#/definitions/BcdFlightBookingV2Parameters"}}],"security":[{"access_token":[]}],"tags":["trips"]}},"/trips/{trip_id}/verify/{segment_id}":{"parameters":[{"name":"trip_id","in":"path","required":true,"type":"integer"},{"name":"segment_id","in":"path","required":true,"type":"integer"}],"options":{"responses":{"204":{"description":"Request fulfilled, nothing follows"}},"summary":"Check which methods are allowed","description":"Use this method if you need to know what operations are allowed to be\nperformed on this endpoint, e.g. to decide wether to display a button\nin your UI.\n\nThe list of allowed methods is provided in `Allow` response header.","operationId":"options_trip_verify_resource","security":[{"access_token":[]}],"tags":["trips"]},"post":{"responses":{"202":{"description":"Request accepted, processing continues off-line","schema":{"$ref":"#/definitions/TripStatusSchema"}},"422":{"description":"Success","schema":{"$ref":"#/definitions/HTTPError422"}}},"operationId":"post_trip_verify_resource","parameters":[{"in":"body","required":true,"name":"body","schema":{"$ref":"#/definitions/TripVerifyParameters"}}],"security":[{"access_token":[]}],"tags":["trips"]}},"/unused_tickets/":{"get":{"responses":{"200":{"description":"Request fulfilled, document follows","schema":{"$ref":"#/definitions/TicketSchema"}}},"operationId":"get_homepage_unused_tickets_resource","security":[{"access_token":[]}],"tags":["unused_tickets"]},"options":{"responses":{"204":{"description":"Request fulfilled, nothing follows"}},"summary":"Check which methods are allowed","description":"Use this method if you need to know what operations are allowed to be\nperformed on this endpoint, e.g. to decide wether to display a button\nin your UI.\n\nThe list of allowed methods is provided in `Allow` response header.","operationId":"options_homepage_unused_tickets_resource","security":[{"access_token":[]}],"tags":["unused_tickets"]}},"/upload/{file_kind}":{"parameters":[{"name":"file_kind","in":"path","required":true,"type":"string"}],"options":{"responses":{"204":{"description":"Request fulfilled, nothing follows"}},"summary":"Check which methods are allowed","description":"Use this method if you need to know what operations are allowed to be\nperformed on this endpoint, e.g. to decide wether to display a button\nin your UI.\n\nThe list of allowed methods is provided in `Allow` response header.","operationId":"options_upload_file_resource","security":[{"access_token":[]}],"tags":["upload"]},"post":{"responses":{"404":{"description":"Company not found.","schema":{"$ref":"#/definitions/HTTPError404"}},"201":{"description":"Document created, URL follows","schema":{"$ref":"#/definitions/UploadedFileSchema"}}},"operationId":"post_upload_file_resource","security":[{"access_token":[]}],"tags":["upload"]}},"/user_permissions/":{"get":{"responses":{"422":{"description":"Success","schema":{"$ref":"#/definitions/HTTPError422"}},"200":{"description":"Request fulfilled, document follows","schema":{"type":"array","items":{"$ref":"#/definitions/BaseUserPermissionSchema"}}}},"operationId":"get_user_permission_list","parameters":[{"in":"query","name":"user_id","type":"integer","required":false},{"in":"query","name":"permission","type":"string","enum":["Default","Register","BeforeOnBoarding","ViewOthers","ManageSystem","ManageUsers","ManageTrips","ViewAllReports","ViewManagedGroupReports","Admin"],"required":false}],"security":[{"access_token":[]}],"tags":["user_permissions"]},"options":{"responses":{"204":{"description":"Request fulfilled, nothing follows"}},"summary":"Check which methods are allowed","description":"Use this method if you need to know what operations are allowed to be\nperformed on this endpoint, e.g. to decide wether to display a button\nin your UI.\n\nThe list of allowed methods is provided in `Allow` response header.","operationId":"options_user_permission_list","security":[{"access_token":[]}],"tags":["user_permissions"]},"post":{"responses":{"409":{"description":"Request conflict","schema":{"$ref":"#/definitions/HTTPError409"}},"403":{"description":"Request forbidden -- authorization will not help","schema":{"$ref":"#/definitions/HTTPError403"}},"200":{"description":"Request fulfilled, document follows","schema":{"$ref":"#/definitions/DetailedUserPermissionSchema"}},"422":{"description":"Success","schema":{"$ref":"#/definitions/HTTPError422"}}},"operationId":"post_user_permission_list","parameters":[{"in":"body","required":true,"name":"body","schema":{"$ref":"#/definitions/AddUserPermissionParameters"}}],"security":[{"access_token":[]}],"tags":["user_permissions"]}},"/user_permissions/allowed_endpoints":{"get":{"responses":{"200":{"description":"Request fulfilled, document follows","schema":{"$ref":"#/definitions/AllowedEndpointsSchema"}}},"operationId":"get_allowed_endpoints_list","security":[{"access_token":[]}],"tags":["user_permissions"]},"options":{"responses":{"204":{"description":"Request fulfilled, nothing follows"}},"summary":"Check which methods are allowed","description":"Use this method if you need to know what operations are allowed to be\nperformed on this endpoint, e.g. to decide wether to display a button\nin your UI.\n\nThe list of allowed methods is provided in `Allow` response header.","operationId":"options_allowed_endpoints_list","security":[{"access_token":[]}],"tags":["user_permissions"]}},"/user_permissions/my":{"get":{"responses":{"200":{"description":"Request fulfilled, document follows","schema":{"type":"array","items":{"$ref":"#/definitions/BaseUserPermissionSchema"}}}},"operationId":"get_my_user_permission_list","security":[{"access_token":[]}],"tags":["user_permissions"]},"options":{"responses":{"204":{"description":"Request fulfilled, nothing follows"}},"summary":"Check which methods are allowed","description":"Use this method if you need to know what operations are allowed to be\nperformed on this endpoint, e.g. to decide wether to display a button\nin your UI.\n\nThe list of allowed methods is provided in `Allow` response header.","operationId":"options_my_user_permission_list","security":[{"access_token":[]}],"tags":["user_permissions"]}},"/user_permissions/{user_permission_id}":{"parameters":[{"name":"user_permission_id","in":"path","required":true,"type":"integer"}],"get":{"responses":{"404":{"description":"UserPermission not found.","schema":{"$ref":"#/definitions/HTTPError404"}},"200":{"description":"Request fulfilled, document follows","schema":{"$ref":"#/definitions/DetailedUserPermissionSchema"}}},"operationId":"get_user_permission_resource","security":[{"access_token":[]}],"tags":["user_permissions"]},"put":{"responses":{"404":{"description":"UserPermission not found.","schema":{"$ref":"#/definitions/HTTPError404"}},"409":{"description":"Request conflict","schema":{"$ref":"#/definitions/HTTPError409"}},"200":{"description":"Request fulfilled, document follows","schema":{"$ref":"#/definitions/DetailedUserPermissionSchema"}},"422":{"description":"Success","schema":{"$ref":"#/definitions/HTTPError422"}}},"operationId":"put_user_permission_resource","parameters":[{"in":"body","required":true,"name":"body","schema":{"$ref":"#/definitions/UpdateUserPermissionParameters"}}],"security":[{"access_token":[]}],"tags":["user_permissions"]},"delete":{"responses":{"404":{"description":"UserPermission not found.","schema":{"$ref":"#/definitions/HTTPError404"}},"202":{"description":"Request accepted, processing continues off-line"}},"operationId":"delete_user_permission_resource","security":[{"access_token":[]}],"tags":["user_permissions"]},"options":{"responses":{"404":{"description":"UserPermission not found.","schema":{"$ref":"#/definitions/HTTPError404"}},"204":{"description":"Request fulfilled, nothing follows"}},"summary":"Check which methods are allowed","description":"Use this method if you need to know what operations are allowed to be\nperformed on this endpoint, e.g. to decide wether to display a button\nin your UI.\n\nThe list of allowed methods is provided in `Allow` response header.","operationId":"options_user_permission_resource","security":[{"access_token":[]}],"tags":["user_permissions"]}},"/user_roles/":{"get":{"responses":{"422":{"description":"Success","schema":{"$ref":"#/definitions/HTTPError422"}},"200":{"description":"Request fulfilled, document follows","schema":{"type":"array","items":{"$ref":"#/definitions/BaseUserRoleSchema"}}}},"operationId":"get_user_role_list","parameters":[{"in":"query","name":"user_id","type":"integer","required":false},{"in":"query","name":"role_id","type":"integer","required":false}],"security":[{"access_token":[]}],"tags":["user_roles"]},"options":{"responses":{"204":{"description":"Request fulfilled, nothing follows"}},"summary":"Check which methods are allowed","description":"Use this method if you need to know what operations are allowed to be\nperformed on this endpoint, e.g. to decide wether to display a button\nin your UI.\n\nThe list of allowed methods is provided in `Allow` response header.","operationId":"options_user_role_list","security":[{"access_token":[]}],"tags":["user_roles"]},"post":{"responses":{"409":{"description":"Request conflict","schema":{"$ref":"#/definitions/HTTPError409"}},"403":{"description":"Request forbidden -- authorization will not help","schema":{"$ref":"#/definitions/HTTPError403"}},"200":{"description":"Request fulfilled, document follows","schema":{"$ref":"#/definitions/DetailedUserRoleSchema"}},"422":{"description":"Success","schema":{"$ref":"#/definitions/HTTPError422"}}},"operationId":"post_user_role_list","parameters":[{"in":"body","required":true,"name":"body","schema":{"$ref":"#/definitions/AddUserRoleParameters"}}],"security":[{"access_token":[]}],"tags":["user_roles"]}},"/user_roles/effective":{"get":{"responses":{"200":{"description":"Request fulfilled, document follows","schema":{"$ref":"#/definitions/EffectiveRolesSchema"}}},"operationId":"get_effective_roles_list","security":[{"access_token":[]}],"tags":["user_roles"]},"options":{"responses":{"204":{"description":"Request fulfilled, nothing follows"}},"summary":"Check which methods are allowed","description":"Use this method if you need to know what operations are allowed to be\nperformed on this endpoint, e.g. to decide wether to display a button\nin your UI.\n\nThe list of allowed methods is provided in `Allow` response header.","operationId":"options_effective_roles_list","security":[{"access_token":[]}],"tags":["user_roles"]}},"/user_roles/my":{"get":{"responses":{"200":{"description":"Request fulfilled, document follows","schema":{"type":"array","items":{"$ref":"#/definitions/DetailedUserRoleSchema"}}}},"operationId":"get_my_user_role_list","security":[{"access_token":[]}],"tags":["user_roles"]},"options":{"responses":{"204":{"description":"Request fulfilled, nothing follows"}},"summary":"Check which methods are allowed","description":"Use this method if you need to know what operations are allowed to be\nperformed on this endpoint, e.g. to decide wether to display a button\nin your UI.\n\nThe list of allowed methods is provided in `Allow` response header.","operationId":"options_my_user_role_list","security":[{"access_token":[]}],"tags":["user_roles"]}},"/user_roles/{user_role_id}":{"parameters":[{"name":"user_role_id","in":"path","required":true,"type":"integer"}],"get":{"responses":{"404":{"description":"UserRole not found.","schema":{"$ref":"#/definitions/HTTPError404"}},"200":{"description":"Request fulfilled, document follows","schema":{"$ref":"#/definitions/DetailedUserRoleSchema"}}},"operationId":"get_user_role_resource","security":[{"access_token":[]}],"tags":["user_roles"]},"put":{"responses":{"404":{"description":"UserRole not found.","schema":{"$ref":"#/definitions/HTTPError404"}},"409":{"description":"Request conflict","schema":{"$ref":"#/definitions/HTTPError409"}},"200":{"description":"Request fulfilled, document follows","schema":{"$ref":"#/definitions/DetailedUserRoleSchema"}},"422":{"description":"Success","schema":{"$ref":"#/definitions/HTTPError422"}}},"operationId":"put_user_role_resource","parameters":[{"in":"body","required":true,"name":"body","schema":{"$ref":"#/definitions/AddUserRoleParameters"}}],"security":[{"access_token":[]}],"tags":["user_roles"]},"delete":{"responses":{"404":{"description":"UserRole not found.","schema":{"$ref":"#/definitions/HTTPError404"}},"202":{"description":"Request accepted, processing continues off-line"}},"operationId":"delete_user_role_resource","security":[{"access_token":[]}],"tags":["user_roles"]},"options":{"responses":{"404":{"description":"UserRole not found.","schema":{"$ref":"#/definitions/HTTPError404"}},"204":{"description":"Request fulfilled, nothing follows"}},"summary":"Check which methods are allowed","description":"Use this method if you need to know what operations are allowed to be\nperformed on this endpoint, e.g. to decide wether to display a button\nin your UI.\n\nThe list of allowed methods is provided in `Allow` response header.","operationId":"options_user_role_resource","security":[{"access_token":[]}],"tags":["user_roles"]}},"/user_titles/":{"get":{"responses":{"200":{"description":"Request fulfilled, document follows","schema":{"$ref":"#/definitions/UserTitlesSchema"}}},"operationId":"get_user_titles_list","security":[{"access_token":[]}],"tags":["user_titles"]},"options":{"responses":{"204":{"description":"Request fulfilled, nothing follows"}},"summary":"Check which methods are allowed","description":"Use this method if you need to know what operations are allowed to be\nperformed on this endpoint, e.g. to decide wether to display a button\nin your UI.\n\nThe list of allowed methods is provided in `Allow` response header.","operationId":"options_user_titles_list","security":[{"access_token":[]}],"tags":["user_titles"]}},"/user_tracking/{usertracking_id}":{"parameters":[{"name":"usertracking_id","in":"path","required":true,"type":"integer"}],"put":{"responses":{"202":{"description":"Request accepted, processing continues off-line"},"422":{"description":"Success","schema":{"$ref":"#/definitions/HTTPError422"}}},"operationId":"put_user_tracking_resource","parameters":[{"in":"body","required":true,"name":"body","schema":{"$ref":"#/definitions/UserTrackingStatusParams"}}],"security":[{"access_token":[]}],"tags":["user_tracking"]},"options":{"responses":{"204":{"description":"Request fulfilled, nothing follows"}},"summary":"Check which methods are allowed","description":"Use this method if you need to know what operations are allowed to be\nperformed on this endpoint, e.g. to decide wether to display a button\nin your UI.\n\nThe list of allowed methods is provided in `Allow` response header.","operationId":"options_user_tracking_resource","security":[{"access_token":[]}],"tags":["user_tracking"]}},"/users/":{"get":{"responses":{"200":{"description":"Request fulfilled, document follows","schema":{"type":"array","items":{"$ref":"#/definitions/BaseUserSchema"}}},"422":{"description":"Success","schema":{"$ref":"#/definitions/HTTPError422"}}},"operationId":"get_user_list","parameters":[{"in":"query","name":"search","type":"string","required":false},{"in":"query","name":"managerial_statuses","type":"array","items":{"type":"string","enum":["employee","manager","executive"]},"required":false,"collectionFormat":"multi"},{"in":"query","name":"ids","type":"array","items":{"type":"integer"},"required":false,"collectionFormat":"multi"},{"in":"query","name":"group_id","type":"integer","required":false}],"security":[{"access_token":[]}],"tags":["users"]},"options":{"responses":{"204":{"description":"Request fulfilled, nothing follows"}},"summary":"Check which methods are allowed","description":"Use this method if you need to know what operations are allowed to be\nperformed on this endpoint, e.g. to decide wether to display a button\nin your UI.\n\nThe list of allowed methods is provided in `Allow` response header.","operationId":"options_user_list","security":[{"access_token":[]}],"tags":["users"]},"post":{"responses":{"409":{"description":"Request conflict","schema":{"$ref":"#/definitions/HTTPError409"}},"403":{"description":"Request forbidden -- authorization will not help","schema":{"$ref":"#/definitions/HTTPError403"}},"200":{"description":"Request fulfilled, document follows","schema":{"$ref":"#/definitions/DetailedUserSchema"}},"422":{"description":"Success","schema":{"$ref":"#/definitions/HTTPError422"}}},"operationId":"create_user","parameters":[{"in":"body","required":true,"name":"body","schema":{"$ref":"#/definitions/AddUserParameters"}}],"security":[{"access_token":[]}],"tags":["users"]}},"/users/bulk_invite/{company_id}":{"parameters":[{"name":"company_id","in":"path","required":true,"type":"integer"}],"get":{"responses":{"200":{"description":"Request fulfilled, document follows","schema":{"$ref":"#/definitions/BulkInviteGroupResultsSchema"}},"422":{"description":"Success","schema":{"$ref":"#/definitions/HTTPError422"}}},"operationId":"get_bulk_invite_users_resource","parameters":[{"in":"query","name":"job_id","type":"string","required":true}],"security":[{"access_token":[]}],"tags":["users"]},"options":{"responses":{"204":{"description":"Request fulfilled, nothing follows"}},"summary":"Check which methods are allowed","description":"Use this method if you need to know what operations are allowed to be\nperformed on this endpoint, e.g. to decide wether to display a button\nin your UI.\n\nThe list of allowed methods is provided in `Allow` response header.","operationId":"options_bulk_invite_users_resource","security":[{"access_token":[]}],"tags":["users"]},"post":{"responses":{"200":{"description":"Request fulfilled, document follows","schema":{"$ref":"#/definitions/TaskResponseSchema"}}},"operationId":"post_bulk_invite_users_resource","security":[{"access_token":[]}],"tags":["users"]}},"/users/is_expense_approver":{"get":{"responses":{"200":{"description":"Request fulfilled, document follows","schema":{"$ref":"#/definitions/UserExpenseApproverSchema"}}},"operationId":"get_user_expense_approver","security":[{"access_token":[]}],"tags":["users"]},"options":{"responses":{"204":{"description":"Request fulfilled, nothing follows"}},"summary":"Check which methods are allowed","description":"Use this method if you need to know what operations are allowed to be\nperformed on this endpoint, e.g. to decide wether to display a button\nin your UI.\n\nThe list of allowed methods is provided in `Allow` response header.","operationId":"options_user_expense_approver","security":[{"access_token":[]}],"tags":["users"]}},"/users/{user_id}":{"parameters":[{"name":"user_id","in":"path","required":true,"type":"integer"}],"get":{"responses":{"400":{"description":"Bad Request.","schema":{"$ref":"#/definitions/HTTPError400"}},"404":{"description":"User not found.","schema":{"$ref":"#/definitions/HTTPError404"}},"200":{"description":"Request fulfilled, document follows","schema":{"$ref":"#/definitions/DetailedUserSchema"}}},"operationId":"get_user_resource","security":[{"access_token":[]}],"tags":["users"]},"put":{"responses":{"400":{"description":"Bad Request.","schema":{"$ref":"#/definitions/HTTPError400"}},"404":{"description":"User not found.","schema":{"$ref":"#/definitions/HTTPError404"}},"409":{"description":"Request conflict","schema":{"$ref":"#/definitions/HTTPError409"}},"200":{"description":"Request fulfilled, document follows","schema":{"$ref":"#/definitions/DetailedUserSchema"}},"422":{"description":"Success","schema":{"$ref":"#/definitions/HTTPError422"}}},"operationId":"put_user_resource","parameters":[{"in":"body","required":true,"name":"body","schema":{"$ref":"#/definitions/AddUserParameters"}}],"security":[{"access_token":[]}],"tags":["users"]},"delete":{"responses":{"400":{"description":"Bad request syntax or unsupported method","schema":{"$ref":"#/definitions/HTTPError400"}},"404":{"description":"User not found.","schema":{"$ref":"#/definitions/HTTPError404"}},"409":{"description":"Request conflict","schema":{"$ref":"#/definitions/HTTPError409"}},"202":{"description":"Request accepted, processing continues off-line"}},"operationId":"delete_user_resource","security":[{"access_token":[]}],"tags":["users"]},"options":{"responses":{"400":{"description":"Bad Request.","schema":{"$ref":"#/definitions/HTTPError400"}},"404":{"description":"User not found.","schema":{"$ref":"#/definitions/HTTPError404"}},"204":{"description":"Request fulfilled, nothing follows"}},"summary":"Check which methods are allowed","description":"Use this method if you need to know what operations are allowed to be\nperformed on this endpoint, e.g. to decide wether to display a button\nin your UI.\n\nThe list of allowed methods is provided in `Allow` response header.","operationId":"options_user_resource","security":[{"access_token":[]}],"tags":["users"]}},"/users/{user_id}/deactivate":{"parameters":[{"name":"user_id","in":"path","required":true,"type":"integer"}],"options":{"responses":{"404":{"description":"User not found.","schema":{"$ref":"#/definitions/HTTPError404"}},"204":{"description":"Request fulfilled, nothing follows"}},"summary":"Check which methods are allowed","description":"Use this method if you need to know what operations are allowed to be\nperformed on this endpoint, e.g. to decide wether to display a button\nin your UI.\n\nThe list of allowed methods is provided in `Allow` response header.","operationId":"options_user_deactivate_resource","security":[{"access_token":[]}],"tags":["users"]},"post":{"responses":{"404":{"description":"User not found.","schema":{"$ref":"#/definitions/HTTPError404"}},"400":{"description":"Bad request syntax or unsupported method","schema":{"$ref":"#/definitions/HTTPError400"}},"200":{"description":"Request fulfilled, document follows","schema":{"$ref":"#/definitions/DetailedUserSchema"}}},"operationId":"post_user_deactivate_resource","security":[{"access_token":[]}],"tags":["users"]}},"/users/{user_id}/deactivate_info":{"parameters":[{"name":"user_id","in":"path","required":true,"type":"integer"}],"get":{"responses":{"404":{"description":"User not found.","schema":{"$ref":"#/definitions/HTTPError404"}},"200":{"description":"Request fulfilled, document follows","schema":{"$ref":"#/definitions/UserDeactivateData"}}},"operationId":"get_user_deactivate_info_resource","security":[{"access_token":[]}],"tags":["users"]},"options":{"responses":{"404":{"description":"User not found.","schema":{"$ref":"#/definitions/HTTPError404"}},"204":{"description":"Request fulfilled, nothing follows"}},"summary":"Check which methods are allowed","description":"Use this method if you need to know what operations are allowed to be\nperformed on this endpoint, e.g. to decide wether to display a button\nin your UI.\n\nThe list of allowed methods is provided in `Allow` response header.","operationId":"options_user_deactivate_info_resource","security":[{"access_token":[]}],"tags":["users"]}},"/users/{user_id}/device_token":{"parameters":[{"name":"user_id","in":"path","required":true,"type":"integer"}],"options":{"responses":{"204":{"description":"Request fulfilled, nothing follows"}},"summary":"Check which methods are allowed","description":"Use this method if you need to know what operations are allowed to be\nperformed on this endpoint, e.g. to decide wether to display a button\nin your UI.\n\nThe list of allowed methods is provided in `Allow` response header.","operationId":"options_user_device_token","security":[{"access_token":[]}],"tags":["users"]},"post":{"responses":{"202":{"description":"Request accepted, processing continues off-line"},"422":{"description":"Success","schema":{"$ref":"#/definitions/HTTPError422"}}},"operationId":"post_user_device_token","parameters":[{"in":"body","required":true,"name":"body","schema":{"$ref":"#/definitions/UserDeviceTokenParameters"}}],"security":[{"access_token":[]}],"tags":["users"]}},"/users/{user_id}/fee_payments/payment_methods":{"parameters":[{"name":"user_id","in":"path","required":true,"type":"integer"}],"get":{"responses":{"200":{"description":"Request fulfilled, document follows","schema":{"$ref":"#/definitions/PaymentMethodsSchema"}}},"operationId":"get_user_credit_cards","security":[{"access_token":[]}],"tags":["users"]},"options":{"responses":{"204":{"description":"Request fulfilled, nothing follows"}},"summary":"Check which methods are allowed","description":"Use this method if you need to know what operations are allowed to be\nperformed on this endpoint, e.g. to decide wether to display a button\nin your UI.\n\nThe list of allowed methods is provided in `Allow` response header.","operationId":"options_user_credit_cards","security":[{"access_token":[]}],"tags":["users"]}},"/users/{user_id}/flight_search_mock":{"parameters":[{"name":"user_id","in":"path","required":true,"type":"integer"}],"put":{"responses":{"404":{"description":"User not found.","schema":{"$ref":"#/definitions/HTTPError404"}},"202":{"description":"Request accepted, processing continues off-line","schema":{"$ref":"#/definitions/DetailedUserSchema"}},"422":{"description":"Success","schema":{"$ref":"#/definitions/HTTPError422"}}},"operationId":"put_update_flight_search_mock_status_resource","parameters":[{"in":"body","required":true,"name":"body","schema":{"$ref":"#/definitions/UpdateFlightSearchMockStatusParameters"}}],"security":[{"access_token":[]}],"tags":["users"]},"options":{"responses":{"404":{"description":"User not found.","schema":{"$ref":"#/definitions/HTTPError404"}},"204":{"description":"Request fulfilled, nothing follows"}},"summary":"Check which methods are allowed","description":"Use this method if you need to know what operations are allowed to be\nperformed on this endpoint, e.g. to decide wether to display a button\nin your UI.\n\nThe list of allowed methods is provided in `Allow` response header.","operationId":"options_update_flight_search_mock_status_resource","security":[{"access_token":[]}],"tags":["users"]}},"/users/{user_id}/invite":{"parameters":[{"name":"user_id","in":"path","required":true,"type":"integer"}],"options":{"responses":{"404":{"description":"User not found.","schema":{"$ref":"#/definitions/HTTPError404"}},"204":{"description":"Request fulfilled, nothing follows"}},"summary":"Check which methods are allowed","description":"Use this method if you need to know what operations are allowed to be\nperformed on this endpoint, e.g. to decide wether to display a button\nin your UI.\n\nThe list of allowed methods is provided in `Allow` response header.","operationId":"options_user_invite_resource","security":[{"access_token":[]}],"tags":["users"]},"post":{"responses":{"404":{"description":"User not found.","schema":{"$ref":"#/definitions/HTTPError404"}},"409":{"description":"Request conflict","schema":{"$ref":"#/definitions/HTTPError409"}},"202":{"description":"Request accepted, processing continues off-line","schema":{"$ref":"#/definitions/DetailedUserSchema"}}},"operationId":"post_user_invite_resource","security":[{"access_token":[]}],"tags":["users"]}},"/users/{user_id}/mock":{"parameters":[{"name":"user_id","in":"path","required":true,"type":"integer"}],"put":{"responses":{"404":{"description":"User not found.","schema":{"$ref":"#/definitions/HTTPError404"}},"202":{"description":"Request accepted, processing continues off-line","schema":{"$ref":"#/definitions/DetailedUserSchema"}},"422":{"description":"Success","schema":{"$ref":"#/definitions/HTTPError422"}}},"operationId":"put_update_mock_status_resource","parameters":[{"in":"body","required":true,"name":"body","schema":{"$ref":"#/definitions/UpdateMockStatusParameters"}}],"security":[{"access_token":[]}],"tags":["users"]},"options":{"responses":{"404":{"description":"User not found.","schema":{"$ref":"#/definitions/HTTPError404"}},"204":{"description":"Request fulfilled, nothing follows"}},"summary":"Check which methods are allowed","description":"Use this method if you need to know what operations are allowed to be\nperformed on this endpoint, e.g. to decide wether to display a button\nin your UI.\n\nThe list of allowed methods is provided in `Allow` response header.","operationId":"options_update_mock_status_resource","security":[{"access_token":[]}],"tags":["users"]}},"/users/{user_id}/ob_fee_mock":{"parameters":[{"name":"user_id","in":"path","required":true,"type":"integer"}],"put":{"responses":{"404":{"description":"User not found.","schema":{"$ref":"#/definitions/HTTPError404"}},"202":{"description":"Request accepted, processing continues off-line","schema":{"$ref":"#/definitions/DetailedUserSchema"}},"422":{"description":"Success","schema":{"$ref":"#/definitions/HTTPError422"}}},"operationId":"put_update_ob_fee_mock_resource","parameters":[{"in":"body","required":true,"name":"body","schema":{"$ref":"#/definitions/UpdateObFeeMockParameters"}}],"security":[{"access_token":[]}],"tags":["users"]},"options":{"responses":{"404":{"description":"User not found.","schema":{"$ref":"#/definitions/HTTPError404"}},"204":{"description":"Request fulfilled, nothing follows"}},"summary":"Check which methods are allowed","description":"Use this method if you need to know what operations are allowed to be\nperformed on this endpoint, e.g. to decide wether to display a button\nin your UI.\n\nThe list of allowed methods is provided in `Allow` response header.","operationId":"options_update_ob_fee_mock_resource","security":[{"access_token":[]}],"tags":["users"]}},"/users/{user_id}/tokenizer_mock":{"parameters":[{"name":"user_id","in":"path","required":true,"type":"integer"}],"put":{"responses":{"404":{"description":"User not found.","schema":{"$ref":"#/definitions/HTTPError404"}},"202":{"description":"Request accepted, processing continues off-line","schema":{"$ref":"#/definitions/DetailedUserSchema"}},"422":{"description":"Success","schema":{"$ref":"#/definitions/HTTPError422"}}},"operationId":"put_update_tokenizer_mock_status_resource","parameters":[{"in":"body","required":true,"name":"body","schema":{"$ref":"#/definitions/UpdateTokenizerMockStatusParameters"}}],"security":[{"access_token":[]}],"tags":["users"]},"options":{"responses":{"404":{"description":"User not found.","schema":{"$ref":"#/definitions/HTTPError404"}},"204":{"description":"Request fulfilled, nothing follows"}},"summary":"Check which methods are allowed","description":"Use this method if you need to know what operations are allowed to be\nperformed on this endpoint, e.g. to decide wether to display a button\nin your UI.\n\nThe list of allowed methods is provided in `Allow` response header.","operationId":"options_update_tokenizer_mock_status_resource","security":[{"access_token":[]}],"tags":["users"]}},"/users/{user_id}/unpaid_fee":{"parameters":[{"name":"user_id","in":"path","required":true,"type":"integer"}],"get":{"responses":{"200":{"description":"Success"}},"operationId":"get_unpaid_fees_report","security":[{"access_token":[]}],"tags":["users"]},"options":{"responses":{"204":{"description":"Request fulfilled, nothing follows"}},"summary":"Check which methods are allowed","description":"Use this method if you need to know what operations are allowed to be\nperformed on this endpoint, e.g. to decide wether to display a button\nin your UI.\n\nThe list of allowed methods is provided in `Allow` response header.","operationId":"options_unpaid_fees_report","security":[{"access_token":[]}],"tags":["users"]}},"/users/{user_id}/unused_tickets":{"parameters":[{"name":"user_id","in":"path","required":true,"type":"integer"}],"get":{"responses":{"404":{"description":"User not found.","schema":{"$ref":"#/definitions/HTTPError404"}},"200":{"description":"Request fulfilled, document follows","schema":{"$ref":"#/definitions/TicketSchema"}}},"operationId":"get_user_unused_tickets_resource","security":[{"access_token":[]}],"tags":["users"]},"options":{"responses":{"404":{"description":"User not found.","schema":{"$ref":"#/definitions/HTTPError404"}},"204":{"description":"Request fulfilled, nothing follows"}},"summary":"Check which methods are allowed","description":"Use this method if you need to know what operations are allowed to be\nperformed on this endpoint, e.g. to decide wether to display a button\nin your UI.\n\nThe list of allowed methods is provided in `Allow` response header.","operationId":"options_user_unused_tickets_resource","security":[{"access_token":[]}],"tags":["users"]}},"/users/{user_id}/worldline_mock":{"parameters":[{"name":"user_id","in":"path","required":true,"type":"integer"}],"put":{"responses":{"404":{"description":"User not found.","schema":{"$ref":"#/definitions/HTTPError404"}},"202":{"description":"Request accepted, processing continues off-line","schema":{"$ref":"#/definitions/DetailedUserSchema"}},"422":{"description":"Success","schema":{"$ref":"#/definitions/HTTPError422"}}},"operationId":"put_update_worldline_mock_status_resource","parameters":[{"in":"body","required":true,"name":"body","schema":{"$ref":"#/definitions/UpdateWorldlinerMockStatusParameters"}}],"security":[{"access_token":[]}],"tags":["users"]},"options":{"responses":{"404":{"description":"User not found.","schema":{"$ref":"#/definitions/HTTPError404"}},"204":{"description":"Request fulfilled, nothing follows"}},"summary":"Check which methods are allowed","description":"Use this method if you need to know what operations are allowed to be\nperformed on this endpoint, e.g. to decide wether to display a button\nin your UI.\n\nThe list of allowed methods is provided in `Allow` response header.","operationId":"options_update_worldline_mock_status_resource","security":[{"access_token":[]}],"tags":["users"]}},"/virtual_payment_automation/":{"get":{"responses":{"200":{"description":"Request fulfilled, document follows","schema":{"type":"array","items":{"$ref":"#/definitions/VirtualPaymentAutomationSchema"}}}},"operationId":"get_virtual_payment_automation_list","security":[{"access_token":[]}],"tags":["virtual_payment_automation"]},"options":{"responses":{"204":{"description":"Request fulfilled, nothing follows"}},"summary":"Check which methods are allowed","description":"Use this method if you need to know what operations are allowed to be\nperformed on this endpoint, e.g. to decide wether to display a button\nin your UI.\n\nThe list of allowed methods is provided in `Allow` response header.","operationId":"options_virtual_payment_automation_list","security":[{"access_token":[]}],"tags":["virtual_payment_automation"]},"post":{"responses":{"201":{"description":"Document created, URL follows","schema":{"$ref":"#/definitions/VirtualPaymentAutomationSchema"}},"422":{"description":"Success","schema":{"$ref":"#/definitions/HTTPError422"}}},"operationId":"post_virtual_payment_automation_list","parameters":[{"in":"body","required":true,"name":"body","schema":{"$ref":"#/definitions/CreateVirtualPaymentAutomationParameters"}}],"security":[{"access_token":[]}],"tags":["virtual_payment_automation"]}},"/virtual_payment_automation/{vpa_id}":{"parameters":[{"name":"vpa_id","in":"path","required":true,"type":"integer"}],"get":{"responses":{"404":{"description":"Nothing matches the given URI","schema":{"$ref":"#/definitions/HTTPError404"}},"200":{"description":"Request fulfilled, document follows","schema":{"$ref":"#/definitions/VirtualPaymentAutomationSchema"}}},"operationId":"get_virtual_payment_automation_resource","security":[{"access_token":[]}],"tags":["virtual_payment_automation"]},"put":{"responses":{"404":{"description":"Nothing matches the given URI","schema":{"$ref":"#/definitions/HTTPError404"}},"403":{"description":"Request forbidden -- authorization will not help","schema":{"$ref":"#/definitions/HTTPError403"}},"202":{"description":"Request accepted, processing continues off-line","schema":{"$ref":"#/definitions/VirtualPaymentAutomationSchema"}},"422":{"description":"Success","schema":{"$ref":"#/definitions/HTTPError422"}}},"operationId":"put_virtual_payment_automation_resource","parameters":[{"in":"body","required":true,"name":"body","schema":{"$ref":"#/definitions/UpdateVirtualPaymentAutomationParameters"}}],"security":[{"access_token":[]}],"tags":["virtual_payment_automation"]},"delete":{"responses":{"404":{"description":"Nothing matches the given URI","schema":{"$ref":"#/definitions/HTTPError404"}},"403":{"description":"Request forbidden -- authorization will not help","schema":{"$ref":"#/definitions/HTTPError403"}},"202":{"description":"Request accepted, processing continues off-line"}},"operationId":"delete_virtual_payment_automation_resource","security":[{"access_token":[]}],"tags":["virtual_payment_automation"]},"options":{"responses":{"404":{"description":"Nothing matches the given URI","schema":{"$ref":"#/definitions/HTTPError404"}},"204":{"description":"Request fulfilled, nothing follows"}},"summary":"Check which methods are allowed","description":"Use this method if you need to know what operations are allowed to be\nperformed on this endpoint, e.g. to decide wether to display a button\nin your UI.\n\nThe list of allowed methods is provided in `Allow` response header.","operationId":"options_virtual_payment_automation_resource","security":[{"access_token":[]}],"tags":["virtual_payment_automation"]}},"/virtual_payment_automation/{vpa_id}/activate":{"parameters":[{"name":"vpa_id","in":"path","required":true,"type":"integer"}],"options":{"responses":{"404":{"description":"Nothing matches the given URI","schema":{"$ref":"#/definitions/HTTPError404"}},"204":{"description":"Request fulfilled, nothing follows"}},"summary":"Check which methods are allowed","description":"Use this method if you need to know what operations are allowed to be\nperformed on this endpoint, e.g. to decide wether to display a button\nin your UI.\n\nThe list of allowed methods is provided in `Allow` response header.","operationId":"options_virtual_payment_automation_activate_resource","security":[{"access_token":[]}],"tags":["virtual_payment_automation"]},"post":{"responses":{"404":{"description":"Nothing matches the given URI","schema":{"$ref":"#/definitions/HTTPError404"}},"200":{"description":"Request fulfilled, document follows","schema":{"$ref":"#/definitions/VirtualPaymentAutomationSchema"}},"422":{"description":"Success","schema":{"$ref":"#/definitions/HTTPError422"}}},"operationId":"post_virtual_payment_automation_activate_resource","parameters":[{"in":"body","required":true,"name":"body","schema":{"$ref":"#/definitions/UpdateVirtualPaymentAutomationParameters"}}],"security":[{"access_token":[]}],"tags":["virtual_payment_automation"]}},"/virtual_payment_automation/{vpa_id}/deactivate":{"parameters":[{"name":"vpa_id","in":"path","required":true,"type":"integer"}],"options":{"responses":{"404":{"description":"Nothing matches the given URI","schema":{"$ref":"#/definitions/HTTPError404"}},"204":{"description":"Request fulfilled, nothing follows"}},"summary":"Check which methods are allowed","description":"Use this method if you need to know what operations are allowed to be\nperformed on this endpoint, e.g. to decide wether to display a button\nin your UI.\n\nThe list of allowed methods is provided in `Allow` response header.","operationId":"options_virtual_payment_automation_deactivate_resource","security":[{"access_token":[]}],"tags":["virtual_payment_automation"]},"post":{"responses":{"404":{"description":"Nothing matches the given URI","schema":{"$ref":"#/definitions/HTTPError404"}},"200":{"description":"Request fulfilled, document follows","schema":{"$ref":"#/definitions/VirtualPaymentAutomationSchema"}}},"operationId":"post_virtual_payment_automation_deactivate_resource","security":[{"access_token":[]}],"tags":["virtual_payment_automation"]}},"/worldline_webhooks/status":{"options":{"responses":{"204":{"description":"Request fulfilled, nothing follows"}},"summary":"Check which methods are allowed","description":"Use this method if you need to know what operations are allowed to be\nperformed on this endpoint, e.g. to decide wether to display a button\nin your UI.\n\nThe list of allowed methods is provided in `Allow` response header.","operationId":"options_worldline_webhook_status","tags":["worldline_webhooks"]},"post":{"responses":{"200":{"description":"Webhook processed","schema":{"$ref":"#/definitions/WorldlineWebhookResponseSchema"}},"422":{"description":"Success","schema":{"$ref":"#/definitions/HTTPError422"}}},"operationId":"post_worldline_webhook_status","parameters":[{"in":"body","required":true,"name":"body","schema":{"$ref":"#/definitions/WebhookPayload"}}],"tags":["worldline_webhooks"]}}},"info":{"title":"API","version":"1.0"},"produces":["application/json"],"consumes":["application/json"],"securityDefinitions":{"access_token":{"type":"apiKey","in":"header","name":"Authorization"}},"tags":[{"name":"accept_tos","description":"Accept Terms of Service"},{"name":"admin","description":"this namespace is for admin settings"},{"name":"airlines","description":"this namespace is for searching airlines. Deprecated"},{"name":"airports","description":"this namespace is for creating and updating airports. Searching based on KIWI vendor"},{"name":"alliances","description":"this namespace is for creating and updating alliances. Turned of due no alliance parameter in BCD flight/ API"},{"name":"billing_files","description":"this namespace is for download billing documents"},{"name":"car_rewards","description":"this namespace is for managing car loyalty programs."},{"name":"cars","description":"this namespace is for info/maneging cars"},{"name":"companies","description":"this namespace is for creating and updating company details"},{"name":"countries","description":"this namespace is for getting all countries list"},{"name":"credit_card","description":"this namespace is for creating and updating credit_cards"},{"name":"emails","description":"this namespace is sending emails directly"},{"name":"expense_policies","description":"this namespace is for managing expense policies"},{"name":"expense_reports","description":"this namespace is for managing expense reports"},{"name":"expenses","description":"this namespace is for managing expenses"},{"name":"fee","description":"this namespace is for charging fee"},{"name":"fees","description":"this namespace is for support request fee metadata"},{"name":"flight_rewards","description":"this namespace is for managing flight rewards."},{"name":"flights","description":"this namespace is for info/maneging flights"},{"name":"health_check","description":"Health check for api"},{"name":"homepage","description":"this namespace is for basic homepage info"},{"name":"hotel_rewards","description":"this namespace is for managing hotel loyalty programs."},{"name":"hotels","description":"this namespace is for info/maneging hotels"},{"name":"industries","description":"this namespace is for accessing list of industries"},{"name":"invoices","description":"this namespace is for get and download invoices"},{"name":"locations","description":"this namespace is for creating and updating locations"},{"name":"login","description":"handle the login flow"},{"name":"logout","description":"handle the logout flow"},{"name":"offices","description":"this namespace is for creating and updating offices"},{"name":"packages","description":"this namespace is for accessing list of packages"},{"name":"policies","description":"this namespace is for and editing the travel policy"},{"name":"pre_trip_requests","description":"this namespace is for managing pre-trip requests"},{"name":"rail","description":"this namespace is for managing rail"},{"name":"rails","description":"this namespace is for managing rails"},{"name":"register","description":"Registration Namespace"},{"name":"role_permissions","description":"this namespace is for creating and updating role_permissions"},{"name":"roles","description":"this namespace is for creating and updating roles"},{"name":"search","description":"this namespace is for new search"},{"name":"sessions","description":"this namespace is for user sessions."},{"name":"sites","description":"this namespace is for sites."},{"name":"sso","description":"SSO SAML connection management (POC) \u2014 isolated from existing auth flows"},{"name":"states","description":"this namespace is for getting all countries list"},{"name":"system","description":"this namespace is for admin settings"},{"name":"three_d_secure","description":"this namespace is for 3DS specific endpoints"},{"name":"travel_map","description":"this namespace is for displaying travel map"},{"name":"travel_profile","description":"this namespace is for creating and updating all traveler info"},{"name":"trips","description":"this namespace is for creating and updating trip details"},{"name":"unused_tickets","description":"this namespace is for basic unused tickets"},{"name":"upload","description":"this namespace is for uploading files"},{"name":"user_permissions","description":"this namespace is for creating and updating user_permissions"},{"name":"user_roles","description":"this namespace is for creating and updating user_roles"},{"name":"user_titles","description":"this namespace is for accessing list of user titles"},{"name":"user_tracking","description":"this namespace is for displaying travel map"},{"name":"users","description":"this namespace is for creating and updating user details"},{"name":"virtual_payment_automation","description":"this namespace is for creating and updating VPA"},{"name":"worldline_webhooks","description":"this namespace is for handling Worldline webhooks (Push Notifications)"}],"definitions":{"LoginSchema":{"type":"object","properties":{"login_status":{"type":"integer"},"user":{"$ref":"#/definitions/LoginUser"},"is_impersonation":{"type":"boolean"},"support_role":{"type":"string","enum":["SUPER_DUPER_ADMIN","SUPPORT_PERMITTED_USER","SALES_MANAGER"]},"user_can_operate":{"type":"boolean"}}},"GroupSchema":{"type":"object","properties":{"id":{"type":"integer","readOnly":true},"name":{"type":"string"},"approver_user_id":{"x-nullable":true},"approver":{"readOnly":true,"allOf":[{"$ref":"#/definitions/ApproverUser"}]},"expense_approver_user_id":{"x-nullable":true},"expense_approver":{"readOnly":true,"allOf":[{"$ref":"#/definitions/ApproverUser"}]},"type":{"readOnly":true,"type":"string","enum":["department","office","company","policy_group"]},"user_ids":{"type":"array","items":{"type":"integer"},"x-nullable":true},"users_count":{"readOnly":true}}},"HTTPError409":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"}}},"HTTPError422":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"}}},"AddGroupParameters":{"type":"object","properties":{"id":{"type":"integer","readOnly":true},"name":{"type":"string"},"approver_user_id":{"x-nullable":true},"approver":{"readOnly":true,"allOf":[{"$ref":"#/definitions/ApproverUser"}]},"expense_approver_user_id":{"x-nullable":true},"expense_approver":{"readOnly":true,"allOf":[{"$ref":"#/definitions/ApproverUser"}]},"type":{"readOnly":true,"type":"string","enum":["department","office","company","policy_group"]},"user_ids":{"type":"array","items":{"type":"integer"},"x-nullable":true},"users_count":{"readOnly":true}}},"DetailedLocationSchemaWithEditableIndication":{"type":"object","properties":{"id":{"type":"integer","readOnly":true},"address":{"type":"string","x-nullable":true},"name":{"type":"string","x-nullable":true},"location_type":{"type":"string","enum":["home","office","client","hotel","airport","other","city","car_rent_agency","rail","rail_group"]},"lat":{"type":"number","x-nullable":true},"long":{"type":"number","x-nullable":true},"location_data":{"type":"string","x-nullable":true},"visibility":{"readOnly":true,"type":"string","enum":["public","private","hidden"]},"created_dt":{"type":"string","readOnly":true,"format":"date-time"},"country":{"type":"object","additionalProperties":{}},"short_name":{"type":"string","readOnly":true},"main_approver_id":{"type":"integer","x-nullable":true},"airport_name":{"type":"string","readOnly":true},"country_name":{"readOnly":true},"description":{"type":"string","x-nullable":true},"main_contact_phone":{"type":"string","x-nullable":true},"main_contact_name":{"type":"string","x-nullable":true},"main_contact_email":{"type":"string","x-nullable":true},"main_approver":{"readOnly":true,"allOf":[{"$ref":"#/definitions/BaseUser"}]},"group_id":{"type":"integer","readOnly":true},"in_use":{"readOnly":true},"has_policy":{"type":"boolean","readOnly":true}}},"AddLocationParameters":{"type":"object","properties":{"id":{"type":"integer","readOnly":true},"address":{"type":"string","x-nullable":true},"name":{"type":"string","x-nullable":true},"location_type":{"type":"string","enum":["home","office","client","hotel","airport","other","city","car_rent_agency","rail","rail_group"]},"lat":{"type":"number","x-nullable":true},"long":{"type":"number","x-nullable":true},"location_data":{"type":"string","x-nullable":true},"visibility":{"readOnly":true,"type":"string","enum":["public","private","hidden"]},"created_dt":{"type":"string","readOnly":true,"format":"date-time"},"country":{"type":"object","additionalProperties":{}},"short_name":{"type":"string","readOnly":true},"main_approver_id":{"type":"integer","x-nullable":true},"airport_name":{"type":"string","readOnly":true},"country_name":{"readOnly":true},"description":{"type":"string","x-nullable":true},"main_contact_phone":{"type":"string","x-nullable":true},"main_contact_name":{"type":"string","x-nullable":true},"main_contact_email":{"type":"string","x-nullable":true},"main_approver":{"readOnly":true,"allOf":[{"$ref":"#/definitions/BaseUser"}]}}},"HTTPError404":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"}}},"HTTPError423":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"}}},"ReportMetaSchema":{"type":"object","properties":{"departments":{"type":"array","items":{"type":"string"}},"groups":{"type":"array","items":{"type":"string"}},"offices":{"type":"array","items":{"type":"string"}},"countries":{"$ref":"#/definitions/ReportCountry"},"invoice_profiles":{"$ref":"#/definitions/ReportInvoiceProfile"},"accounting_unit":{"type":"array","items":{"type":"string"}},"cost_center":{"type":"array","items":{"type":"string"}},"action_code":{"type":"array","items":{"type":"string"}},"purchase_order_number":{"type":"array","items":{"type":"string"}},"internal_account":{"type":"array","items":{"type":"string"}},"project_code":{"type":"array","items":{"type":"string"}},"trip_purpose":{"type":"array","items":{"type":"string"}},"billable":{"type":"array","items":{"type":"string"}},"custom_field_1":{"type":"array","items":{"type":"string"}},"custom_field_2":{"type":"array","items":{"type":"string"}},"custom_field_3":{"type":"array","items":{"type":"string"}},"out_of_policy_reason":{"type":"array","items":{"type":"string"}},"employee_id":{"type":"array","items":{"type":"string"}}}},"ReportSchema":{"type":"object","properties":{"period":{"type":"string"},"overview":{"readOnly":true,"allOf":[{"$ref":"#/definitions/ReportOverview"}]},"flights":{"$ref":"#/definitions/ReportFlights"},"hotels":{"$ref":"#/definitions/ReportHotels"},"cars":{"$ref":"#/definitions/ReportCars"},"rails":{"$ref":"#/definitions/ReportRails"},"travelers":{"readOnly":true,"allOf":[{"$ref":"#/definitions/ReportTravelers"}]}}},"DetailedFlightStatsPerTripSchema":{"type":"object","properties":{"key":{"type":"string"},"total_airfare":{"type":"number"},"num_travelers":{"type":"integer"},"avg_ticket_price":{"type":"number"},"cabin_class":{"type":"object","additionalProperties":{}},"extras_charges":{"type":"number"},"booked_in_advance":{"type":"number"},"max_num_of_stop":{"type":"integer"},"change_or_cancel_fees":{"type":"number"},"refund_amount":{"type":"number","minimum":0.0},"num_trips":{"type":"integer"},"direct_flights":{"type":"object","additionalProperties":{}},"have_changes":{"type":"string","enum":["none","changed","cancelled"]},"flexible":{"type":"object","additionalProperties":{}},"changes":{"type":"object","additionalProperties":{}},"emissions_total":{"type":"integer"},"trip_id":{"type":"integer"},"start_date":{"type":"string","format":"date"},"end_date":{"type":"string","format":"date"},"status":{"type":"string","x-nullable":true}}},"DetailedHotelStatsForDetailsSchema":{"type":"object","properties":{"key":{"type":"string"},"num_trips":{"type":"integer"},"total_hotel_fare":{"type":"number"},"num_travelers":{"type":"integer"},"num_nights":{"type":"integer"},"avg_night_price":{"type":"number"},"avg_rating":{"type":"number"},"booked_in_advance":{"type":"number"},"flexible":{"type":"object","additionalProperties":{}},"change_or_cancel_fees":{"type":"number"},"have_changes":{"type":"string","enum":["none","changed","cancelled"]},"changes":{"type":"object","additionalProperties":{}},"avg_nights":{"type":"number"},"num_hotels":{"type":"integer"},"breakfast":{"type":"object","additionalProperties":{}},"refundable":{"type":"object","additionalProperties":{}},"per_trip":{"type":"array","items":{"$ref":"#/definitions/DetailedHotelStatsPerTrip"}},"city_with_country":{"type":"string"},"hotel_name":{"type":"string"}}},"DetailedTravelerStatsPerUserSchema":{"type":"object","properties":{"key":{"type":"integer"},"trips":{"type":"array","items":{"$ref":"#/definitions/DetailedTravelerStatsPerTrip"}}}},"DetailedCarStatsForDetailsSchema":{"type":"object","properties":{"key":{"type":"string"},"num_trips":{"type":"integer"},"total_car_spend":{"type":"number"},"num_travelers":{"type":"integer"},"num_days":{"type":"integer"},"avg_rate":{"type":"number"},"booked_in_advance":{"type":"number"},"change_or_cancel_fees":{"type":"number"},"have_changes":{"type":"string","enum":["none","changed","cancelled"]},"changes":{"type":"object","additionalProperties":{}},"avg_days":{"type":"number"},"num_cars":{"type":"integer"},"refundable":{"type":"object","additionalProperties":{}},"rent_agency":{"type":"string"},"per_trip":{"type":"array","items":{"$ref":"#/definitions/DetailedCarStatsPerTrip"}},"city_or_airport_with_country":{"type":"string"},"country":{"type":"string"},"city_or_airport":{"type":"string"},"display_name":{"type":"string"}}},"DetailedRailStatsWithNestedSchema":{"type":"object","properties":{"key":{"type":"string"},"avg_ticket_price":{"type":"number"},"booked_in_advance":{"type":"number"},"cabin_class":{"type":"object","additionalProperties":{}},"seat_price":{"type":"number"},"num_travelers":{"type":"integer"},"route_travelers":{"type":"integer"},"num_trips":{"type":"integer"},"total_rail_spend":{"type":"number"},"start_date":{"type":"string","format":"date"},"end_date":{"type":"string","format":"date"},"open_return_valid_until":{"type":"string","format":"date"},"trips_by_path":{"type":"array","items":{"$ref":"#/definitions/DetailedRailStats"}}}},"UnusedTicketsReportOverviewSchema":{"type":"object","properties":{"expiring_tickets_breakdown":{"type":"object","additionalProperties":{"$ref":"#/definitions/ExpiringTitcketsBreakdownInterval"}},"active":{"$ref":"#/definitions/UnusedTicketByStatusOverview"},"expired":{"$ref":"#/definitions/UnusedTicketByStatusOverview"},"exchanged":{"$ref":"#/definitions/UnusedTicketByStatusOverview"}}},"UnusedTicketReportSchema":{"type":"object","properties":{"active":{"$ref":"#/definitions/UnusedTicketReportRow"},"exchanged":{"$ref":"#/definitions/UnusedTicketReportRow"},"expired":{"$ref":"#/definitions/UnusedTicketReportRow"}}},"UserWithRoleSchema":{"type":"object","properties":{"id":{"type":"integer","readOnly":true},"first_name":{"type":"string","pattern":"^[a-zA-Z\\s-]+$"},"middle_name":{"type":"string","pattern":"^[a-zA-Z\\s-]+$","x-nullable":true},"last_name":{"type":"string","minLength":2,"pattern":"^[a-zA-Z\\s-]+$"},"email":{"type":"string"},"status":{"readOnly":true,"type":"string","enum":["CREATED","INVITED","REGISTERED","DEACTIVATED"]},"image_url":{"type":"string","x-nullable":true},"auto_select_self":{"type":"boolean"},"bookable":{"type":"boolean","readOnly":true},"language_code":{"type":"string","x-nullable":true},"currency_code":{"type":"string"},"invoice_profile":{"$ref":"#/definitions/UserInvoiceProfile"},"mock_enabled":{"type":"boolean","readOnly":true},"tokenizer_mock_enabled":{"type":"boolean","readOnly":true},"worldline_mock_enabled":{"type":"boolean","readOnly":true},"flight_search_mock_enabled":{"type":"boolean","readOnly":true},"ob_fee_mock":{"type":"string","readOnly":true},"deleted":{"type":"boolean","readOnly":true},"deactivate_at":{"type":"string","format":"date","x-nullable":true},"traveler_profile":{"readOnly":true,"allOf":[{"$ref":"#/definitions/BaseTraveler"}]},"rail_cards":{"type":"array","items":{"$ref":"#/definitions/DetailedTravelerRailCard"}},"user_roles":{"readOnly":true,"type":"array","items":{"$ref":"#/definitions/DetailedUserRole"}},"company_id":{"type":"integer","readOnly":true},"user_permissions":{"readOnly":true,"type":"array","items":{"$ref":"#/definitions/BaseUserPermission"}}},"required":["first_name","last_name"]},"HTTPError403":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"}}},"DetailedUserSchema":{"type":"object","properties":{"id":{"type":"integer","readOnly":true},"first_name":{"type":"string","pattern":"^[a-zA-Z\\s-]+$"},"middle_name":{"type":"string","pattern":"^[a-zA-Z\\s-]+$","x-nullable":true},"last_name":{"type":"string","minLength":2,"pattern":"^[a-zA-Z\\s-]+$"},"email":{"type":"string"},"status":{"readOnly":true,"type":"string","enum":["CREATED","INVITED","REGISTERED","DEACTIVATED"]},"image_url":{"type":"string","x-nullable":true},"auto_select_self":{"type":"boolean"},"bookable":{"type":"boolean","readOnly":true},"language_code":{"type":"string","x-nullable":true},"currency_code":{"type":"string"},"invoice_profile":{"$ref":"#/definitions/UserInvoiceProfile"},"mock_enabled":{"type":"boolean","readOnly":true},"tokenizer_mock_enabled":{"type":"boolean","readOnly":true},"worldline_mock_enabled":{"type":"boolean","readOnly":true},"flight_search_mock_enabled":{"type":"boolean","readOnly":true},"ob_fee_mock":{"type":"string","readOnly":true},"deleted":{"type":"boolean","readOnly":true},"deactivate_at":{"type":"string","format":"date","x-nullable":true},"traveler_profile":{"readOnly":true,"allOf":[{"$ref":"#/definitions/BaseTraveler"}]},"rail_cards":{"type":"array","items":{"$ref":"#/definitions/DetailedTravelerRailCard"}},"user_roles":{"readOnly":true,"type":"array","items":{"$ref":"#/definitions/DetailedUserRole"}}},"required":["first_name","last_name"]},"AddUserParameters":{"type":"object","properties":{"id":{"type":"integer","readOnly":true},"first_name":{"type":"string","pattern":"^[a-zA-Z\\s-]+$"},"middle_name":{"type":"string","pattern":"^[a-zA-Z\\s-]+$","x-nullable":true},"last_name":{"type":"string","minLength":2,"pattern":"^[a-zA-Z\\s-]+$"},"email":{"type":"string"},"status":{"readOnly":true,"type":"string","enum":["CREATED","INVITED","REGISTERED","DEACTIVATED"]},"image_url":{"type":"string","x-nullable":true},"auto_select_self":{"type":"boolean"},"bookable":{"type":"boolean","readOnly":true},"language_code":{"type":"string","x-nullable":true},"currency_code":{"type":"string"},"invoice_profile":{"$ref":"#/definitions/UserInvoiceProfile"},"mock_enabled":{"type":"boolean","readOnly":true},"tokenizer_mock_enabled":{"type":"boolean","readOnly":true},"worldline_mock_enabled":{"type":"boolean","readOnly":true},"flight_search_mock_enabled":{"type":"boolean","readOnly":true},"ob_fee_mock":{"type":"string","readOnly":true},"deleted":{"type":"boolean","readOnly":true},"deactivate_at":{"type":"string","format":"date","x-nullable":true},"traveler_profile":{"$ref":"#/definitions/TravelerPersonal"},"rail_cards":{"type":"array","items":{"$ref":"#/definitions/DetailedTravelerRailCard"}},"invoice_profile_id":{"type":"integer"},"phone_number":{"x-nullable":true}},"required":["first_name","invoice_profile_id","last_name"]},"AdminUserSearchSchema":{"type":"object","properties":{"id":{"type":"integer","readOnly":true},"first_name":{"type":"string","pattern":"^[a-zA-Z\\s-]+$"},"middle_name":{"type":"string","pattern":"^[a-zA-Z\\s-]+$","x-nullable":true},"last_name":{"type":"string","minLength":2,"pattern":"^[a-zA-Z\\s-]+$"},"email":{"type":"string"},"status":{"readOnly":true,"type":"string","enum":["CREATED","INVITED","REGISTERED","DEACTIVATED"]},"image_url":{"type":"string","x-nullable":true},"auto_select_self":{"type":"boolean"},"bookable":{"type":"boolean","readOnly":true},"language_code":{"type":"string","x-nullable":true},"currency_code":{"type":"string"},"invoice_profile":{"$ref":"#/definitions/UserInvoiceProfile"},"mock_enabled":{"type":"boolean","readOnly":true},"tokenizer_mock_enabled":{"type":"boolean","readOnly":true},"worldline_mock_enabled":{"type":"boolean","readOnly":true},"flight_search_mock_enabled":{"type":"boolean","readOnly":true},"ob_fee_mock":{"type":"string","readOnly":true},"deleted":{"type":"boolean","readOnly":true},"deactivate_at":{"type":"string","format":"date","x-nullable":true},"traveler_profile":{"$ref":"#/definitions/TravelerPersonal"},"rail_cards":{"type":"array","items":{"$ref":"#/definitions/DetailedTravelerRailCard"}},"ignore_approval":{"readOnly":true},"custom_policy":{"readOnly":true}},"required":["first_name","last_name"]},"ReportSettingSchema":{"type":"object","properties":{"id":{"type":"integer"},"company_id":{"type":"integer"},"name":{"type":"string","enum":["accounting_unit","action_code","billable","cost_center","custom_field_1","custom_field_2","custom_field_3","department","employee_id","internal_account","office","out_of_policy_reason","project_code","purchase_order_number","trip_purpose","destination","departure_date"]},"display_name":{"type":"string","x-nullable":true},"hidden":{"type":"boolean","x-nullable":true},"mandatory":{"type":"boolean","x-nullable":true},"field_type":{"type":"string","enum":["alnum","alpha","numeric","date"]},"min_length":{"type":"integer","x-nullable":true},"max_length":{"type":"integer","x-nullable":true},"allow_specials":{"type":"boolean","x-nullable":true},"possible_values":{"type":"string","enum":["list_of_departments","list_of_offices","list_of_trip_purposes","yes_or_no"]},"options":{"type":"string","x-nullable":true},"default_value":{"type":"string","x-nullable":true},"page":{"type":"string","enum":["payment_and_confirmation","traveler_profile"]},"visible_on_page":{"type":"boolean"},"editable_on_page":{"type":"boolean"},"locked":{"type":"boolean"}}},"UpdateReportSettingSchema":{"type":"object","properties":{"id":{"type":"integer"},"data":{"$ref":"#/definitions/ReportSettingData"}},"required":["data","id"]},"BaseAirlineSchema":{"type":"object","properties":{"id":{"type":"integer"},"iata":{"type":"string"},"name":{"type":"string"},"alliance_id":{"type":"integer","x-nullable":true},"is_lcc":{"type":"boolean","x-nullable":true},"conditions_of_carriage_url":{"readOnly":true},"baggage_policy_url":{"readOnly":true}}},"BaseAirportWithCountryNameSchema":{"type":"object","properties":{"id":{"type":"integer","readOnly":true},"name":{"type":"string"},"latitude":{"type":"number"},"longitude":{"type":"number"},"country_iso":{"readOnly":true},"city_code":{"readOnly":true},"code":{"type":"string","readOnly":true},"country_name":{"type":"string"},"location_type":{"type":"string","enum":["home","office","client","hotel","airport","other","city","car_rent_agency","rail","rail_group"]},"location_data":{"type":"object","additionalProperties":{}}}},"DetailedAirportSchema":{"type":"object","properties":{"id":{"type":"integer","readOnly":true},"name":{"type":"string"},"latitude":{"type":"number"},"longitude":{"type":"number"},"country_iso":{"readOnly":true},"city_code":{"readOnly":true},"code":{"type":"string","readOnly":true}}},"BaseAllianceSchema":{"type":"object","properties":{"id":{"type":"integer","readOnly":true},"name":{"type":"string"}}},"DetailedAllianceSchema":{"type":"object","properties":{"id":{"type":"integer","readOnly":true},"name":{"type":"string"}}},"CompanyCarRewardProgramSchema":{"type":"object","properties":{"id":{"type":"integer"},"car_loyalty_program":{"$ref":"#/definitions/BaseCarLoyaltyProgram"},"corporate_discount_code":{"type":"string"},"direct_billing_agreement":{"type":"string"}}},"CreateCompanyCarRewardProgramSchema":{"type":"object","properties":{"car_loyalty_program_code":{"type":"string","minLength":2,"maxLength":3},"corporate_discount_code":{"type":"string","enum":["a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z","0","1","2","3","4","5","6","7","8","9"],"minLength":1,"maxLength":25},"direct_billing_agreement":{"type":"string","x-nullable":true}},"required":["corporate_discount_code"]},"CompanyCarRewardProgramBaseSchema":{"type":"object","properties":{"car_loyalty_program_code":{"type":"string","minLength":2,"maxLength":3},"corporate_discount_code":{"type":"string","enum":["a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z","0","1","2","3","4","5","6","7","8","9"],"minLength":1,"maxLength":25},"direct_billing_agreement":{"type":"string","x-nullable":true}},"required":["corporate_discount_code"]},"HTTPError400":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"}}},"GetCarRateSchema":{"type":"object","properties":{"rental_terms":{},"important_information":{},"paid_days":{"type":"integer","x-nullable":true},"paid_hours":{"type":"integer","x-nullable":true},"fees":{"x-nullable":true},"special_equip":{"x-nullable":true},"total_price":{"type":"number","x-nullable":true},"total_price_with_equip":{"type":"number","x-nullable":true}}},"GetCarRateParameters":{"type":"object","properties":{"car_search_result":{},"additional_equip":{"type":"array","items":{"type":"string"},"x-nullable":true},"search_id":{"type":"integer"}}},"CarSearchResultSchema":{"type":"object","properties":{"code":{"type":"string"},"label":{"type":"string"},"location_type":{"type":"string","enum":["home","office","client","hotel","airport","other","city","car_rent_agency","rail","rail_group"]},"latitude":{"type":"string"},"longitude":{"type":"string"},"id":{"type":"string","x-nullable":true},"country_name":{"type":"string","x-nullable":true},"country_iso":{"type":"string","x-nullable":true},"city_name":{"type":"string","x-nullable":true}}},"CityResponseSchema":{"type":"object","properties":{"id":{"type":"integer"},"external_id":{"type":"string"},"name":{"type":"string"},"iata_code":{"type":"string","x-nullable":true},"latitude":{"type":"number"},"longitude":{"type":"number"},"country_id":{"type":"integer"},"country":{"$ref":"#/definitions/Country"}}},"CityCreateParameters":{"type":"object","properties":{"location_type":{"type":"string","enum":["home","office","client","hotel","airport","other","city","car_rent_agency","rail","rail_group"]},"code":{"type":"string","x-nullable":true},"label":{"type":"string","x-nullable":true},"longitude":{"type":"number","x-nullable":true},"latitude":{"type":"number","x-nullable":true},"country_name":{"type":"string","x-nullable":true},"country_iso":{"type":"string","x-nullable":true},"city_name":{"type":"string","x-nullable":true},"state":{"type":"string","x-nullable":true}}},"DetailedCompanySchema":{"type":"object","properties":{"id":{"type":"integer","readOnly":true},"name":{"type":"string"},"domain1":{"type":"string","x-nullable":true},"domain2":{"type":"string","x-nullable":true},"created_dt":{"type":"string","format":"date","readOnly":true},"logo_url":{"type":"string"},"flights_allowance":{"readOnly":true,"type":"string","enum":["allowed","default","not_allowed"]},"hotels_allowance":{"readOnly":true,"type":"string","enum":["allowed","default","not_allowed"]},"reports_enabled":{"type":"boolean","readOnly":true},"company_type":{"readOnly":true,"type":"string","enum":["normal","demo","restricted"]},"billing_type":{"readOnly":true,"type":"string","enum":["credit_card","monthly_credit"]},"preferences":{"readOnly":true,"type":"array","items":{"$ref":"#/definitions/BaseCompanyPreference"}},"is_after_onboarding":{"type":"boolean","readOnly":true},"bmis":{"type":"string","readOnly":true,"x-nullable":true},"industry":{"readOnly":true,"type":"string","enum":["agriculture","chemical","educational_services","energy","engineering","entertainment","financial_and_insurance_activities","health_care","hospitality_and_leisure","information_technology","logistics","manufacturing","marine","mining_and_quarrying","professional_scientific_and_technical","public_sector","retail_and_consumer_goods","other"]},"gcn":{"type":"string","readOnly":true},"hubspot_id":{"type":"string","readOnly":true},"default_language_code":{"type":"string","readOnly":true},"company_contact_person":{"readOnly":true,"allOf":[{"$ref":"#/definitions/DetailedUser"}],"x-nullable":true},"packages":{"readOnly":true,"type":"array","items":{"$ref":"#/definitions/Package"}},"invoice_profiles":{"readOnly":true,"type":"array","items":{"$ref":"#/definitions/InvoiceProfileResponse"}},"account_executive":{"readOnly":true},"country":{"readOnly":true,"allOf":[{"$ref":"#/definitions/Country"}]},"country_pos":{"readOnly":true},"customer_success_consultant":{"readOnly":true,"allOf":[{"$ref":"#/definitions/DetailedCustomerSuccessConsultant"}]},"recommended_package_id":{"type":"integer","readOnly":true,"x-nullable":true},"recommended_pricing_model_id":{"type":"integer","readOnly":true,"x-nullable":true},"number_of_reward_programs":{"readOnly":true},"has_failed_fees":{"readOnly":true},"gpo":{"readOnly":true,"allOf":[{"$ref":"#/definitions/BaseGPOSupport"}]},"feature_flag":{"type":"object","readOnly":true,"additionalProperties":{}},"no_fee_end_date":{"readOnly":true,"x-nullable":true},"complimentary_period_message":{"readOnly":true,"x-nullable":true}},"required":["hubspot_id"]},"UpdateCompanyParameters":{"type":"object","properties":{"id":{"type":"integer","readOnly":true},"name":{"type":"string"},"domain1":{"type":"string","x-nullable":true},"domain2":{"type":"string","x-nullable":true},"created_dt":{"type":"string","format":"date","readOnly":true},"logo_url":{"type":"string"},"flights_allowance":{"readOnly":true,"type":"string","enum":["allowed","default","not_allowed"]},"hotels_allowance":{"readOnly":true,"type":"string","enum":["allowed","default","not_allowed"]},"reports_enabled":{"type":"boolean","readOnly":true},"company_type":{"readOnly":true,"type":"string","enum":["normal","demo","restricted"]},"billing_type":{"readOnly":true,"type":"string","enum":["credit_card","monthly_credit"]},"preferences":{"readOnly":true,"type":"array","items":{"$ref":"#/definitions/BaseCompanyPreference"}},"is_after_onboarding":{"type":"boolean","readOnly":true},"bmis":{"type":"string","readOnly":true,"x-nullable":true},"industry":{"readOnly":true,"type":"string","enum":["agriculture","chemical","educational_services","energy","engineering","entertainment","financial_and_insurance_activities","health_care","hospitality_and_leisure","information_technology","logistics","manufacturing","marine","mining_and_quarrying","professional_scientific_and_technical","public_sector","retail_and_consumer_goods","other"]},"gcn":{"type":"string","readOnly":true},"hubspot_id":{"type":"string","readOnly":true},"default_language_code":{"type":"string","readOnly":true},"company_contact_person":{"readOnly":true,"allOf":[{"$ref":"#/definitions/DetailedUser"}],"x-nullable":true},"packages":{"readOnly":true,"type":"array","items":{"$ref":"#/definitions/Package"}},"invoice_profiles":{"readOnly":true,"type":"array","items":{"$ref":"#/definitions/InvoiceProfileResponse"}},"account_executive":{"readOnly":true},"country":{"readOnly":true,"allOf":[{"$ref":"#/definitions/Country"}]},"country_pos":{"readOnly":true},"customer_success_consultant":{"readOnly":true,"allOf":[{"$ref":"#/definitions/DetailedCustomerSuccessConsultant"}]},"recommended_package_id":{"type":"integer","readOnly":true,"x-nullable":true},"recommended_pricing_model_id":{"type":"integer","readOnly":true,"x-nullable":true},"number_of_reward_programs":{"readOnly":true},"has_failed_fees":{"readOnly":true},"gpo":{"readOnly":true,"allOf":[{"$ref":"#/definitions/BaseGPOSupport"}]},"feature_flag":{"type":"object","readOnly":true,"additionalProperties":{}},"no_fee_end_date":{"readOnly":true,"x-nullable":true},"complimentary_period_message":{"readOnly":true,"x-nullable":true},"accepted_tos":{"type":"boolean","x-nullable":true},"travel_budget_estimation":{"type":"number"}}},"CompanyFeatureFlagSchema":{"type":"object","properties":{"feature_flag":{"type":"object","readOnly":true,"additionalProperties":{"type":"boolean"}}},"required":["feature_flag"]},"CompanyFeatureFlagParameters":{"type":"object","properties":{"feature_flag":{"type":"object","minLength":1,"description":"Feature flags to merge into the current company's feature_flag JSON field. Values must be boolean (true/false).","additionalProperties":{"type":"boolean"}}},"required":["feature_flag"]},"InvoiceProfileResponseSchema":{"type":"object","properties":{"display_name":{"type":"string","minLength":1,"maxLength":40},"description":{"type":"string","minLength":0,"maxLength":80,"x-nullable":true},"industry":{"type":"string","enum":["agriculture","chemical","educational_services","energy","engineering","entertainment","financial_and_insurance_activities","health_care","hospitality_and_leisure","information_technology","logistics","manufacturing","marine","mining_and_quarrying","professional_scientific_and_technical","public_sector","retail_and_consumer_goods","other"]},"legal_entity_names":{"type":"array","minItems":1,"maxItems":4,"items":{"type":"string","minLength":1,"maxLength":40}},"tax_number":{"type":"string","minLength":1,"maxLength":60},"trade_register_number":{"type":"string","minLength":1,"maxLength":60,"x-nullable":true},"hybris_account_number":{"type":"string","readOnly":true},"business_partner":{"type":"string","readOnly":true},"building":{"type":"string","minLength":0,"maxLength":20,"x-nullable":true},"room":{"type":"string","minLength":0,"maxLength":10,"x-nullable":true},"floor":{"type":"string","minLength":0,"maxLength":10,"x-nullable":true},"streets":{"type":"array","items":{"type":"string"}},"number":{"type":"string","minLength":1,"maxLength":10},"district":{"type":"string","minLength":0,"maxLength":40,"x-nullable":true},"postal_code":{"type":"string","minLength":1,"maxLength":10},"city":{"type":"string","minLength":1,"maxLength":40},"state":{"type":"string","minLength":1,"maxLength":80,"x-nullable":true},"default_email":{"type":"string","format":"email","minLength":1,"maxLength":241,"x-nullable":true},"billing_contact_person_first_name":{"type":"string","minLength":1,"maxLength":120},"billing_contact_person_last_name":{"type":"string","minLength":1,"maxLength":120},"billing_contact_person_email":{"type":"string","format":"email","minLength":1,"maxLength":241},"billing_contact_phone_number":{},"authorized_person_user":{"$ref":"#/definitions/AuthorizedPersonUser"},"credit_cards":{"readOnly":true,"type":"array","items":{"$ref":"#/definitions/DetailedCreditCard"}},"country_pos_id":{"type":"integer","x-nullable":true},"corporate_id":{"type":"string","maxLength":10,"x-nullable":true},"id":{"type":"integer"},"country":{"$ref":"#/definitions/Country"},"language":{"type":"string","enum":["de_DE","en_US","en_GB","fr_FR","nl_NL"]},"status":{"type":"string","enum":["blank","draft","confirmation_in_progress","validation_pending","active"]},"tos_accepted_by":{"$ref":"#/definitions/DetailedUser"},"tos_accepted_at":{"type":"string","x-nullable":true,"format":"date-time"},"virtual_payment_automations":{"readOnly":true},"contract_start_date":{"type":"string","format":"date-time","x-nullable":true}},"required":["authorized_person_user","billing_contact_person_email","billing_contact_person_first_name","billing_contact_person_last_name","billing_contact_phone_number","city","default_email","display_name","industry","legal_entity_names","number","postal_code","streets","tax_number"]},"AddInvoiceProfileSchema":{"type":"object","properties":{"display_name":{"type":"string","minLength":1,"maxLength":40},"description":{"type":"string","minLength":0,"maxLength":80,"x-nullable":true},"industry":{"type":"string","enum":["agriculture","chemical","educational_services","energy","engineering","entertainment","financial_and_insurance_activities","health_care","hospitality_and_leisure","information_technology","logistics","manufacturing","marine","mining_and_quarrying","professional_scientific_and_technical","public_sector","retail_and_consumer_goods","other"]},"legal_entity_names":{"type":"array","minItems":1,"maxItems":4,"items":{"type":"string","minLength":1,"maxLength":40}},"tax_number":{"type":"string","minLength":1,"maxLength":60},"trade_register_number":{"type":"string","minLength":1,"maxLength":60,"x-nullable":true},"hybris_account_number":{"type":"string","readOnly":true},"business_partner":{"type":"string","readOnly":true},"building":{"type":"string","minLength":0,"maxLength":20,"x-nullable":true},"room":{"type":"string","minLength":0,"maxLength":10,"x-nullable":true},"floor":{"type":"string","minLength":0,"maxLength":10,"x-nullable":true},"streets":{"type":"array","items":{"type":"string"}},"number":{"type":"string","minLength":1,"maxLength":10},"district":{"type":"string","minLength":0,"maxLength":40,"x-nullable":true},"postal_code":{"type":"string","minLength":1,"maxLength":10},"city":{"type":"string","minLength":1,"maxLength":40},"state":{"type":"string","minLength":1,"maxLength":80,"x-nullable":true},"default_email":{"type":"string","format":"email","minLength":1,"maxLength":241,"x-nullable":true},"billing_contact_person_first_name":{"type":"string","minLength":1,"maxLength":120},"billing_contact_person_last_name":{"type":"string","minLength":1,"maxLength":120},"billing_contact_person_email":{"type":"string","format":"email","minLength":1,"maxLength":241},"billing_contact_phone_number":{},"authorized_person_user":{"$ref":"#/definitions/AuthorizedPersonUser"},"credit_cards":{"readOnly":true,"type":"array","items":{"$ref":"#/definitions/DetailedCreditCard"}},"country_pos_id":{"type":"integer","x-nullable":true},"corporate_id":{"type":"string","maxLength":10,"x-nullable":true},"country_id":{"type":"integer"},"language":{"type":"string","enum":["de_DE","en_US","en_GB","fr_FR","nl_NL"]}}},"PaymentInfoSchema":{"type":"object","properties":{"billed_annually":{"type":"boolean","readOnly":true},"id":{"type":"integer","readOnly":true},"start_date":{"type":"string","format":"date","readOnly":true},"next_payment_date":{"type":"string","format":"date","readOnly":true},"country_pos":{"readOnly":true,"allOf":[{"$ref":"#/definitions/CountryPos"}]},"pricing_model":{"readOnly":true},"next_pricing_model":{"readOnly":true,"allOf":[{"$ref":"#/definitions/BasePricingModel"}]},"invoice_profile":{"readOnly":true,"allOf":[{"$ref":"#/definitions/InvoiceProfileResponse"}]},"credit_card":{"readOnly":true,"x-nullable":true},"package":{"readOnly":true},"next_payment_package":{"readOnly":true},"active_user_fees_payment_config":{"readOnly":true},"complimentary_period_message":{"readOnly":true}},"required":["billed_annually"]},"SelectedPackagesSchema":{"type":"object","properties":{"selected_pricing_models_by_pos":{"type":"array","items":{"$ref":"#/definitions/SelectedPricingModel"}}},"required":["selected_pricing_models_by_pos"]},"SelectedPricingModelSchema":{"type":"object","properties":{"billed_annually":{"type":"boolean"},"country_pos_id":{"type":"integer"},"pricing_model_id":{"type":"integer"},"credit_card_id":{"type":"integer"},"invoice_profile_id":{"type":"integer"},"active_user_fees_payment_config":{"type":"array","items":{"$ref":"#/definitions/ActiveUserFeesPaymentConfigParameters"},"x-nullable":true}},"required":["billed_annually","country_pos_id","credit_card_id","invoice_profile_id","pricing_model_id"]},"PaymentInfoCancelNextPackageSchema":{"type":"object","properties":{"ids":{"type":"array","items":{"type":"integer"}}}},"BMISFieldParameter":{"type":"object","properties":{"bmis":{"type":"string","minLength":7,"maxLength":7}},"required":["bmis"]},"UpdateCompanyPackageParameters":{"type":"object","properties":{"package_id":{"type":"integer"},"billed_annually":{"type":"boolean"}}},"CompanyPreferencesSchema":{"type":"object","properties":{"preferences":{"type":"array","items":{"$ref":"#/definitions/BaseCompanyPreference"}}}},"UpdateCompanyPreferencesParameters":{"type":"object","properties":{"preferences":{"type":"array","items":{"$ref":"#/definitions/CompanyPreferenceParameters"}}}},"DetailedCustomerSuccessConsultantSchema":{"type":"object","properties":{"first_name":{"type":"string"},"middle_name":{"type":"string","x-nullable":true},"last_name":{"type":"string"},"email":{"type":"string","format":"email"},"hubspot_id":{"type":"string"},"photo_url":{"type":"string","format":"url"},"id":{"type":"integer"}},"required":["email","first_name","hubspot_id","last_name","photo_url"]},"UnpaidCompanyFeesResponseSchema":{"type":"object","properties":{"unpaid_fees_count":{"type":"integer"}}},"PackageUsageDetailsResponseSchema":{"type":"object","properties":{"amount_of_paid_support_request_fees":{"type":"integer","x-nullable":true},"amount_of_paid_trip_fees":{"type":"integer","x-nullable":true},"amount_of_paid_user_fees":{"type":"integer","x-nullable":true},"amount_of_paid_vpa_fees":{"type":"integer","x-nullable":true},"country_code":{"type":"string"},"country_currency":{"type":"string"},"country_name":{"type":"string"},"free_support_request_amount_one_time":{"type":"integer","x-nullable":true},"free_support_request_amount_time_period":{"type":"integer","x-nullable":true},"free_support_request_renewal_date":{"type":"string","format":"date-time","x-nullable":true},"free_trip_amount_one_time":{"type":"integer","x-nullable":true},"free_trip_amount_time_period":{"type":"integer","x-nullable":true},"free_trip_renewal_date":{"type":"string","format":"date-time","x-nullable":true},"free_user_amount_one_time":{"type":"integer","x-nullable":true},"free_user_amount_time_period":{"type":"integer","x-nullable":true},"free_user_renewal_date":{"type":"string","format":"date-time","x-nullable":true},"package_commercial_name":{"type":"string","x-nullable":true},"renewal_date":{"type":"string","format":"date-time","x-nullable":true},"start_date":{"type":"string","format":"date-time"},"support_request_fee_price":{"type":"number","x-nullable":true},"support_request_fee_unlimited":{"type":"boolean"},"total_amount_of_basic_fees":{"type":"number"},"total_amount_of_total_fees":{"type":"number"},"total_amount_of_vats":{"type":"number"},"trip_fee_price":{"type":"number","x-nullable":true},"trip_fee_unlimited":{"type":"boolean"},"user_fee_price":{"type":"number","x-nullable":true},"user_fee_unlimited":{"type":"boolean"},"vpa_fee_price":{"type":"number","x-nullable":true},"vpa_fee_unlimited":{"type":"boolean"},"company_subscription_fee":{"type":"number","x-nullable":true},"billed_annually":{"type":"boolean"},"complimentary_period_message":{"type":"string","x-nullable":true}}},"PackageUsageDetailsReportResponseSchema":{"type":"object","properties":{"active_user":{"$ref":"#/definitions/ActiveUserFeeResponse"},"service_type":{"type":"string"},"support_request":{"$ref":"#/definitions/SRFeeUsageDetails"},"trip":{"$ref":"#/definitions/TripFeeUsageDetails"},"vpa":{"$ref":"#/definitions/VPAFeeUsageDetails"},"subscription_payment":{"$ref":"#/definitions/SubscriptionResponse"}}},"ActiveUserFeeUsageDetailsResponseSchema":{"type":"object","properties":{"user":{"$ref":"#/definitions/ActiveUserFeeUser"},"total_price":{"type":"number"},"currency":{"type":"string"},"refund_dt":{"type":"string"},"status":{"type":"string"},"trips":{"type":"array","items":{"$ref":"#/definitions/ActiveUserFeeTripDetails"}},"expense_reports":{"type":"array","items":{"$ref":"#/definitions/ActiveUserFeeExpenseReportDetails"}}}},"CountryPosSchema":{"type":"object","properties":{"id":{"type":"integer"},"country":{"$ref":"#/definitions/Country"},"agency_iata_arc_number":{"type":"string"},"agency_tax_number":{"type":"string"},"standard_high_tax_rate":{"type":"number"},"agency_sap_company_code":{"type":"string"},"agency_legal_entity_name":{"type":"string"},"agency_legal_entity_address":{"type":"string"},"agency_legal_entity_trade_register_number":{"type":"string"},"agency_travel_agent_registration_number":{"type":"string"},"terms_of_services_de":{"type":"string"},"terms_of_services_us":{"type":"string"},"terms_of_services_uk":{"type":"string"},"terms_of_services_fr":{"type":"string"},"terms_of_services_nl":{"type":"string"},"whatsapp":{"type":"string"},"telegram":{"type":"string"},"email":{"type":"string"},"contact_phone":{"type":"string"},"customer_success_consultant":{"type":"string"},"operational_manager_email":{"type":"string"},"default_asb_entity_id":{"type":"string"},"travel_hub_merchant_id":{"type":"string"},"default_language":{"type":"string"},"official_currency":{"type":"string"},"units":{"type":"string","enum":["KM","MI"]},"booking_destination":{"type":"string"},"primary_pos_id":{"type":"integer"},"pos_type":{"type":"string","enum":["PRIMARY","VIRTUAL"]},"converted_vpa_fee":{"readOnly":true},"vpa_fee":{"type":"number"},"package_default_settings":{"type":"array","items":{"$ref":"#/definitions/CountryPOSPackageDefaultSettingsParameters"}}}},"PackageDowngradeStatusSchema":{"type":"object","properties":{"is_pending_approval_trips_available":{"type":"boolean"},"is_unassigned_or_active_users_found":{"type":"boolean"},"is_admin_assigned_to_billing_profile":{"type":"boolean"},"is_expense_reports_submitted":{"type":"boolean"},"is_valid_non_corp_credit_card":{"type":"boolean"},"is_unpaid_fees":{"type":"boolean"},"is_pending_fees_other_invoice_profiles":{"type":"boolean"},"is_pending_refunds_other_invoice_profiles":{"type":"boolean"},"country_pos_id":{"type":"integer"},"invoice_profile_id":{"type":"integer"}},"required":["country_pos_id","invoice_profile_id","is_admin_assigned_to_billing_profile","is_expense_reports_submitted","is_pending_approval_trips_available","is_pending_fees_other_invoice_profiles","is_pending_refunds_other_invoice_profiles","is_unassigned_or_active_users_found","is_unpaid_fees","is_valid_non_corp_credit_card"]},"PackageDowngradeStatusInputSchema":{"type":"object","properties":{"invoice_profiles":{"type":"array","items":{"$ref":"#/definitions/Generated"}}},"required":["invoice_profiles"]},"DowngradeCountsStatusSchema":{"type":"object","properties":{"draft_trips_count":{"type":"integer"},"non_billing_invoice_profiles_count":{"type":"integer"},"corporate_discounts_and_rewards_programs":{"type":"integer"},"reportable_fields_count":{"type":"integer"},"dbi_enhanced_data_counts":{"type":"object","additionalProperties":{}},"office_custom_policies_counts":{"type":"object","additionalProperties":{}},"virtual_payment_automation_count":{"type":"integer"},"country_pos_id":{"type":"integer"},"invoice_profile_id":{"type":"integer"}},"required":["corporate_discounts_and_rewards_programs","country_pos_id","dbi_enhanced_data_counts","draft_trips_count","invoice_profile_id","non_billing_invoice_profiles_count","office_custom_policies_counts","reportable_fields_count","virtual_payment_automation_count"]},"DowngradeCountsInputSchema":{"type":"object","properties":{"country_pos_id":{"type":"integer"},"invoice_profile_id":{"type":"integer"}},"required":["country_pos_id","invoice_profile_id"]},"CompanyFeeResponseDetailedSchema":{"type":"object","properties":{"id":{"type":"integer"},"created_dt":{"type":"string","format":"date-time"},"created_by_user":{"$ref":"#/definitions/BaseUser"},"status":{"type":"string","enum":["DRAFT","HOLD","HOLD_FAILED","HOLD_CANCEL_PENDING","HOLD_CANCELED","HOLD_CANCEL_FAILED","CAPTURED","CAPTURE_PENDING","CAPTURE_FAILED","PARTIAL_REFUND","REFUNDED","REFUND_PENDING","REFUND_FAILED","REDIRECTED","VALIDATING"]},"total_price":{},"total_tax":{},"currency":{"type":"string"},"fee_type":{"type":"string","enum":["package","trip","support_request","user","subscription","vpa","product"]},"credit_card":{"readOnly":true},"charge_dt":{"type":"string","format":"date-time","x-nullable":true},"refund_dt":{"type":"string","format":"date-time","x-nullable":true},"refund_reason":{"type":"string","x-nullable":true},"refunded_by":{"$ref":"#/definitions/BaseUser"}},"required":["fee_type","status"]},"CompanyFeeRefundParameters":{"type":"object","properties":{"reason":{"type":"string","minLength":1,"maxLength":300},"user_ids":{"type":"array","default":[],"minItems":1,"items":{"type":"integer"},"x-nullable":true},"rail_refund_type":{"description":"Choose one of: product_fee_only, credit_card_fee_only, both_fee","x-nullable":true,"type":"string","enum":["product_fee_only","credit_card_fee_only","both_fee"]}},"required":["reason"]},"LanguageSchema":{"type":"object","properties":{"name":{"type":"string"},"code":{"type":"string","enum":["de_DE","en_US","en_GB","fr_FR","nl_NL"]}}},"DetailedCreditCardSchema":{"type":"object","properties":{"id":{"type":"integer","readOnly":true},"card_number":{"type":"string","minLength":14,"maxLength":19},"card_expiration_date":{"type":"string","format":"date"},"card_holder_name":{"type":"string","minLength":4,"maxLength":30},"card_type":{"type":"string","enum":["VISA","MASTER_CARD","AMERICAN_EXPRESS","UATP","DINERS","AIR_PLUS","AMEX_BTA","AMEX_BTA_GERMANY","CARTE_BLANCHE","CHINA_UNION_PAY","DISCOVER","EURO","FORBRUGSFORENINGSKORT","JAPANESE_CREDIT_BUREAU_CREDIT","MAESTRO"]},"card_name":{"type":"string","minLength":1,"maxLength":30},"card_data":{"$ref":"#/definitions/CreditCardData"},"allow_use_my_card":{"type":"boolean"},"related_to":{"type":"string","enum":["traveler","company"]},"used_for_package_payment":{"type":"boolean","readOnly":true},"accounting_unit":{"type":"boolean"},"action_code":{"type":"boolean"},"internal_account":{"type":"boolean"},"cost_center":{"type":"boolean"},"department":{"type":"boolean"},"employee_id":{"type":"boolean"},"project_code":{"type":"boolean"},"purchase_order_number":{"type":"boolean"},"default_for_fees":{"type":"boolean","readOnly":true},"usage_allowed_for":{"type":"string","enum":["country","invoice_profile"]},"available_only_for_travel_arrangers":{"type":"boolean"},"permitted_for_flights":{"type":"boolean"},"permitted_for_hotels":{"type":"boolean"},"permitted_for_cars":{"type":"boolean"},"permitted_for_fees":{"type":"boolean"},"permitted_for_trains":{"type":"boolean"},"status":{"readOnly":true,"type":"string","enum":["draft","active","invalid","failed","invalid_airplus"]},"created_by":{"type":"integer","readOnly":true},"created_dt":{"type":"string","readOnly":true,"format":"date-time"},"cvc_exist":{"type":"boolean","readOnly":true}},"required":["available_only_for_travel_arrangers","card_expiration_date","card_holder_name","card_name","card_number","card_type","permitted_for_cars","permitted_for_fees","permitted_for_flights","permitted_for_hotels","permitted_for_trains","related_to","usage_allowed_for"]},"AddCreditCardSchema":{"type":"object","properties":{"card_holder_name":{"type":"string","minLength":4,"maxLength":30},"card_name":{"type":"string","minLength":1,"maxLength":30},"card_number":{"type":"string","minLength":14,"maxLength":19},"card_expiration_date":{"type":"string","format":"date"},"card_type":{"type":"string","enum":["VISA","MASTER_CARD","AMERICAN_EXPRESS","UATP","DINERS","AIR_PLUS","AMEX_BTA","AMEX_BTA_GERMANY","CARTE_BLANCHE","CHINA_UNION_PAY","DISCOVER","EURO","FORBRUGSFORENINGSKORT","JAPANESE_CREDIT_BUREAU_CREDIT","MAESTRO"]},"card_data":{"$ref":"#/definitions/CreditCardData"},"status":{"type":"string","enum":["draft","active","invalid","failed","invalid_airplus"]},"allow_use_my_card":{"type":"boolean"},"related_to":{"type":"string","enum":["traveler","company"]},"used_for_package_payment":{"type":"boolean"},"default_for_fees":{"type":"boolean"},"usage_allowed_for":{"default":"invoice_profile","type":"string","enum":["country","invoice_profile"]},"available_only_for_travel_arrangers":{"type":"boolean","default":false},"permitted_for_flights":{"type":"boolean"},"permitted_for_hotels":{"type":"boolean"},"permitted_for_cars":{"type":"boolean"},"permitted_for_fees":{"type":"boolean"},"permitted_for_trains":{"type":"boolean"},"card_cvc":{"type":"string"},"user_id":{"type":"integer"},"invoice_profile_id":{"type":"integer"},"temporary_card":{"type":"boolean"},"accounting_unit":{"type":"boolean"},"internal_account":{"type":"boolean"},"cost_center":{"type":"boolean"},"department":{"type":"boolean"},"employee_id":{"type":"boolean"},"project_code":{"type":"boolean"},"purchase_order_number":{"type":"boolean"},"browser_data":{"$ref":"#/definitions/DeviceDataParameters","x-nullable":true},"timezoneOffsetUtcMinutes":{"type":"integer","x-nullable":true},"mock":{"type":"string","x-nullable":true}},"required":["card_expiration_date","card_holder_name","card_name","card_number","card_type","related_to"]},"UpdateCreditCardSchema":{"type":"object","properties":{"card_data":{"$ref":"#/definitions/CreditCardData"},"allow_use_my_card":{"type":"boolean"},"card_name":{"type":"string","minLength":1,"maxLength":30},"accounting_unit":{"type":"boolean"},"internal_account":{"type":"boolean"},"cost_center":{"type":"boolean"},"department":{"type":"boolean"},"employee_id":{"type":"boolean"},"project_code":{"type":"boolean"},"purchase_order_number":{"type":"boolean"},"default_for_fees":{"type":"boolean"},"usage_allowed_for":{"type":"string","enum":["country","invoice_profile"]},"available_only_for_travel_arrangers":{"type":"boolean"},"permitted_for_flights":{"type":"boolean"},"permitted_for_hotels":{"type":"boolean"},"permitted_for_cars":{"type":"boolean"},"permitted_for_fees":{"type":"boolean"},"permitted_for_trains":{"type":"boolean"}}},"VerifyCreditCardSchema":{"type":"object","properties":{"worldline_validated":{"type":"boolean"},"worldline_token":{"type":"string"},"worldline_method_code":{"type":"string"},"scheme_transaction_id":{"type":"string","x-nullable":true}}},"CardStatusSchema":{"type":"object","properties":{"status":{"readOnly":true,"type":"string","enum":["draft","active","invalid","failed","invalid_airplus"]},"worldline_verification_url":{"type":"string","readOnly":true}}},"CreditCardMock":{"type":"object","properties":{"mock":{"type":"string"},"id":{"type":"integer"}},"required":["id","mock"]},"AddCreditCardMocksParameters":{"type":"object","properties":{"mock":{"type":"string","x-nullable":true}},"required":["mock"]},"SendEmailParameters":{"type":"object","properties":{"template_id":{"type":"string"},"email":{"type":"string","format":"email"},"language":{"type":"string"},"cc_emails":{"type":"array","items":{"type":"string","format":"email"},"x-nullable":true},"bcc_emails":{"type":"array","items":{"type":"string","format":"email"},"x-nullable":true},"data":{"type":"object","additionalProperties":{}}},"required":["data","email","language","template_id"]},"ExpensePoliciesSchema":{"type":"object","properties":{"categories_by_country":{"type":"string"},"id":{"type":"integer","readOnly":true},"expense_approver":{"readOnly":true,"allOf":[{"$ref":"#/definitions/ExpenseUser"}]},"fallback_approver":{"readOnly":true,"allOf":[{"$ref":"#/definitions/ExpenseUser"}]},"vats_by_country":{},"mileage_rates_by_country":{},"daily_allowance_destinations_by_country":{}}},"HTTPError502":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"}}},"ExpensePoliciesParameters":{"type":"object","properties":{"categories_by_country":{"type":"string"},"id":{"type":"integer","readOnly":true},"expense_approver":{"readOnly":true,"allOf":[{"$ref":"#/definitions/ExpenseUser"}]},"fallback_approver":{"readOnly":true,"allOf":[{"$ref":"#/definitions/ExpenseUser"}]},"vats_by_country":{},"mileage_rates_by_country":{},"daily_allowance_destinations_by_country":{}}},"ExpensePolicyApproversSchema":{"type":"object","properties":{"expense_approver_id":{"type":"integer","x-nullable":true},"expense_approver":{"readOnly":true,"allOf":[{"$ref":"#/definitions/ExpenseUser"}]},"fallback_approver_id":{"type":"integer","x-nullable":true},"fallback_approver":{"readOnly":true,"allOf":[{"$ref":"#/definitions/ExpenseUser"}]}}},"ExpensePolicyApproversParameters":{"type":"object","properties":{"expense_approver_id":{"type":"integer","x-nullable":true},"expense_approver":{"readOnly":true,"allOf":[{"$ref":"#/definitions/ExpenseUser"}]},"fallback_approver_id":{"type":"integer","x-nullable":true},"fallback_approver":{"readOnly":true,"allOf":[{"$ref":"#/definitions/ExpenseUser"}]}}},"ExpenseVatRateSchema":{"type":"object","properties":{"rate":{"type":"number"},"name":{"type":"string"},"merchant_country_name":{"type":"string"},"country":{"type":"string"},"id":{"type":"integer","readOnly":true},"all_countries":{"type":"boolean","x-nullable":true},"country_code":{"type":"string","readOnly":true},"merchant_country_code":{"type":"string","readOnly":true}}},"ExpenseVatRateParameters":{"type":"object","properties":{"rate":{"type":"number"},"name":{"type":"string"},"merchant_country_name":{"type":"string"},"country":{"type":"string"},"id":{"type":"integer","readOnly":true},"all_countries":{"type":"boolean","x-nullable":true},"country_code":{"type":"string","readOnly":true},"merchant_country_code":{"type":"string","readOnly":true}}},"MileageRateSchema":{"type":"object","properties":{"id":{"type":"integer","readOnly":true},"name":{"type":"string"},"amount":{"type":"number"},"unit_of_length":{"type":"string","enum":["km","mi"]},"is_default":{"type":"boolean","x-nullable":true},"country_code":{"type":"string"},"country":{"type":"string"},"currency":{"type":"string"}}},"MileageRateParameters":{"type":"object","properties":{"id":{"type":"integer","readOnly":true},"name":{"type":"string"},"amount":{"type":"number"},"unit_of_length":{"type":"string","enum":["km","mi"]},"is_default":{"type":"boolean","x-nullable":true},"country_code":{"type":"string"},"country":{"type":"string"},"currency":{"type":"string"}}},"DailyAllowanceDestinationSchema":{"type":"object","properties":{"id":{"type":"integer","readOnly":true},"destination_name":{"type":"string"},"rates":{"readOnly":true,"type":"array","items":{"$ref":"#/definitions/DailyAllowanceRate"}},"country_code":{"type":"string"},"country":{"type":"string"}}},"DailyAllowanceDestinationParameters":{"type":"object","properties":{"id":{"type":"integer","readOnly":true},"destination_name":{"type":"string"},"rates":{"readOnly":true,"type":"array","items":{"$ref":"#/definitions/DailyAllowanceRate"}},"country_code":{"type":"string"},"country":{"type":"string"}}},"DailyAllowanceDestinationsListSchema":{"type":"object","properties":{"id":{"type":"integer","readOnly":true},"destination_name":{"type":"string","readOnly":true},"country_code":{"type":"string","readOnly":true},"country":{"type":"string","readOnly":true}}},"PaginatedDailyAllowanceDestinationSchema":{"type":"object","properties":{"id":{"type":"integer","readOnly":true},"destination_name":{"type":"string"},"rates":{"readOnly":true,"type":"array","items":{"$ref":"#/definitions/DailyAllowanceRate"}},"country_code":{"type":"string"},"country":{"type":"string"}}},"DailyAllowanceRateSchema":{"type":"object","properties":{"id":{"type":"integer","readOnly":true},"name":{"type":"string"},"destination_id":{"type":"integer","x-nullable":true},"amount":{"type":"number"},"currency":{"type":"string"}}},"DailyAllowanceRateParameters":{"type":"object","properties":{"id":{"type":"integer","readOnly":true},"name":{"type":"string"},"destination_id":{"type":"integer","x-nullable":true},"amount":{"type":"number"},"currency":{"type":"string"}}},"GetExpenseReportsSchema":{"type":"object","properties":{"id":{"type":"integer"},"name":{"type":"string"},"status":{"readOnly":true,"type":"string","enum":["draft","submitted","approved","rejected"]},"start_date":{"type":"string","x-nullable":true,"format":"date"},"end_date":{"type":"string","x-nullable":true,"format":"date"},"trip_name":{"type":"string","x-nullable":true},"description":{"type":"string","x-nullable":true},"submitter_id":{"type":"integer","x-nullable":true},"expenses":{"type":"array","items":{"$ref":"#/definitions/Expenses"}},"created_dt":{"type":"string","readOnly":true,"format":"date-time"},"last_modified_dt":{"type":"string","readOnly":true,"format":"date-time"},"submitter":{"readOnly":true,"allOf":[{"$ref":"#/definitions/ExpenseUser"}]},"approver":{"readOnly":true,"allOf":[{"$ref":"#/definitions/ExpenseUser"}]},"last_status_modified_dt":{"type":"string","readOnly":true,"format":"date-time"},"report_amount":{"readOnly":true},"report_vat_amount":{"readOnly":true},"amount_excl_vat":{"readOnly":true},"amount_incl_vat":{"readOnly":true},"report_reimbursable_amount":{"readOnly":true},"rejecter":{"readOnly":true,"allOf":[{"$ref":"#/definitions/ExpenseUser"}]},"reasons":{"type":"array","readOnly":true,"items":{"$ref":"#/definitions/Rejections"}},"currency":{"type":"string","readOnly":true}}},"AddExpenseReportsParameters":{"type":"object","properties":{"id":{"type":"integer"},"name":{"type":"string"},"status":{"readOnly":true,"type":"string","enum":["draft","submitted","approved","rejected"]},"start_date":{"type":"string","x-nullable":true,"format":"date"},"end_date":{"type":"string","x-nullable":true,"format":"date"},"trip_name":{"type":"string","x-nullable":true},"description":{"type":"string","x-nullable":true},"submitter_id":{"type":"integer","x-nullable":true},"expenses":{"type":"string"},"created_dt":{"type":"string","readOnly":true,"format":"date-time"},"last_modified_dt":{"type":"string","readOnly":true,"format":"date-time"},"submitter":{"type":"string","readOnly":true},"approver":{"type":"string","readOnly":true},"last_status_modified_dt":{"type":"string","readOnly":true,"format":"date-time"},"report_amount":{"readOnly":true},"report_vat_amount":{"readOnly":true},"amount_excl_vat":{"readOnly":true},"amount_incl_vat":{"readOnly":true},"report_reimbursable_amount":{"readOnly":true},"rejecter":{"type":"string","readOnly":true},"reasons":{"type":"string","readOnly":true},"currency":{"type":"string","readOnly":true}}},"AddRejectReasonParameters":{"type":"object","properties":{"reason":{"type":"string"}}},"ExpenseReportExportFiltersSchema":{"type":"object","properties":{"start_date":{"type":"string","format":"date","x-nullable":true},"end_date":{"type":"string","format":"date","x-nullable":true},"invoice_profiles":{"type":"array","items":{"type":"integer"},"x-nullable":true},"submitters":{"type":"array","items":{"type":"integer"},"x-nullable":true},"statuses":{"type":"array","items":{"type":"string","enum":["draft","submitted","approved","rejected"]},"x-nullable":true},"assigned_to_me":{"type":"boolean","x-nullable":true},"search":{"type":"string","x-nullable":true}}},"UploadedFileSchema":{"type":"object","properties":{"original_file_url":{"type":"string","nullable":false},"preview_file_url":{"type":"string","nullable":true,"x-nullable":true},"thumbnail_file_url":{"type":"string","nullable":true,"x-nullable":true}}},"QuickExpenseParameters":{"type":"object","properties":{"submitter_id":{"type":"integer","x-nullable":true},"file":{},"reimbursable":{"type":"boolean"}}},"ExpensesSchema":{"type":"object","properties":{"id":{"type":"integer","readOnly":true},"expense_type":{"type":"string","enum":["standard","mileage","daily_allowance"]},"date":{"type":"string","x-nullable":true,"format":"date"},"created_dt":{"type":"string","readOnly":true,"format":"date-time"},"amount":{"type":"number","x-nullable":true},"attendees":{"type":"array","items":{"$ref":"#/definitions/ExpenseAttendee"}},"expense_status":{"readOnly":true,"type":"string","enum":["open","submitted","approved"]},"description":{"type":"string","x-nullable":true},"is_travel_related":{"type":"boolean"},"submitter":{"readOnly":true,"allOf":[{"$ref":"#/definitions/ExpenseUser"}]},"reimbursable":{"type":"boolean"},"report_id":{"type":"integer","x-nullable":true},"submitter_id":{"type":"integer","x-nullable":true},"expense_report":{"type":"string","x-nullable":true},"report_amount":{"readOnly":true},"currency":{"type":"string"},"file_data":{"$ref":"#/definitions/FileData","x-nullable":true},"merchant":{"type":"string"},"vat_rate_id":{"type":"string"},"vat_rate":{"type":"string","readOnly":true},"merchant_country_name":{"type":"string"},"merchant_country_code":{"type":"string"},"category":{"type":"string"},"ocr_results":{"type":"string"},"ocr_status":{"type":"string","readOnly":true},"destination_points":{"type":"string"},"distance":{"type":"string"},"calculated_distance":{"type":"string"},"unit_of_length":{"type":"string"},"show_calculated_distance":{"type":"string"},"mileage_rate_id":{"type":"string"},"mileage_rate":{"type":"string","readOnly":true},"start_date":{"type":"string"},"start_time":{"type":"string"},"end_date":{"type":"string"},"end_time":{"type":"string"},"destination_id":{"type":"string"},"destination":{"type":"string","readOnly":true},"daily_allowance_rates":{"type":"string"}}},"AddExpensesParameters":{"type":"object","properties":{"id":{"type":"integer","readOnly":true},"expense_type":{"type":"string","enum":["standard","mileage","daily_allowance"]},"date":{"type":"string","x-nullable":true,"format":"date"},"created_dt":{"type":"string","readOnly":true,"format":"date-time"},"amount":{"type":"number","x-nullable":true},"attendees":{"type":"array","items":{"$ref":"#/definitions/ExpenseAttendee"}},"expense_status":{"readOnly":true,"type":"string","enum":["open","submitted","approved"]},"description":{"type":"string","x-nullable":true},"is_travel_related":{"type":"boolean"},"submitter":{"readOnly":true,"allOf":[{"$ref":"#/definitions/ExpenseUser"}]},"reimbursable":{"type":"boolean"},"report_id":{"type":"integer","x-nullable":true},"submitter_id":{"type":"integer","x-nullable":true},"expense_report":{"type":"string","x-nullable":true},"report_amount":{"readOnly":true},"currency":{"type":"string"},"file_data":{"$ref":"#/definitions/FileData","x-nullable":true},"merchant":{"type":"string"},"vat_rate_id":{"type":"integer","x-nullable":true},"vat_rate":{"type":"string","readOnly":true},"merchant_country_name":{"type":"string"},"merchant_country_code":{"type":"string"},"category":{"x-nullable":true},"ocr_results":{"type":"string"},"ocr_status":{"type":"string","readOnly":true},"destination_points":{"type":"string"},"distance":{"type":"string"},"calculated_distance":{"type":"string"},"unit_of_length":{"type":"string"},"show_calculated_distance":{"type":"string"},"mileage_rate_id":{"type":"string"},"mileage_rate":{"type":"string","readOnly":true},"start_date":{"type":"string"},"start_time":{"type":"string"},"end_date":{"type":"string"},"end_time":{"type":"string"},"destination_id":{"type":"string"},"destination":{"type":"string","readOnly":true},"daily_allowance_rates":{"type":"string"}}},"OCRResultsSchema":{"type":"object","properties":{"amount":{"type":"number"},"currency":{"type":"string"},"date":{"type":"string"},"merchant":{"type":"string"},"ocr_status":{"readOnly":true,"type":"string","enum":["processing","analysed","error"]}}},"ExpensesExportFiltersSchema":{"type":"object","properties":{"start_date":{"type":"string","format":"date","x-nullable":true},"end_date":{"type":"string","format":"date","x-nullable":true},"expense_types":{"type":"array","items":{"x-nullable":true,"type":"string","enum":["standard","mileage","daily_allowance"]},"x-nullable":true},"expense_statuses":{"type":"array","items":{"type":"string","enum":["open","submitted","approved"]},"x-nullable":true},"submitters":{"type":"array","items":{"type":"integer"},"x-nullable":true},"attendees":{"type":"array","items":{"type":"integer"},"x-nullable":true},"unassigned":{"type":"boolean","x-nullable":true},"search":{"type":"string","x-nullable":true},"reimbursable_types":{"type":"array","items":{"type":"boolean"},"x-nullable":true}}},"FeePayAgainRequestSchema":{"type":"object","properties":{"credit_card_id":{"type":"integer","x-nullable":true},"virtual_payment_automation_id":{"type":"integer","x-nullable":true},"browser_data":{"$ref":"#/definitions/DeviceDataParameters","x-nullable":true},"timezoneOffsetUtcMinutes":{"type":"integer","x-nullable":true}}},"PaymentMethodsSchema":{"type":"object","properties":{"credit_cards":{"type":"array","items":{"$ref":"#/definitions/PaymentMethodCreditCard"}},"virtual_payment_automations":{"type":"array","items":{"$ref":"#/definitions/PaymentMethodVPA"}}}},"WorldlineOrderAuthorizeSchema":{"type":"object","properties":{"worldline_validated":{"type":"boolean"},"trip_id":{"type":"integer"},"card_cvc":{"type":"integer"}},"required":["worldline_validated"]},"BaseCompanyFeeStatusSchema":{"type":"object","properties":{"status":{"type":"string","enum":["DRAFT","HOLD","HOLD_FAILED","HOLD_CANCEL_PENDING","HOLD_CANCELED","HOLD_CANCEL_FAILED","CAPTURED","CAPTURE_PENDING","CAPTURE_FAILED","PARTIAL_REFUND","REFUNDED","REFUND_PENDING","REFUND_FAILED","REDIRECTED","VALIDATING"]},"redirect_url":{"readOnly":true}},"required":["status"]},"SupportRequestFreshDeskResponseSchema":{"type":"object","properties":{"company_id":{"type":"integer"},"company_name":{"type":"string"}}},"AirlineDiscountRewardsSchema":{"type":"object","properties":{"id":{"type":"integer","readOnly":true},"reward_program":{"readOnly":true,"allOf":[{"$ref":"#/definitions/FlightRewardProgram"}]},"airline_display":{"readOnly":true,"allOf":[{"$ref":"#/definitions/RewardAirlineBase"}]},"is_program_exists":{"readOnly":true},"disabled_reason":{"readOnly":true}}},"RewardProgramFieldListSchema":{"type":"object","properties":{"id":{"type":"integer","readOnly":true},"name":{"type":"string","readOnly":true},"label":{"type":"string","readOnly":true},"hint":{"type":"string","readOnly":true},"info":{"type":"string","readOnly":true},"one_of_fields_is_required":{"type":"boolean","readOnly":true},"flight_program_form_fields_list":{"readOnly":true},"title":{"type":"string","readOnly":true},"title_text":{"type":"string","readOnly":true}}},"CompanyAirlineRewardProgramFieldsListSchema":{"type":"object","properties":{"id":{"type":"integer","readOnly":true},"airline_reward":{"readOnly":true,"allOf":[{"$ref":"#/definitions/AirlineDiscountRewards"}]},"reward_program_level":{"readOnly":true,"allOf":[{"$ref":"#/definitions/FlightRewardProgramLevelBase"}]},"fields":{"readOnly":true}}},"UpdateCompanyAirlineRewardProgramSchema":{"type":"object","properties":{"company_reward_program_id":{"type":"integer"},"reward_program_level_id":{"type":"integer"},"fields":{"type":"array","items":{"$ref":"#/definitions/CompanyAirlineRewardProgramFieldUpdate"}}},"required":["company_reward_program_id"]},"CreateCompanyAirlineRewardProgramListSchema":{"type":"object","properties":{"airline_reward_id":{"type":"integer"},"flight_reward_program_field_id":{"type":"integer"},"field_value":{"type":"string"},"reward_program_level_id":{"type":"integer"}},"required":["airline_reward_id","field_value","flight_reward_program_field_id"]},"TaskResultsResponseSchema":{"type":"object","properties":{"status":{"type":"string","enum":["sent","failed"]},"result":{"type":"object","additionalProperties":{},"x-nullable":true}},"required":["result","status"]},"TaskResponseSchema":{"type":"object","properties":{"job_id":{"type":"string","x-nullable":true},"status":{"type":"string","enum":["sent","failed"]}},"required":["job_id","status"]},"SeatMapRequestSchema":{"type":"object","properties":{"fare_group_key":{"type":"string"},"flight_option_keys":{"type":"array","minItems":1,"items":{"type":"string"}},"users_id":{"type":"array","minItems":1,"maxItems":8,"items":{"type":"integer"}},"flight_identifier":{"type":"string","x-nullable":true},"search_id":{"type":"integer","x-nullable":true},"booking_segment_id":{"type":"integer","x-nullable":true}},"required":["fare_group_key","flight_option_keys","users_id"]},"SelectedSeatDeleteRequestSchema":{"type":"object","properties":{"seat_keys":{"type":"array","minItems":1,"items":{"type":"string"}}},"required":["seat_keys"]},"SelectedSeatAddRequestSchema":{"type":"object","properties":{"seats":{"type":"array","items":{"$ref":"#/definitions/SelectedSeatSelectionRequest"}}},"required":["seats"]},"FareRulesRequestSchema":{"type":"object","properties":{"fare_group_key":{"type":"string"},"search_id":{"type":"integer","x-nullable":true}},"required":["fare_group_key"]},"GroupResultsResponseSchema":{"type":"object","properties":{"status":{"type":"string","enum":["sent","failed"]},"result":{"type":"array","items":{"$ref":"#/definitions/TaskWithErrorResponse"},"x-nullable":true}},"required":["result","status"]},"PricingInformationRequestSchema":{"type":"object","properties":{"fare_group_key":{"type":"string"},"flight_option_keys":{"type":"array","items":{"type":"string"}},"flight_identifier":{"type":"string"},"search_id":{"type":"integer"},"user_id":{"type":"integer"},"fare_families":{"type":"boolean","x-nullable":true}},"required":["fare_group_key","flight_identifier","flight_option_keys","search_id","user_id"]},"HomepageSchema":{"type":"object","properties":{"is_trip_approver":{"type":"boolean"},"is_pre_trip_green_light_mode":{"type":"boolean"},"recent_searches":{"type":"array","items":{"$ref":"#/definitions/RecentSearch"}},"waiting_to_approve":{"type":"array","items":{"$ref":"#/definitions/PreTripRequest"}},"pre_trip_requests":{"type":"array","items":{"$ref":"#/definitions/PreTripRequest"}},"number_of_waiting_trip_approval":{"type":"integer"},"total_number_of_trip_approval":{"type":"integer"},"total_number_of_pre_trip_approval":{"type":"integer"},"number_of_waiting_for_user_submission":{"type":"integer"},"has_missing_company_details":{"type":"boolean"},"has_missing_profile_details":{"type":"boolean"},"has_missing_or_incorrect_report_settings":{"type":"boolean"},"is_passport_expired":{"type":"boolean"},"is_national_ID_expired":{"type":"boolean"},"number_of_failed_fees":{"type":"integer"},"expense_reports_waiting_to_approve":{"type":"array","items":{"$ref":"#/definitions/GetExpenseReports"}}}},"CompanyHotelRewardProgramSchema":{"type":"object","properties":{"id":{"type":"integer","readOnly":true},"sabre_rate_access_code":{"type":"string"},"display_name":{"type":"string"},"description":{"type":"string"}}},"CreateCompanyHotelRewardProgramSchema":{"type":"object","properties":{"sabre_rate_access_code":{"type":"string","pattern":"^[A-Z0-9]{3}$"},"display_name":{"type":"string"},"description":{"type":"string","x-nullable":true}},"required":["display_name","sabre_rate_access_code"]},"HotelsSearchResultSchema":{"type":"object","properties":{"code":{"type":"string"},"label":{"type":"string"},"location_type":{"type":"string","enum":["home","office","client","hotel","airport","other","city","car_rent_agency","rail","rail_group"]},"latitude":{"type":"string"},"longitude":{"type":"string"},"id":{"type":"string","x-nullable":true}}},"CitySearchResultSchema":{"type":"object","properties":{"code":{"type":"string"},"label":{"type":"string"},"location_type":{"type":"string","enum":["home","office","client","hotel","airport","other","city","car_rent_agency","rail","rail_group"]},"latitude":{"type":"string"},"longitude":{"type":"string"},"id":{"type":"string","x-nullable":true},"country_name":{"type":"string"},"country_iso":{"type":"string"},"city_name":{"type":"string"}}},"BaseLoyaltyProgramSchema":{"type":"object","properties":{"id":{"type":"integer","readOnly":true},"loyalty_program_name":{"type":"string","readOnly":true},"loyalty_program_logo":{"type":"string","readOnly":true},"loyalty_program_type":{"type":"string","enum":["most_popular","also_popular","other"]},"hotel_chain":{"type":"array","items":{"$ref":"#/definitions/HotelChains"}}}},"HotelInfoSchema":{"type":"object","properties":{"hotel":{"$ref":"#/definitions/HotelWithDescriptions"},"liked_users":{"type":"array","items":{"$ref":"#/definitions/BaseUser"}}}},"BaseHotelSchema":{"type":"object","properties":{"vendor_hotel_id":{"type":"string","x-nullable":true},"name":{"type":"string"},"address":{"type":"string","x-nullable":true},"city":{"type":"string","x-nullable":true},"country_code":{"type":"string"},"description":{"type":"string","x-nullable":true},"email":{"type":"string","x-nullable":true},"property_amenities":{"type":"string","x-nullable":true},"room_amenities":{"type":"string","x-nullable":true},"thumbnails":{"type":"string","x-nullable":true},"checkin_time":{"type":"string","x-nullable":true},"checkout_time":{"type":"string","x-nullable":true},"rating":{"type":"string","x-nullable":true},"lat":{"type":"string","x-nullable":true},"long":{"type":"string","x-nullable":true},"star_rating":{"type":"string","x-nullable":true}}},"UpdateHotelEmailSchema":{"type":"object","properties":{"email":{"type":"string","format":"email","example":"hotel@example.com"}},"required":["email"]},"BasicHotelRateSchema":{"type":"object","properties":{"rate_key":{"type":"string"},"room_description":{"type":"string"},"room_amenities":{"type":"array","items":{"type":"string"}},"non_refundable":{"type":"boolean"},"cancel_by":{"type":"string","format":"date-time"},"cancellation_policy":{"readOnly":true},"pay_at_checkout":{"type":"boolean"},"total_price":{"type":"number","x-nullable":true},"total_tax":{"type":"number","x-nullable":true},"average_per_night":{"type":"number","x-nullable":true},"original_currency":{"type":"string"},"original_total_price":{"type":"number","x-nullable":true},"original_total_tax":{"type":"number","x-nullable":true},"local_currency":{"type":"string"},"in_policy":{"type":"boolean"},"policy_deviations":{"type":"array","items":{"$ref":"#/definitions/PolicyDeviation"},"x-nullable":true},"client_preferred":{"type":"boolean"},"tmc_preferred":{"type":"boolean"},"raw_data":{"type":"object","additionalProperties":{}},"res_id":{"type":"string","readOnly":true},"cancellation_due_date":{},"loyalty_card_allowed":{"type":"boolean"},"loyalty_programs":{"type":"array","items":{"type":"object","additionalProperties":{}}},"rate_group_name":{"type":"string"},"total_price_billed":{"readOnly":true},"discounts":{"type":"array","items":{"type":"object","additionalProperties":{}}},"special_request_allowed":{"readOnly":true},"special_request_length":{"readOnly":true,"x-nullable":true},"special_request_type":{"readOnly":true,"x-nullable":true},"vpa_accepted":{}}},"BasicRateDetailsSchema":{"type":"object","properties":{"additional_rate_information":{"type":"string"},"cancellation_policy":{"readOnly":true},"cancellation_policy_known":{"type":"boolean"},"change_during_stay":{"type":"boolean"},"cancel_by":{"type":"string"},"commission":{"type":"object","additionalProperties":{}},"rate_description":{"type":"string"},"taxes":{"type":"number"},"payment_cards_accepted":{"type":"array","items":{"type":"object","additionalProperties":{}}},"important_info":{"type":"string"},"payment_details":{"type":"string"},"room_description":{"type":"string"},"tax_details":{"type":"array","items":{"type":"string"}},"check_in_instructions":{"type":"string"}}},"CompanyIndustrySchema":{"type":"object","properties":{"industries":{"type":"array","items":{"type":"string"}}}},"DetailedPaymentTripSchema":{"type":"object","properties":{"id":{"type":"integer","readOnly":true},"name":{"type":"string","x-nullable":true},"status":{"readOnly":true,"type":"string","enum":["draft","draft_by_support","reverted","sending_to_approval","waiting_approval","canceled","not_approved","approved","waiting_for_user_submission","booked","booking","price_changed","pre_trip_green_light"]},"flights_comments":{"type":"string","x-nullable":true},"hotels_comments":{"type":"string","x-nullable":true},"cars_comments":{"type":"string","x-nullable":true},"products":{"readOnly":true,"type":"array","items":{"$ref":"#/definitions/BaseProduct"}},"travelers_count":{"readOnly":true},"start_date":{"readOnly":true},"end_date":{"readOnly":true},"support_requests":{"readOnly":true},"pre_trip_request_id":{"type":"integer"},"created_by":{"type":"integer","readOnly":true},"created_by_user":{"$ref":"#/definitions/MinimalUser"},"created_dt":{"type":"string","readOnly":true,"format":"date-time"},"travelers":{"readOnly":true,"type":"array","items":{"$ref":"#/definitions/DetailedUser"}},"approval_statuses":{"readOnly":true,"type":"array","items":{"$ref":"#/definitions/TripApprovalStatus"}},"cancellation_date":{"type":"string"},"report_settings":{},"total_cost":{"type":"number","readOnly":true},"purpose":{"type":"array","readOnly":true,"items":{"type":"string"}},"purpose_list":{"readOnly":true,"type":"array","items":{"$ref":"#/definitions/PurposeList1"}},"parent_trip_id":{"type":"integer","readOnly":true},"fees":{"type":"string","readOnly":true},"is_merged":{"readOnly":true}}},"InvoicesByUser":{"type":"object","properties":{"traveler":{"$ref":"#/definitions/BaseUser"},"invoices":{"$ref":"#/definitions/Invoice"},"products":{"type":"array","items":{"type":"string","enum":["flights","hotels","cars","rails"]}}}},"BaseLocationSchema":{"type":"object","properties":{"id":{"type":"integer","readOnly":true},"address":{"type":"string","x-nullable":true},"name":{"type":"string","x-nullable":true},"location_type":{"type":"string","enum":["home","office","client","hotel","airport","other","city","car_rent_agency","rail","rail_group"]},"lat":{"type":"number","x-nullable":true},"long":{"type":"number","x-nullable":true},"location_data":{"type":"string","x-nullable":true},"visibility":{"readOnly":true,"type":"string","enum":["public","private","hidden"]},"created_dt":{"type":"string","readOnly":true,"format":"date-time"},"country":{"type":"object","additionalProperties":{}},"short_name":{"type":"string","readOnly":true},"main_approver_id":{"type":"integer","x-nullable":true},"airport_name":{"type":"string","readOnly":true},"country_name":{"readOnly":true}}},"DetailedLocationSchema":{"type":"object","properties":{"id":{"type":"integer","readOnly":true},"address":{"type":"string","x-nullable":true},"name":{"type":"string","x-nullable":true},"location_type":{"type":"string","enum":["home","office","client","hotel","airport","other","city","car_rent_agency","rail","rail_group"]},"lat":{"type":"number","x-nullable":true},"long":{"type":"number","x-nullable":true},"location_data":{"type":"string","x-nullable":true},"visibility":{"readOnly":true,"type":"string","enum":["public","private","hidden"]},"created_dt":{"type":"string","readOnly":true,"format":"date-time"},"country":{"type":"object","additionalProperties":{}},"short_name":{"type":"string","readOnly":true},"main_approver_id":{"type":"integer","x-nullable":true},"airport_name":{"type":"string","readOnly":true},"country_name":{"readOnly":true},"description":{"type":"string","x-nullable":true},"main_contact_phone":{"type":"string","x-nullable":true},"main_contact_name":{"type":"string","x-nullable":true},"main_contact_email":{"type":"string","x-nullable":true},"main_approver":{"readOnly":true,"allOf":[{"$ref":"#/definitions/BaseUser"}]}}},"LocationListParameters":{"type":"object","properties":{"location_type":{"type":"string","enum":["home","office","client","hotel","airport","other","city","car_rent_agency","rail","rail_group"]},"visibility":{"type":"string","enum":["public","private","hidden"]},"main_approver_id":{"type":"integer","x-nullable":true},"country":{"type":"object","additionalProperties":{}},"country_name":{},"name":{"type":"string","x-nullable":true},"address":{"type":"string","x-nullable":true},"description":{"type":"string","x-nullable":true},"location_data":{"$ref":"#/definitions/LocationDataField"},"lat":{"type":"number"},"long":{"type":"number"},"main_approver":{"type":"string","x-nullable":true},"main_contact_email":{"type":"string","x-nullable":true},"main_contact_name":{"type":"string","x-nullable":true},"main_contact_phone":{"type":"string","x-nullable":true}},"required":["lat","location_data","location_type","long"]},"BaseOfficeSchema":{"type":"object","properties":{"id":{"type":"integer","readOnly":true},"name":{"type":"string"},"address":{"type":"string"},"latitude":{"type":"number"},"longitude":{"type":"number"},"contact_name":{"type":"string"},"contact_email":{"type":"string","format":"email","minLength":1,"maxLength":241},"contact_phone":{},"description":{"type":"string","x-nullable":true},"office_approver_id":{"type":"integer","x-nullable":true},"office_approver":{"readOnly":true,"allOf":[{"$ref":"#/definitions/BaseUser"}]},"office_type":{"type":"string","enum":["office","client","other"]},"created_dt":{"type":"string","format":"date-time","readOnly":true},"group_id":{"type":"integer","x-nullable":true},"country_code":{},"city_name":{},"has_policy":{"type":"boolean","readOnly":true},"state_name":{},"users_count":{"readOnly":true}},"required":["address","latitude","longitude","name","office_type"]},"AddOfficeParameters":{"type":"object","properties":{"name":{"type":"string"},"address":{"type":"string"},"city_name":{"type":"string"},"country_code":{"type":"string"},"state_name":{"type":"string","x-nullable":true},"office_type":{"type":"string","enum":["office","client","other"]},"latitude":{"type":"number"},"longitude":{"type":"number"},"office_approver_id":{"type":"integer"},"description":{"type":"string"},"contact_name":{"type":"string"},"contact_phone":{},"contact_email":{"type":"string","format":"email","minLength":1,"maxLength":241}}},"PackageResponseSchema":{"type":"object","properties":{"id":{"type":"integer","readOnly":true},"status":{"type":"string","enum":["active_sell","pending","stop_sell","draft","retired"]},"name":{"type":"string"},"feature_scope":{"type":"string","enum":["TRAVEL_ONLY","FREE","TRAVEL_EXPENSE"]},"comments":{"type":"string","x-nullable":true},"previous_package_id":{"type":"integer","x-nullable":true},"migrate_clients":{"type":"boolean"},"start_date":{"type":"string","format":"date"},"stop_sell_date":{"type":"string","format":"date"},"original_package_id":{"type":"integer","x-nullable":true},"replaced_by_id":{"readOnly":true},"pricing_models":{"type":"array","items":{"$ref":"#/definitions/BasePricingModel"}}},"required":["name"]},"DowngradePackageConsultantResponseSchema":{"type":"object","properties":{"status":{"type":"string","description":"success or failed"},"message":{"type":"string"},"recipient":{"$ref":"#/definitions/DowngradePackageConsultantRecipient"}},"required":["message","recipient","status"]},"DowngradePackageConsultantEmailSchema":{"type":"object","properties":{"notes":{"type":"string","maxLength":500,"description":"Optional notes for the Customer Success Consultant","x-nullable":true},"pos_details":{"type":"array","minItems":1,"description":"List of POS details for the downgrade","items":{"type":"object","additionalProperties":{"type":"string"}}}},"required":["pos_details"]},"BaseTravelPolicySchema":{"type":"object","properties":{"group_id":{"type":"integer"},"group":{"$ref":"#/definitions/Group"}}},"TravelPolicySchema":{"type":"object","properties":{"group_id":{"type":"integer"},"group":{"readOnly":true,"allOf":[{"$ref":"#/definitions/Group"}]},"flight_policy_data":{},"hotel_policy_data":{},"car_policy_data":{},"train_policy_data":{},"pre_trip_policy_data":{},"approval_policy":{"type":"string","enum":["always","never","when_out_of_policy"]},"approval_flow":{},"currency_code":{"type":"string"},"rules_users":{"readOnly":true},"users":{"readOnly":true},"user_ids":{"type":"array","items":{"type":"integer"}},"approvers":{"readOnly":true},"approver_ids":{"type":"array","items":{"type":"integer"}},"approver_selection_type":{},"pre_trip_custom_approvers":{"readOnly":true},"pre_trip_custom_approver_ids":{"type":"array","items":{"type":"integer"}},"pre_trip_fallback_approvers":{"readOnly":true},"pre_trip_fallback_approver_ids":{"type":"array","items":{"type":"integer"}},"company_approvers":{"readOnly":true}}},"TravelPolicySchemaParameters":{"type":"object","properties":{"group_id":{"type":"integer"},"group":{"readOnly":true,"allOf":[{"$ref":"#/definitions/Group"}]},"flight_policy_data":{},"hotel_policy_data":{},"car_policy_data":{},"train_policy_data":{},"pre_trip_policy_data":{},"approval_policy":{"type":"string","enum":["always","never","when_out_of_policy"]},"approval_flow":{},"currency_code":{"type":"string"},"rules_users":{"readOnly":true},"users":{"readOnly":true},"user_ids":{"type":"array","items":{"type":"integer"}},"approvers":{"readOnly":true},"approver_ids":{"type":"array","items":{"type":"integer"}},"approver_selection_type":{},"pre_trip_custom_approvers":{"readOnly":true},"pre_trip_custom_approver_ids":{"type":"array","items":{"type":"integer"}},"pre_trip_fallback_approvers":{"readOnly":true},"pre_trip_fallback_approver_ids":{"type":"array","items":{"type":"integer"}},"company_approvers":{"readOnly":true}}},"TravelPolicyCloneSchemaParameters":{"type":"object","properties":{"source_group_id":{"type":"integer","description":"Optional. Company group if omitted."},"target_group_id":{"type":"integer","description":"Optional. Create new group if omitted."},"target_group_name":{"type":"string","description":"If target_group_id not provided"},"user_ids":{"type":"array","description":"UserIDs to attach to custom policy","items":{"type":"integer"}}}},"BaseUserSchema":{"type":"object","properties":{"id":{"type":"integer","readOnly":true},"first_name":{"type":"string","pattern":"^[a-zA-Z\\s-]+$"},"middle_name":{"type":"string","pattern":"^[a-zA-Z\\s-]+$","x-nullable":true},"last_name":{"type":"string","minLength":2,"pattern":"^[a-zA-Z\\s-]+$"},"email":{"type":"string"},"status":{"readOnly":true,"type":"string","enum":["CREATED","INVITED","REGISTERED","DEACTIVATED"]},"image_url":{"type":"string","x-nullable":true},"auto_select_self":{"type":"boolean"},"bookable":{"type":"boolean","readOnly":true},"language_code":{"type":"string","x-nullable":true},"currency_code":{"type":"string"},"invoice_profile":{"$ref":"#/definitions/UserInvoiceProfile"},"mock_enabled":{"type":"boolean","readOnly":true},"tokenizer_mock_enabled":{"type":"boolean","readOnly":true},"worldline_mock_enabled":{"type":"boolean","readOnly":true},"flight_search_mock_enabled":{"type":"boolean","readOnly":true},"ob_fee_mock":{"type":"string","readOnly":true},"deleted":{"type":"boolean","readOnly":true},"deactivate_at":{"type":"string","format":"date","x-nullable":true},"traveler_profile":{"$ref":"#/definitions/TravelerPersonal"},"rail_cards":{"type":"array","items":{"$ref":"#/definitions/DetailedTravelerRailCard"}}},"required":["first_name","last_name"]},"UserIdsParams":{"type":"object","properties":{"user_ids":{"type":"array","items":{"type":"integer"}}}},"UserPolicySchema":{"type":"object","properties":{"user":{"$ref":"#/definitions/BaseUser"},"user_role":{"type":"string","enum":["employee","manager","executive"]},"ignore_approval":{"type":"boolean"},"policy":{"$ref":"#/definitions/TravelPolicy"},"actual_approvers":{"type":"array","items":{"type":"array","items":{"$ref":"#/definitions/BaseUser"}}},"pre_trip_actual_approvers":{"type":"array","items":{"type":"array","items":{"$ref":"#/definitions/BaseUser"}}}}},"PreTripResponseSchema":{"type":"object","properties":{"id":{"type":"integer","readOnly":true},"name":{"type":"string"},"route":{},"purpose":{"type":"array","items":{"type":"string"}},"purpose_other":{"type":"string","x-nullable":true},"notes":{"type":"string","x-nullable":true},"travelers":{"readOnly":true,"type":"array","items":{"$ref":"#/definitions/BaseUser"}},"pre_trip_approvals":{"readOnly":true,"type":"array","items":{"$ref":"#/definitions/BaseApproval"}},"status":{"readOnly":true,"type":"string","enum":["created","waiting_approval","approved","not_approved","approved_by_support"]},"created_dt":{"type":"string","format":"date-time","readOnly":true}}},"PreTripRequestSchema":{"type":"object","properties":{"id":{"type":"integer","readOnly":true},"name":{"type":"string"},"route":{},"purpose":{"type":"array","maxItems":1,"items":{"type":"string"}},"purpose_other":{"type":"string","x-nullable":true},"notes":{"type":"string","x-nullable":true},"travelers":{"readOnly":true,"type":"array","items":{"$ref":"#/definitions/BaseUser"}},"pre_trip_approvals":{"readOnly":true,"type":"array","items":{"$ref":"#/definitions/BaseApproval"}},"status":{"readOnly":true,"type":"string","enum":["created","waiting_approval","approved","not_approved","approved_by_support"]},"created_dt":{"type":"string","format":"date-time","readOnly":true}}},"PreTripRequestParameter":{"type":"object","properties":{"id":{"type":"integer","readOnly":true},"name":{"type":"string","x-nullable":true},"route":{},"purpose":{"type":"array","maxItems":1,"items":{"type":"string"}},"purpose_other":{"type":"string","x-nullable":true},"notes":{"type":"string","x-nullable":true},"travelers":{"readOnly":true,"type":"array","items":{"$ref":"#/definitions/BaseUser"}},"pre_trip_approvals":{"readOnly":true,"type":"array","items":{"$ref":"#/definitions/BaseApproval"}},"status":{"readOnly":true,"type":"string","enum":["created","waiting_approval","approved","not_approved","approved_by_support"]},"created_dt":{"type":"string","format":"date-time","readOnly":true},"travelers_ids":{"type":"array","items":{"type":"integer"}}}},"PreTripRequestNameParams":{"type":"object","properties":{"name":{"type":"string","x-nullable":true}}},"PreTripRequestManageParams":{"type":"object","properties":{"message":{"type":"string"},"status":{"type":"string","enum":["created","waiting_approval","approved","not_approved","approved_by_support"]}}},"PreTripsByApproverSchema":{"type":"object","properties":{"approved":{"type":"array","items":{"$ref":"#/definitions/PreTripRequest"}},"waiting_approval":{"type":"array","items":{"$ref":"#/definitions/PreTripRequest"}}}},"RailCardListResponseSchema":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"name_en":{"type":"string"},"status":{"type":"string","enum":["active","archived"]},"vendor":{"type":"string","enum":["DB","DB_BIBE","ATOC","SNCF"]},"vendor_code":{"type":"string"},"card_id":{"type":"string"},"is_number_required":{"type":"boolean"},"number_length":{"type":"integer","x-nullable":true},"number_prefix":{"type":"string","x-nullable":true},"number_validation_regex":{"type":"string","x-nullable":true},"validation_algorithm":{"type":"string","x-nullable":true}}},"CreateRailCardsParameters":{"type":"object","properties":{"vendor":{"type":"string","enum":["DB","DB_BIBE","ATOC","SNCF"]}}},"RailsLocationsSearchResponseSchema":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"type":{"type":"string","enum":["STATION","STATION_GROUP","CITY","UNKNOWN"]},"country_code":{"type":"string","x-nullable":true},"country_name":{"type":"string","x-nullable":true}}},"DetailedSearchResultsSchema":{"type":"object","properties":{"id":{"type":"integer","readOnly":true},"status":{"type":"string","enum":["created","sent","success","failed"]},"price_metadata":{"type":"object","readOnly":true,"additionalProperties":{}},"co2_metadata":{"type":"object","readOnly":true,"additionalProperties":{}},"flight_results":{"type":"object","readOnly":true,"additionalProperties":{}},"hotel_results":{"type":"object","readOnly":true,"additionalProperties":{}},"car_results":{"type":"object","readOnly":true,"additionalProperties":{}},"rails_results":{"type":"object","readOnly":true,"additionalProperties":{}}}},"RailsSearchInwardParameters":{"type":"object","properties":{"search_id":{"type":"string"},"outward_journey_id":{"type":"string"},"outward_alternative_ids":{"type":"array","items":{"type":"string"}}},"required":["outward_journey_id","search_id"]},"RailsPaginationParameters":{"type":"object","properties":{"search_id":{"type":"string"},"type":{"type":"string","enum":["outward","inward","open_return","seat_only"]},"page_direction":{"type":"string","enum":["next","previous"]},"inward_search_id":{"type":"string"}},"required":["page_direction","search_id","type"]},"SeatsBaseRequestSchema":{"type":"object","properties":{"seats":{"type":"array","minItems":1,"items":{"$ref":"#/definitions/SeatGroup"}}},"required":["seats"]},"TaskResultsListResponseSchema":{"type":"object","properties":{"status":{"type":"string","enum":["sent","failed"]},"result":{"type":"array","items":{"type":"object","additionalProperties":{}},"x-nullable":true}},"required":["result","status"]},"RailsGetCancellationOfferParameters":{"type":"object","properties":{"booking_segments_ids":{"type":"array","minItems":1,"items":{"type":"integer"}}}},"SeatPreferencesRequestSchema":{"type":"object","properties":{"seat_preferences":{"type":"array","items":{"$ref":"#/definitions/SeatPreference"}}},"required":["seat_preferences"]},"TaskResultResponseSchema":{"type":"object","properties":{"status":{"type":"string","enum":["sent","failed"]},"result":{"type":"object","additionalProperties":{},"x-nullable":true},"error":{"type":"object","additionalProperties":{},"x-nullable":true}},"required":["error","result","status"]},"RailsGetPassengerTypesParameters":{"type":"object","properties":{"origin":{"type":"string"},"destination":{"type":"string"}}},"ReservationOffersRequestSchema":{"type":"object","properties":{"selected_ids":{"type":"array","items":{"type":"string"}},"unselected_ids":{"type":"array","items":{"type":"string"}}},"required":["selected_ids","unselected_ids"]},"RailsSeenSeatPreferencesSchema":{"type":"object","properties":{"seen_seat_preferences":{"type":"boolean"}},"required":["seen_seat_preferences"]},"RegisterParameters":{"type":"object","properties":{"company_name":{"type":"string"},"first_name":{"type":"string"},"last_name":{"type":"string"},"email":{"type":"string"},"language_code":{"type":"string"}},"required":["email","first_name","last_name"]},"BaseRolePermissionSchema":{"type":"object","properties":{"id":{"type":"integer","readOnly":true},"permission":{"type":"string","enum":["Default","Register","BeforeOnBoarding","ViewOthers","ManageSystem","ManageUsers","ManageTrips","ViewAllReports","ViewManagedGroupReports","Admin"]},"role_id":{"type":"integer"}}},"DetailedRolePermissionSchema":{"type":"object","properties":{"id":{"type":"integer","readOnly":true},"permission":{"type":"string","enum":["Default","Register","BeforeOnBoarding","ViewOthers","ManageSystem","ManageUsers","ManageTrips","ViewAllReports","ViewManagedGroupReports","Admin"]},"role_id":{"type":"integer"}}},"AddRolePermissionParameters":{"type":"object","properties":{"id":{"type":"integer","readOnly":true},"permission":{"type":"string","enum":["Default","Register","BeforeOnBoarding","ViewOthers","ManageSystem","ManageUsers","ManageTrips","ViewAllReports","ViewManagedGroupReports","Admin"]},"role_id":{"type":"integer"}}},"BaseRoleSchema":{"type":"object","properties":{"id":{"type":"integer","readOnly":true},"name":{"type":"string"},"description":{"type":"string"},"is_admin":{"type":"boolean"}}},"DetailedRoleSchema":{"type":"object","properties":{"id":{"type":"integer","readOnly":true},"name":{"type":"string"},"description":{"type":"string"},"is_admin":{"type":"boolean"}}},"AddRoleParameters":{"type":"object","properties":{"id":{"type":"integer","readOnly":true},"name":{"type":"string"},"description":{"type":"string"},"is_admin":{"type":"boolean"}}},"SearchParameters":{"type":"object","properties":{"type":{"type":"string","enum":["flights","hotels","cars","rails"]},"details":{"type":"object","additionalProperties":{}},"travelers_ids":{"type":"array","minItems":1,"maxItems":8,"items":{"type":"integer"}},"old_search_id":{"type":"integer"},"trip_id":{"type":"integer"}},"required":["details","travelers_ids","type"]},"BaseSearchSchema":{"type":"object","properties":{"type":{"type":"string","enum":["flights","hotels","cars","rails"]},"details":{},"travelers":{"type":"array","items":{"$ref":"#/definitions/BaseUser"}}}},"SearchUpdateParameters":{"type":"object","properties":{"details":{"type":"object","additionalProperties":{}}},"required":["details"]},"HotelGetAvailabilitySearchResultsParameters":{"type":"object","properties":{"hotel_ids":{"type":"array","items":{"type":"string"}}},"required":["hotel_ids"]},"TicketSchema":{"type":"object","properties":{"travelers_count":{"type":"integer"},"rows":{"type":"array","items":{"$ref":"#/definitions/BaseTicket"}}}},"RecentSearchesSchema":{"type":"object","properties":{"searches":{"type":"array","items":{"$ref":"#/definitions/RecentSearch"}}}},"SessionSchema":{"type":"object","properties":{"valid":{"type":"boolean"},"expires_at":{"type":"string","format":"date-time"}}},"SearchSitesSchema":{"type":"object","properties":{"type":{"type":"string"},"id":{"type":"integer"},"city":{"type":"string"},"state":{"type":"string","x-nullable":true},"state_code":{"type":"string"},"country":{"type":"string"},"latitude":{"type":"number"},"longitude":{"type":"number"},"iata_code":{"type":"string","x-nullable":true},"airports":{"type":"array","items":{"$ref":"#/definitions/SiteAirport"}},"offices":{"type":"array","items":{"$ref":"#/definitions/SiteOffice"}},"stations":{"type":"array","items":{"$ref":"#/definitions/SiteStation"}}}},"SAMLParseMetadata":{"required":["metadata_xml"],"properties":{"metadata_xml":{"type":"string","description":"Raw XML string content of the IdP SAML metadata file"}},"type":"object"},"SAMLConnectionCreate":{"required":["connection_name","sign_in_url","signing_cert"],"properties":{"connection_name":{"type":"string","description":"Name for the SAML connection (e.g. 'acme-corp')","example":"acme-corp"},"sign_in_url":{"type":"string","description":"IdP SSO sign-in endpoint URL","example":"https://idp.acme.com/sso/saml"},"signing_cert":{"type":"string","description":"IdP X.509 signing certificate (PEM format)","example":"-----BEGIN CERTIFICATE-----\nMIIC...\n-----END CERTIFICATE-----"},"display_name":{"type":"string","description":"Display name shown on login button","example":"Acme Corp SSO"},"sign_out_url":{"type":"string","description":"IdP Single Logout (SLO) URL"},"enabled_client_ids":{"type":"array","description":"Auth0 client IDs to enable this connection for. Defaults to current app.","items":{"type":"string"}},"domain_aliases":{"type":"array","description":"Identity Provider domains for Home Realm Discovery","example":["rajcorp.com","rajglobal.com"],"items":{"type":"string"}},"invoice_profile_name":{"type":"string","description":"Invoice profile display name to link with this connection","example":"Test"},"fields_map":{"type":"object","description":"SAML attribute mapping object"}},"type":"object"},"SAMLActivateConnection":{"properties":{"invoice_profile_name":{"type":"string","description":"Invoice profile display name to link with this connection"},"invoice_profile_id":{"type":"integer","description":"Invoice profile ID (alternative to invoice_profile_name)"},"display_name":{"type":"string","description":"Updated display name for login button"},"domain_aliases":{"type":"array","description":"Identity Provider domains for Home Realm Discovery","items":{"type":"string"}},"fields_map":{"type":"object","description":"SAML attribute mapping object"}},"type":"object"},"SAMLConnectionUpdate":{"properties":{"sign_in_url":{"type":"string","description":"Updated IdP sign-in URL"},"signing_cert":{"type":"string","description":"Updated IdP X.509 certificate"},"display_name":{"type":"string","description":"Updated display name"},"sign_out_url":{"type":"string","description":"Updated SLO URL"},"enabled_client_ids":{"type":"array","description":"Updated list of enabled Auth0 client IDs","items":{"type":"string"}},"is_active":{"type":"boolean","description":"Enable/disable the connection"},"invoice_profile_id":{"type":"integer","description":"Invoice profile ID to link with this connection"},"invoice_profile_name":{"type":"string","description":"Invoice profile display name to link with this connection"},"email":{"type":"string","description":"SAML email attribute mapping"},"first_name":{"type":"string","description":"SAML first name attribute mapping"},"last_name":{"type":"string","description":"SAML last name attribute mapping"},"fields_map":{"type":"object","description":"SAML attribute mapping object"}},"type":"object"},"AnyDataSchema":{"type":"object","properties":{"data":{"type":"object","additionalProperties":{}}}},"TripStatusSchema":{"type":"object","properties":{"id":{"type":"integer","readOnly":true},"trip_fees":{"readOnly":true,"type":"array","items":{"$ref":"#/definitions/TripFee"}},"product_fees":{"readOnly":true},"status":{"readOnly":true,"type":"string","enum":["draft","draft_by_support","reverted","sending_to_approval","waiting_approval","canceled","not_approved","approved","waiting_for_user_submission","booked","booking","price_changed","pre_trip_green_light"]},"errors":{"type":"array","readOnly":true,"items":{"type":"object","additionalProperties":{}},"x-nullable":true},"booking_segment_to_travelers":{"readOnly":true,"type":"array","items":{"$ref":"#/definitions/BookingSegmentToTravelerWithVerificationURL"}}}},"ThreeDSecureLogSchema":{"type":"object","properties":{"redirect_url":{"type":"string"},"event":{"type":"string","enum":["RECEIVED","REDIRECTED","VERIFICATION_SUCCESS","VERIFICATION_FAILED"]}},"required":["event","redirect_url"]},"TravelMapSchema":{"type":"object","properties":{"traveler_locations":{"type":"array","items":{"$ref":"#/definitions/TravelerLocation"}}}},"BaseCarLoyaltyProgramSchema":{"type":"object","properties":{"loyalty_program_code":{"type":"string","readOnly":true},"loyalty_program_name":{"type":"string"}}},"DetailedCarLoyaltySchema":{"type":"object","properties":{"id":{"type":"integer","readOnly":true},"car_loyalty_program_id":{"type":"string"},"user_id":{"type":"integer","readOnly":true},"car_loyalty_program_number":{"type":"string"},"car_loyalty_program":{"readOnly":true,"allOf":[{"$ref":"#/definitions/BaseCarLoyaltyProgram"}]}}},"AddCarLoyaltySchema":{"type":"object","properties":{"id":{"type":"integer","readOnly":true},"car_loyalty_program_id":{"type":"string"},"user_id":{"type":"integer","readOnly":true},"car_loyalty_program_number":{"type":"string","minLength":1,"maxLength":20,"pattern":"^[a-zA-Z0-9]*$"}}},"DetailedFrequentFlyerCardSchema":{"type":"object","properties":{"id":{"type":"integer","readOnly":true},"airline_id":{"type":"integer"},"user_id":{"type":"integer","readOnly":true},"card_number":{"type":"string"},"airline":{"readOnly":true,"allOf":[{"$ref":"#/definitions/BaseAirline"}]}}},"AddDFrequentFlyerCardParameters":{"type":"object","properties":{"id":{"type":"integer","readOnly":true},"airline_id":{"type":"integer"},"user_id":{"type":"integer","readOnly":true},"card_number":{"type":"string"}}},"DetailedHotelLoyaltySchema":{"type":"object","properties":{"id":{"type":"integer","readOnly":true},"loyalty_program_id":{"type":"integer"},"user_id":{"type":"integer","readOnly":true},"loyalty_program_code":{"type":"string"},"loyalty_program":{"readOnly":true,"allOf":[{"$ref":"#/definitions/BaseLoyaltyProgram"}]}}},"AddHotelLoyaltySchema":{"type":"object","properties":{"id":{"type":"integer","readOnly":true},"loyalty_program_id":{"type":"integer"},"user_id":{"type":"integer","readOnly":true},"loyalty_program_code":{"type":"string","minLength":1,"maxLength":20,"pattern":"^[a-zA-Z0-9]*$"}}},"BaseNationalIDSchema":{"type":"object","properties":{"id":{"type":"integer"},"number":{"type":"string","minLength":5,"maxLength":16,"pattern":"^[a-zA-Z0-9]*$"},"country":{"type":"object","additionalProperties":{}},"expiration_date":{"type":"string","format":"date"},"foid":{"type":"boolean","x-nullable":true}},"required":["country","expiration_date","number"]},"AddNationalIDParameters":{"type":"object","properties":{"id":{"type":"integer"},"number":{"type":"string","minLength":5,"maxLength":16,"pattern":"^[a-zA-Z0-9]*$"},"country":{"type":"object","additionalProperties":{}},"expiration_date":{"type":"string","format":"date"},"foid":{"type":"boolean","x-nullable":true}}},"NationalIDStatusSchema":{"type":"object","properties":{"status":{"type":"string","enum":["draft","active","inactive","failed"]}}},"BasePassportSchema":{"type":"object","properties":{"id":{"type":"integer"},"passport_number":{"type":"string","minLength":6,"maxLength":9,"pattern":"^[a-zA-Z0-9]*$"},"issue_date":{"type":"string","format":"date"},"issuing_country":{"type":"object","additionalProperties":{}},"citizenship":{"type":"object","additionalProperties":{}},"expiration_date":{"type":"string","format":"date"}},"required":["citizenship","expiration_date","issue_date","issuing_country","passport_number"]},"AddPassportParameters":{"type":"object","properties":{"id":{"type":"integer"},"passport_number":{"type":"string","minLength":6,"maxLength":9,"pattern":"^[a-zA-Z0-9]*$"},"issue_date":{"type":"string","format":"date"},"issuing_country":{"type":"object","additionalProperties":{}},"citizenship":{"type":"object","additionalProperties":{}},"expiration_date":{"type":"string","format":"date"}}},"PassportStatusSchema":{"type":"object","properties":{"status":{"type":"string","enum":["draft","active","inactive","failed"]}}},"DetailedTravelerRailCardSchema":{"type":"object","properties":{"id":{"type":"string","format":"uuid","readOnly":true},"user_id":{"type":"integer","readOnly":true},"card_type_id":{"type":"string","format":"uuid","x-nullable":true},"card_number":{"type":"string","enum":["0","1","2","3","4","5","6","7","8","9"],"maxLength":32},"expiration_date":{"type":"string","x-nullable":true,"format":"date"},"is_preferred":{"type":"boolean"},"card_type":{"readOnly":true,"allOf":[{"$ref":"#/definitions/RailCardListResponse"}]},"card_type_name":{"type":"string","enum":["BAHN_CARD","BAHN_BONUS_BUSINESS","SNCF"]}},"required":["is_preferred"]},"AddTravelerRailCardParameters":{"type":"object","properties":{"id":{"type":"string","format":"uuid","readOnly":true},"user_id":{"type":"integer","readOnly":true},"card_type_id":{"type":"string","format":"uuid","x-nullable":true},"card_number":{"type":"string","enum":["0","1","2","3","4","5","6","7","8","9"],"maxLength":32},"expiration_date":{"type":"string","x-nullable":true,"format":"date"},"is_preferred":{"type":"boolean"},"card_type_name":{"type":"string","enum":["BAHN_CARD","BAHN_BONUS_BUSINESS","SNCF"]}}},"BulkAddTravelerRailCardParameters":{"type":"object","properties":{"users":{"type":"array","items":{"$ref":"#/definitions/UserRailCards"}}},"required":["users"]},"DetailedTravelerSchema":{"type":"object","properties":{"id":{"type":"integer","readOnly":true},"user_id":{"type":"integer"},"employee_id":{"type":"string","x-nullable":true},"date_of_birth":{"type":"string","format":"date"},"gender":{"type":"string","enum":["male","female"]},"role":{"type":"string","enum":["employee","manager","executive"]},"office_id":{"type":"integer","x-nullable":true},"home_location_id":{"type":"integer","x-nullable":true},"home_location":{"readOnly":true,"allOf":[{"$ref":"#/definitions/BaseLocation"}]},"office":{"readOnly":true,"allOf":[{"$ref":"#/definitions/BaseOffice"}]},"has_medical_condition":{"type":"boolean"},"phone_number":{},"dial_code_country":{"type":"object","additionalProperties":{}},"emergency_contact_name":{"type":"string","x-nullable":true},"emergency_contact_phone_number":{},"emergency_contact_email":{"type":"string","x-nullable":true},"flight_properties":{"type":"string"},"title":{"x-nullable":true,"type":"string","enum":["ms","mr","ms_dr","mr_dr","ms_prof","mr_prof","ms_prof_dr","mr_prof_dr"]},"group_id":{"type":"integer","x-nullable":true},"department":{"$ref":"#/definitions/BaseGroup","x-nullable":true},"email":{"readOnly":true},"accounting_unit":{"type":"string","x-nullable":true},"cost_center":{"type":"string","x-nullable":true},"custom_field_1":{"type":"string","x-nullable":true},"custom_field_2":{"type":"string","x-nullable":true},"custom_field_3":{"type":"string","x-nullable":true},"internal_account":{"type":"string","x-nullable":true},"purchase_order_number":{"type":"string","x-nullable":true},"kt_number":{"type":"string","pattern":"^[a-zA-Z0-9]{9}$","x-nullable":true},"redress_number":{"type":"string","pattern":"^([0-9]{7})$","x-nullable":true},"ca_number":{"type":"string","pattern":"^CAN[a-zA-Z0-9]{10}$","x-nullable":true},"group":{"readOnly":true,"allOf":[{"$ref":"#/definitions/Group"}]},"frequent_flyer_cards":{"readOnly":true,"type":"array","items":{"$ref":"#/definitions/DetailedFrequentFlyerCard"}},"hotel_loyalty_programs":{"readOnly":true},"car_loyalty_programs":{"type":"array","items":{"$ref":"#/definitions/DetailedCarLoyalty"}},"passports":{"readOnly":true,"type":"array","items":{"$ref":"#/definitions/BasePassport"}},"national_ids":{"readOnly":true,"type":"array","items":{"$ref":"#/definitions/BaseNationalID"}},"rail_cards":{"readOnly":true,"type":"array","items":{"$ref":"#/definitions/DetailedTravelerRailCard"}},"credit_cards":{"readOnly":true,"type":"array","items":{"$ref":"#/definitions/DetailedCreditCard"}}},"required":["role"]},"AddTravelerParameters":{"type":"object","properties":{"id":{"type":"integer","readOnly":true},"user_id":{"type":"integer"},"employee_id":{"type":"string","x-nullable":true},"date_of_birth":{"type":"string","format":"date"},"gender":{"type":"string","enum":["male","female"]},"role":{"type":"string","enum":["employee","manager","executive"]},"office_id":{"type":"integer","x-nullable":true},"home_location_id":{"type":"integer","x-nullable":true},"home_location":{"type":"string"},"office":{"$ref":"#/definitions/BaseOffice"},"has_medical_condition":{"type":"boolean"},"phone_number":{},"dial_code_country":{"type":"object","additionalProperties":{}},"emergency_contact_name":{"type":"string","x-nullable":true},"emergency_contact_phone_number":{},"emergency_contact_email":{"type":"string","x-nullable":true},"flight_properties":{"type":"string"},"title":{"x-nullable":true,"type":"string","enum":["ms","mr","ms_dr","mr_dr","ms_prof","mr_prof","ms_prof_dr","mr_prof_dr"]},"group_id":{"type":"integer","x-nullable":true},"department":{"$ref":"#/definitions/BaseGroup","x-nullable":true},"email":{"readOnly":true},"accounting_unit":{"type":"string","x-nullable":true},"cost_center":{"type":"string","x-nullable":true},"custom_field_1":{"type":"string","x-nullable":true},"custom_field_2":{"type":"string","x-nullable":true},"custom_field_3":{"type":"string","x-nullable":true},"internal_account":{"type":"string","x-nullable":true},"purchase_order_number":{"type":"string","x-nullable":true},"kt_number":{"type":"string","pattern":"^[a-zA-Z0-9]{9}$","x-nullable":true},"redress_number":{"type":"string","pattern":"^([0-9]{7})$","x-nullable":true},"ca_number":{"type":"string","pattern":"^CAN[a-zA-Z0-9]{10}$","x-nullable":true}}},"TripSubmitParameters":{"type":"object","properties":{"trip_name":{"type":"string","x-nullable":true},"fake_booking":{"$ref":"#/definitions/FakeBookingParameters","x-nullable":true},"card_cvc_data":{"type":"object","additionalProperties":{},"x-nullable":true},"selected_documents":{"type":"array","items":{"$ref":"#/definitions/SelectedDocumentsParameters"},"x-nullable":true},"report_settings":{"type":"array","items":{"$ref":"#/definitions/ReportSetting"},"x-nullable":true},"browser_data":{"$ref":"#/definitions/DeviceDataParameters","x-nullable":true},"timezoneOffsetUtcMinutes":{"type":"integer","x-nullable":true},"rails_ticket_delivery_options":{"type":"array","items":{"$ref":"#/definitions/RailAtocTicketOptionsParameters"},"x-nullable":true},"message":{"type":"string","x-nullable":true}}},"RejectionMessage":{"type":"object","properties":{"message":{"type":"string"},"rejection_reason_type":{"type":"array","items":{"type":"string","enum":["flights","hotels","all","cars","rails"]}}}},"TripApprovalStatus":{"type":"object","properties":{"request_message":{"type":"string","x-nullable":true},"message":{"type":"string","x-nullable":true},"rejection_reason_type":{"type":"array","items":{"type":"string","enum":["flights","hotels","all","cars","rails"]}},"approval_status":{"type":"string","enum":["created","waiting_approval","approved","not_approved","approved_by_support"]},"user_id":{"type":"integer"},"user":{"$ref":"#/definitions/BaseUser"},"created_dt":{"type":"string","format":"date-time"}}},"TripVerifyParameters":{"type":"object","properties":{"verification_id":{"type":"string"}},"required":["verification_id"]},"TripPriceChangeParameters":{"type":"object","properties":{"booking_segments":{"$ref":"#/definitions/BookingSegmentsIDParameters"}},"required":["booking_segments"]},"CarBookingDeletionResponse":{"type":"object","properties":{"segments_to_cancel":{"type":"array","items":{"type":"integer"}}}},"CarBookingStatusParameters":{"type":"object","properties":{"booking_segments_ids":{"type":"array","items":{"type":"integer"}},"reason":{"type":"string","x-nullable":true}}},"CarBookingSchema":{"type":"object","properties":{"id":{"type":"integer"},"car":{"$ref":"#/definitions/CarProduct"},"vendor_specific_info":{"type":"object","additionalProperties":{}},"vendor":{"type":"string","enum":["OTHER","SABRE","SABRE_NDC","SABRE_US","KIWI","TSH","AMADEUS","TRAVELFUSION","DB","FARELOGIX","IATA_ORG","BOOKINGCOM","EPS","PREMIERINN","WEBSITE","DB_BIBE","ATOC","SNCF"]},"total_price":{"type":"number","x-nullable":true},"total_tax":{"type":"number","x-nullable":true},"cancellation_penalty_before":{"type":"number","x-nullable":true},"cancellation_penalty_after":{"type":"number","x-nullable":true},"change_penalty_before":{"type":"number","x-nullable":true},"change_penalty_after":{"type":"number","x-nullable":true},"travelers":{"type":"array","items":{"$ref":"#/definitions/BaseUser"},"x-nullable":true},"reservation_status":{"type":"string","enum":["draft","submitted","reverted","prebooked","booked","unverified","book_failed","price_changed"]},"cancellation_status":{"x-nullable":true,"type":"string","enum":["waiting_cancel_confirmation","canceled","cancellation_failed"]},"search_id":{"type":"integer","x-nullable":true},"policy_deviations":{"type":"array","items":{"$ref":"#/definitions/PolicyDeviation"},"x-nullable":true},"in_policy":{"type":"boolean","x-nullable":true},"res_id":{"type":"string","x-nullable":true},"cancellation_due_date":{"type":"string","x-nullable":true,"format":"date-time"},"extra_booking_data":{"$ref":"#/definitions/CarRate"},"additional_equip":{"x-nullable":true},"cloned_from_id":{"type":"integer","x-nullable":true},"booking_type":{"x-nullable":true,"type":"string","enum":["external_booking","client_booking"]},"car_confirmation_number":{"readOnly":true},"drop_car_off_at_different_location":{"readOnly":true},"non_refundable":{"readOnly":true},"pay_at_checkout":{"readOnly":true},"fuel_type":{"readOnly":true},"gear_type":{"readOnly":true},"car_description":{"readOnly":true},"pnr":{"readOnly":true},"external_booking_feedback":{"readOnly":true},"content_source":{"readOnly":true},"pick_up_datetime":{"readOnly":true},"drop_off_datetime":{"readOnly":true},"cancellation_policy":{"readOnly":true},"tax_per_person":{"readOnly":true},"price_per_person":{"readOnly":true},"taxPerPerson":{"readOnly":true},"pricePerPerson":{"readOnly":true}}},"CarsBookingParameters":{"type":"object","properties":{"car_search_result":{},"car_rate_result":{},"search_id":{"type":"integer","x-nullable":true},"additional_equip":{"type":"array","items":{"type":"string"},"x-nullable":true}}},"CarReservationStatusSchema":{"type":"object","properties":{"status":{"type":"string","enum":["draft","submitted","reverted","prebooked","booked","unverified","book_failed","price_changed"]}}},"CreateExternalCarBookingSchema":{"type":"object","properties":{"_meta":{"$ref":"#/definitions/MetaDataSupport"},"browser_data":{"$ref":"#/definitions/DeviceDataParameters","x-nullable":true},"timezoneOffsetUtcMinutes":{"type":"integer","x-nullable":true},"user_id":{"type":"integer","x-nullable":true},"user_ids":{"type":"array","items":{"type":"integer"},"x-nullable":true},"credit_card_id":{"type":"integer","x-nullable":true},"virtual_payment_automation_id":{"type":"integer","x-nullable":true},"total_price":{"type":"number","x-nullable":true},"total_tax":{"type":"number","x-nullable":true},"start_date":{"type":"string","format":"date-time","x-nullable":true},"end_date":{"type":"string","format":"date-time","x-nullable":true},"non_refundable":{"type":"boolean","default":false,"x-nullable":true},"cancellation_due_date":{"type":"string","format":"date-time","x-nullable":true},"pickup_location":{"x-nullable":true},"pick_up_location":{"x-nullable":true},"pick_up_location_address":{"type":"string","x-nullable":true},"return_location":{"x-nullable":true},"drop_off_location":{"x-nullable":true},"drop_off_location_address":{"type":"string","x-nullable":true},"car":{"type":"string","x-nullable":true},"car_type":{"type":"string","x-nullable":true},"car_description":{"type":"string","x-nullable":true},"content_source":{"x-nullable":true},"raw_content_source":{"type":"string","x-nullable":true},"other_vendor":{"type":"string","x-nullable":true},"cancellation_policy":{"type":"string","maxLength":300,"x-nullable":true},"confirmation_number":{"type":"string","maxLength":100,"x-nullable":true},"pnr":{"type":"string","x-nullable":true},"cancellation_fee":{"type":"number","x-nullable":true},"car_rental_agency_name":{"type":"string","x-nullable":true},"car_rent_vendor":{"x-nullable":true},"car_confirmation_number":{"type":"string","x-nullable":true},"drop_car_off_at_different_location":{"type":"boolean","x-nullable":true},"door_type":{"type":"string","x-nullable":true},"gear_type":{"type":"string","x-nullable":true},"fuel_type":{"type":"string","x-nullable":true},"pay_at_checkout":{"type":"boolean","x-nullable":true},"prepaid":{"type":"boolean","x-nullable":true},"price_per_person":{"type":"number","x-nullable":true},"tax_per_person":{"type":"number","x-nullable":true},"external_booking_feedback":{"type":"string","maxLength":300,"x-nullable":true},"support_request_fees":{"type":"array","default":[],"items":{"$ref":"#/definitions/SupportRequestFee"},"x-nullable":true}}},"EssentialTravelInformationSchema":{"type":"object","properties":{"title":{"type":"string"},"short_description":{"type":"string"},"description":{"type":"string"}}},"BaseFareAvailabilitySchema":{"type":"object","properties":{"status":{"type":"string","enum":["sent","success"]},"fare_availabilities":{"type":"array","items":{"$ref":"#/definitions/FareAvailability"}}},"required":["status"]},"FlightBookingStatusParameters":{"type":"object","properties":{"booking_segments_ids":{"type":"array","items":{"type":"integer"}}}},"BaseFlightSearchResultSchema":{"type":"object","properties":{"id":{"type":"integer","readOnly":true},"flights":{"type":"array","items":{"$ref":"#/definitions/BaseFlight"}},"total_price":{"type":"number","x-nullable":true},"total_tax":{"type":"number","x-nullable":true},"actual_price":{"type":"number","x-nullable":true},"res_id":{"type":"string","x-nullable":true},"ticket_changeable":{"type":"boolean"},"ticket_refundable":{"type":"boolean"},"search_id":{"type":"integer","x-nullable":true},"vendor":{"type":"string","enum":["OTHER","SABRE","SABRE_NDC","SABRE_US","KIWI","TSH","AMADEUS","TRAVELFUSION","DB","FARELOGIX","IATA_ORG","BOOKINGCOM","EPS","PREMIERINN","WEBSITE","DB_BIBE","ATOC","SNCF"]},"vendor_specific_info":{"type":"object","additionalProperties":{}},"baggage_ancillaries":{"type":"object","additionalProperties":{},"x-nullable":true},"hold_luggage_price":{"type":"number","x-nullable":true},"in_policy":{"type":"boolean","readOnly":true},"policy_deviations":{"readOnly":true,"type":"array","items":{"$ref":"#/definitions/PolicyDeviation"},"x-nullable":true},"travelers":{"readOnly":true,"type":"array","items":{"$ref":"#/definitions/BaseUser"},"x-nullable":true},"reservation_status":{"readOnly":true,"type":"string","enum":["draft","submitted","reverted","prebooked","booked","unverified","book_failed","price_changed"]},"cancellation_status":{"readOnly":true,"type":"string","enum":["waiting_cancel_confirmation","canceled","cancellation_failed"]},"penalties":{"type":"string","readOnly":true},"cvv_required":{"type":"boolean","x-nullable":true},"cloned_from_id":{"type":"integer","readOnly":true,"x-nullable":true}}},"BcdFlightBookingParameters":{"type":"object","properties":{"res_id":{"type":"string"},"flight_identifier":{"type":"string"},"flights":{"type":"array","items":{"type":"object","additionalProperties":{}}},"provider":{"type":"string"},"currency":{"type":"string"},"fare_group_key":{"type":"string"},"search_id":{"type":"integer"},"policy_deviations":{"type":"array","items":{"type":"object","additionalProperties":{}}},"total_price":{"type":"number","x-nullable":true},"ticket_changeable":{"type":"boolean","x-nullable":true},"ticket_refundable":{"type":"boolean","x-nullable":true},"ticket_by_date":{"type":"string","format":null,"pattern":null,"x-nullable":true},"in_policy":{"type":"boolean"},"penalties":{"type":"array","items":{"type":"object","additionalProperties":{}},"x-nullable":true},"fare_components":{"type":"array","items":{"type":"object","additionalProperties":{}}},"original_booking_segment_id":{"type":"integer","x-nullable":true},"replace_booking_segment_id":{"type":"integer","x-nullable":true}},"required":["fare_components","flights","search_id"]},"TaskFlightStatusSchema":{"type":"object","properties":{"status":{"type":"string","enum":["sent","failed"]},"result":{"type":"object","additionalProperties":{},"x-nullable":true},"error":{"type":"object","additionalProperties":{},"x-nullable":true}},"required":["error","result","status"]},"BcdFlightBookingV2Parameters":{"type":"object","properties":{"flight_identifier":{"type":"string"},"search_id":{"type":"integer"},"original_booking_segment_id":{"type":"integer","x-nullable":true},"replace_booking_segment_id":{"type":"integer","x-nullable":true},"enable_ob_fee":{"type":"boolean","default":false,"x-nullable":true}},"required":["search_id"]},"CreateExternalFlightBookingSchema":{"type":"object","properties":{"browser_data":{"$ref":"#/definitions/DeviceDataParameters","x-nullable":true},"timezoneOffsetUtcMinutes":{"type":"integer","x-nullable":true},"flights":{"type":"array","items":{"$ref":"#/definitions/CreateExternalFlightBookingFlight"}},"credit_card_id":{"type":"integer","x-nullable":true},"virtual_payment_automation_id":{"type":"integer","x-nullable":true},"user_id":{"type":"integer"},"user_ids":{"type":"array","items":{"type":"integer"},"x-nullable":true},"price_per_person":{"type":"number"},"tax_per_person":{"type":"number","x-nullable":true},"taxes":{"type":"array","items":{"$ref":"#/definitions/FlightTaxType"}},"content_source":{"type":"string","enum":["OTHER","SABRE","SABRE_NDC","SABRE_US","KIWI","TSH","AMADEUS","TRAVELFUSION","DB","FARELOGIX","IATA_ORG","BOOKINGCOM","EPS","PREMIERINN","WEBSITE","DB_BIBE","ATOC","SNCF"]},"other_vendor":{"type":"string","minLength":2,"maxLength":300,"x-nullable":true},"pnr":{"type":"string"},"ticket_number":{"type":"string","minLength":13,"maxLength":13,"x-nullable":true},"cancellation_policy":{"$ref":"#/definitions/CancellationPolicy"},"external_booking_feedback":{"type":"string","maxLength":300},"support_request_fees":{"type":"array","default":[],"items":{"$ref":"#/definitions/SupportRequestFee"},"x-nullable":true}},"required":["cancellation_policy","content_source","external_booking_feedback","pnr","price_per_person","taxes"]},"HotelBookingStatusParameters":{"type":"object","properties":{"booking_segments_ids":{"type":"array","items":{"type":"integer"}},"reason":{"type":"string","x-nullable":true}}},"HTTPError501":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"}}},"BasicHotelRoomSchema":{"type":"object","properties":{"id":{"type":"integer","readOnly":true},"cancellation_due_date":{"x-nullable":true},"total_price":{"type":"number","x-nullable":true},"total_tax":{"type":"number","x-nullable":true},"res_id":{"type":"string","x-nullable":true},"original_currency":{"type":"string","x-nullable":true},"original_total_price":{"type":"number","x-nullable":true},"original_total_tax":{"type":"number","x-nullable":true},"raw_data":{"type":"object","additionalProperties":{}},"in_policy":{"type":"boolean","readOnly":true},"search_id":{"type":"integer"},"policy_deviations":{"readOnly":true,"type":"array","items":{"$ref":"#/definitions/PolicyDeviation"},"x-nullable":true},"travelers":{"readOnly":true,"type":"array","items":{"$ref":"#/definitions/BaseUser"},"x-nullable":true},"reservation_status":{"readOnly":true,"type":"string","enum":["draft","submitted","reverted","prebooked","booked","unverified","book_failed","price_changed"]},"cancellation_status":{"readOnly":true,"x-nullable":true,"type":"string","enum":["waiting_cancel_confirmation","canceled","cancellation_failed"]},"hotel_name":{"readOnly":true},"hotel_id":{},"non_refundable":{"type":"boolean","x-nullable":true},"room_description":{},"room_amenities":{},"pay_at_checkout":{},"check_in":{},"check_out":{},"additional_request":{"x-nullable":true},"arriving_after":{"x-nullable":true},"payment_cards_accepted":{"readOnly":true},"city":{"readOnly":true},"cvv_required":{"type":"boolean","x-nullable":true},"average_per_night":{"type":"number","readOnly":true,"x-nullable":true},"cloned_from_id":{"type":"integer","readOnly":true},"cancellation_policy":{"type":"string","x-nullable":true}}},"HotelRoomSchemaParameters":{"type":"object","properties":{"id":{"type":"integer","readOnly":true},"cancellation_due_date":{"x-nullable":true},"total_price":{"type":"number","x-nullable":true},"total_tax":{"type":"number","x-nullable":true},"res_id":{"type":"string","x-nullable":true},"original_currency":{"type":"string","x-nullable":true},"original_total_price":{"type":"number","x-nullable":true},"original_total_tax":{"type":"number","x-nullable":true},"raw_data":{"type":"object","additionalProperties":{}},"in_policy":{"type":"boolean","readOnly":true},"search_id":{"type":"integer"},"policy_deviations":{"readOnly":true,"type":"array","items":{"$ref":"#/definitions/PolicyDeviation"},"x-nullable":true},"travelers":{"readOnly":true,"type":"array","items":{"$ref":"#/definitions/BaseUser"},"x-nullable":true},"reservation_status":{"readOnly":true,"type":"string","enum":["draft","submitted","reverted","prebooked","booked","unverified","book_failed","price_changed"]},"cancellation_status":{"readOnly":true,"x-nullable":true,"type":"string","enum":["waiting_cancel_confirmation","canceled","cancellation_failed"]},"hotel_name":{"readOnly":true},"hotel_id":{},"non_refundable":{"type":"boolean","x-nullable":true},"room_description":{},"room_amenities":{},"pay_at_checkout":{},"check_in":{},"check_out":{},"additional_request":{"x-nullable":true},"arriving_after":{"x-nullable":true},"payment_cards_accepted":{"readOnly":true},"city":{"readOnly":true},"cvv_required":{"type":"boolean","x-nullable":true},"average_per_night":{"type":"number","readOnly":true,"x-nullable":true},"cloned_from_id":{"type":"integer","readOnly":true},"cancellation_policy":{"type":"string","x-nullable":true},"original_booking_segment_id":{"type":"integer","x-nullable":true}}},"CreateExternalHotelBookingSchema":{"type":"object","properties":{"_meta":{"$ref":"#/definitions/MetaDataSupport"},"user_id":{"type":"integer"},"credit_card_id":{"type":"integer","x-nullable":true},"virtual_payment_automation_id":{"type":"integer","x-nullable":true},"hotel_id":{"type":"string"},"from_date":{"type":"string","format":"date-time"},"until_date":{"type":"string","format":"date-time"},"non_refundable":{"type":"boolean"},"cancellation_due_date":{"type":"string","format":"date-time","x-nullable":true},"pay_at_checkout":{"type":"boolean"},"price_per_person":{"type":"number"},"tax_per_person":{"type":"number"},"room_description":{"type":"string","maxLength":300},"room_amenities":{"type":"array","default":[],"items":{"type":"string","x-nullable":true},"x-nullable":true},"cancellation_policy":{"type":"string","maxLength":300,"x-nullable":true},"confirmation_number":{"type":"string","minLength":6,"maxLength":20},"content_source":{"type":"string","enum":["OTHER","SABRE","SABRE_NDC","SABRE_US","KIWI","TSH","AMADEUS","TRAVELFUSION","DB","FARELOGIX","IATA_ORG","BOOKINGCOM","EPS","PREMIERINN","WEBSITE","DB_BIBE","ATOC","SNCF"]},"other_vendor":{"type":"string","minLength":2,"maxLength":300,"x-nullable":true},"pnr":{"type":"string","minLength":6,"maxLength":20,"x-nullable":true},"external_booking_feedback":{"type":"string","maxLength":300},"browser_data":{"$ref":"#/definitions/DeviceDataParameters","x-nullable":true},"support_request_fees":{"type":"array","default":[],"items":{"$ref":"#/definitions/SupportRequestFee"},"x-nullable":true}},"required":["confirmation_number","content_source","external_booking_feedback","from_date","hotel_id","room_description","until_date","user_id"]},"HotelRoomReservationStatusSchema":{"type":"object","properties":{"status":{"type":"string","enum":["draft","submitted","reverted","prebooked","booked","unverified","book_failed","price_changed"]}}},"TripItinerarySchema":{"type":"object","properties":{"errors":{},"hotel_itinerary":{"$ref":"#/definitions/HotelItinerary"},"flight_itinerary":{"$ref":"#/definitions/FlightItinerary"},"car_itinerary":{"$ref":"#/definitions/CarItinerary"},"rail_itinerary":{"$ref":"#/definitions/RailItinerary"},"flights_bookings":{"$ref":"#/definitions/FlightBookingItinerary"},"hotels_bookings":{"$ref":"#/definitions/HotelBookingItinerary"},"cars_bookings":{"$ref":"#/definitions/CarBookingItinerary"},"rails_bookings":{"$ref":"#/definitions/RailBookingItinerary"},"travelers":{"type":"array","items":{"$ref":"#/definitions/FullItineraryTraveler"}},"trip_id":{"type":"integer"},"surcharges":{"type":"array","items":{"$ref":"#/definitions/Surcharge"}},"trip_name":{"type":"string"},"needs_approval":{"type":"boolean"},"approvers":{"type":"array","items":{"$ref":"#/definitions/BaseUser"}},"totals":{"$ref":"#/definitions/TripItineraryTotal"},"notifications":{"$ref":"#/definitions/Notification"},"hazardous":{"type":"boolean"},"trip_fees":{"type":"array","items":{"$ref":"#/definitions/TripFee"}},"vpa_fees":{"type":"array","items":{"$ref":"#/definitions/VPAFee"}},"product_fees":{"type":"array","items":{"$ref":"#/definitions/ProductFee"}},"trip_notes":{"type":"array","items":{"$ref":"#/definitions/TripNote"}}}},"ItineraryStatusSchema":{"type":"object","properties":{"id":{"type":"integer"},"status":{"type":"string","enum":["created","sent","success","terms_changed","failed"]}}},"TripItineraryShareParameters":{"type":"object","properties":{"user_id":{"type":"string"},"gg_user_emails":{"type":"array","items":{"type":"string","format":"email"},"x-nullable":true},"external_user_emails":{"type":"array","items":{"type":"string","format":"email"},"x-nullable":true}},"required":["user_id"]},"ShareTripItineraryTaskResultSchema":{"type":"object","properties":{"status":{"type":"string","enum":["sent","failed"]},"result":{"type":"object","additionalProperties":{},"x-nullable":true},"errors":{"type":"array","items":{"type":"object","additionalProperties":{}}}},"required":["errors","result","status"]},"ObFeeRecalculationRequestSchema":{"type":"object","properties":{"booking_segment_id":{"type":"integer"},"credit_card_id":{"type":"integer","default":null,"x-nullable":true},"user_id":{"type":"integer","default":null,"x-nullable":true},"enable_ob_fee":{"type":"boolean","default":false}},"required":["booking_segment_id"]},"PutCreditCardParameters":{"type":"object","properties":{"credit_card_id":{"type":"integer","default":null,"x-nullable":true},"multiple_credit_cards":{"minItems":1,"type":"array","items":{"$ref":"#/definitions/MultiplePaymentParameters"},"x-nullable":true},"virtual_payment_automation_id":{"type":"integer","default":null,"x-nullable":true}}},"RailBookingDeleteParameters":{"type":"object","properties":{"booking_segments_ids":{"type":"array","items":{"type":"integer"}}}},"BaseRailResultSchema":{"type":"object","properties":{"id":{"type":"integer","readOnly":true},"rails":{"type":"array","items":{"$ref":"#/definitions/BaseRail"}},"cancellation_penalty_before":{"type":"number"},"cancellation_penalty_after":{"type":"number"},"change_penalty_before":{"type":"number"},"change_penalty_after":{"type":"number"},"total_price":{"type":"number"},"total_tax":{"type":"number"},"actual_price":{"type":"number","x-nullable":true},"res_id":{"type":"string","x-nullable":true},"ticket_changeable":{"type":"boolean"},"ticket_refundable":{"type":"boolean"},"cancellation_due_date":{"type":"string","readOnly":true,"format":"date-time"},"search_id":{"type":"integer"},"vendor":{"type":"string","enum":["OTHER","SABRE","SABRE_NDC","SABRE_US","KIWI","TSH","AMADEUS","TRAVELFUSION","DB","FARELOGIX","IATA_ORG","BOOKINGCOM","EPS","PREMIERINN","WEBSITE","DB_BIBE","ATOC","SNCF"]},"vendor_specific_info":{"type":"object","additionalProperties":{}},"in_policy":{"type":"boolean","readOnly":true},"policy_deviations":{"readOnly":true,"type":"array","items":{"$ref":"#/definitions/PolicyDeviation"}},"travelers":{"readOnly":true,"type":"array","items":{"$ref":"#/definitions/BaseUser"}},"cvv_required":{"type":"boolean","x-nullable":true},"seat_only":{"type":"boolean"},"seen_seat_preferences":{"type":"boolean"},"reservation_status":{"readOnly":true,"type":"string","enum":["draft","submitted","reverted","prebooked","booked","unverified","book_failed","price_changed"]},"cancellation_status":{"readOnly":true,"type":"string","enum":["waiting_cancel_confirmation","canceled","cancellation_failed"]},"payment_cards_accepted":{"readOnly":true},"reservation_offers":{"readOnly":true},"seat_preference_groups":{"x-nullable":true},"seat_preferences":{"x-nullable":true},"selected_journeys":{"x-nullable":true},"selected_reservation_offers_ids":{"x-nullable":true},"unselected_reservation_offers_ids":{"x-nullable":true},"applied_discount":{"x-nullable":true},"fare_type":{"type":"string","x-nullable":true},"extra_booking_data":{"$ref":"#/definitions/RailExtraBookingdData"},"external_booking_feedback":{"readOnly":true,"x-nullable":true},"train_booking_source":{"x-nullable":true}}},"BCDRailBookingSelectParameters":{"type":"object","properties":{"search_id":{"type":"integer"},"journey_identifiers":{"type":"array","items":{"$ref":"#/definitions/JourneyIdentifiers"}},"replace_booking_segment_id":{"type":"integer","x-nullable":true}},"required":["journey_identifiers","search_id"]},"CreateExternalRailsBookingSchema":{"type":"object","properties":{"rails":{"type":"array","items":{"$ref":"#/definitions/ExternalRailsJourney"}},"train_user_id":{"type":"array","items":{"type":"integer"}},"external_booking_feedback":{"$ref":"#/definitions/ExternalRailsBookingFeedback","x-nullable":true},"train_booking_source":{"type":"string"},"train_provider":{"type":"string"},"open_return":{"type":"boolean","default":false},"return_date":{"type":"string","format":"date-time","x-nullable":true},"seat_only":{"type":"boolean","default":false},"price_per_person":{"$ref":"#/definitions/ExternalRailsPrice"},"taxes":{"type":"array","minItems":1,"items":{"$ref":"#/definitions/ExternalRailsTax"}},"pnr":{"type":"string","x-nullable":true},"cancellation_policy":{"type":"boolean","default":false},"tax_per_person":{"$ref":"#/definitions/ExternalRailsPrice","x-nullable":true},"cancellation_due_date":{"type":"string","format":"date-time","x-nullable":true},"cancellation_description":{"type":"string","x-nullable":true},"credit_card_id":{"type":"integer","x-nullable":true},"browser_data":{"x-nullable":true},"timezoneOffsetUtcMinutes":{"type":"integer","x-nullable":true},"support_request_fees":{"type":"array","default":[],"items":{"$ref":"#/definitions/SupportRequestFee"},"x-nullable":true}},"required":["price_per_person","rails","taxes","train_booking_source","train_user_id"]},"DetailedSupportRequestSchema":{"type":"object","properties":{"request_type":{"type":"string","enum":["flights_change_flight","flights_add_luggage","flights_manage_seats","flights_cancel_booking","flights_booking_failed","flights_save_residual_value","flights_other","hotels_change_dates","hotels_cancel_booking","hotels_other","hotel_booking_failed","cars_booking","cars_cancel_booking","cars_other","trains_manage","rails_cancel_booking","trip_cancel","fee_creation_failed","train_refund_failed","train_capture_failed","vpa_failed"]},"status":{"type":"string","enum":["created","fulfilled","declined"]},"last_update":{"type":"string","x-nullable":true,"format":"date-time"},"created_dt":{"type":"string","format":"date-time"},"created_by":{"type":"integer"},"booking_segment_to_travelers":{"type":"array","items":{"$ref":"#/definitions/BookingSegmentToTraveler"}},"booking_segment_ids":{"type":"array","items":{"type":"integer"}},"ticket_no":{},"trip_id":{"type":"integer"},"request_data":{},"id":{"type":"integer"}}},"SupportRequestSchemaParams":{"type":"object","properties":{"request_data":{},"booking_segment_to_travelers":{"type":"array","items":{"$ref":"#/definitions/BookingSegmentToTraveler"}}}},"DetailedTripSchemaUserWithoutInvoiceProfile":{"type":"object","properties":{"id":{"type":"integer","readOnly":true},"name":{"type":"string","x-nullable":true},"status":{"readOnly":true,"type":"string","enum":["draft","draft_by_support","reverted","sending_to_approval","waiting_approval","canceled","not_approved","approved","waiting_for_user_submission","booked","booking","price_changed","pre_trip_green_light"]},"flights_comments":{"type":"string","x-nullable":true},"hotels_comments":{"type":"string","x-nullable":true},"cars_comments":{"type":"string","x-nullable":true},"products":{"readOnly":true,"type":"array","items":{"$ref":"#/definitions/BaseProduct"}},"travelers_count":{"readOnly":true},"start_date":{"readOnly":true},"end_date":{"readOnly":true},"support_requests":{"readOnly":true},"pre_trip_request_id":{"type":"integer"},"created_by":{"type":"integer","readOnly":true},"created_by_user":{"$ref":"#/definitions/MinimalUser"},"created_dt":{"type":"string","readOnly":true,"format":"date-time"},"travelers":{"readOnly":true,"type":"array","items":{"$ref":"#/definitions/DetailedUserSchemaWithoutInvoiceProfile"}},"approval_statuses":{"readOnly":true,"type":"array","items":{"$ref":"#/definitions/TripApprovalStatus"}},"cancellation_date":{"type":"string"},"report_settings":{}}},"AddTripParameters":{"type":"object","properties":{"id":{"type":"integer","readOnly":true},"name":{"type":"string","x-nullable":true},"status":{"type":"string","enum":["draft","draft_by_support","reverted","sending_to_approval","waiting_approval","canceled","not_approved","approved","waiting_for_user_submission","booked","booking","price_changed","pre_trip_green_light"]},"flights_comments":{"type":"string","x-nullable":true},"hotels_comments":{"type":"string","x-nullable":true},"cars_comments":{"type":"string","x-nullable":true},"products":{"readOnly":true,"type":"array","items":{"$ref":"#/definitions/BaseProduct"}},"travelers_count":{"readOnly":true},"start_date":{"readOnly":true},"end_date":{"readOnly":true},"support_requests":{"readOnly":true},"pre_trip_request_id":{"type":"integer"},"users_ids":{"type":"array","items":{"type":"integer"}},"parent_trip_id":{"type":"integer","x-nullable":true}}},"DetailedTripSchema":{"type":"object","properties":{"id":{"type":"integer","readOnly":true},"name":{"type":"string","x-nullable":true},"status":{"readOnly":true,"type":"string","enum":["draft","draft_by_support","reverted","sending_to_approval","waiting_approval","canceled","not_approved","approved","waiting_for_user_submission","booked","booking","price_changed","pre_trip_green_light"]},"flights_comments":{"type":"string","x-nullable":true},"hotels_comments":{"type":"string","x-nullable":true},"cars_comments":{"type":"string","x-nullable":true},"products":{"readOnly":true,"type":"array","items":{"$ref":"#/definitions/BaseProduct"}},"travelers_count":{"readOnly":true},"start_date":{"readOnly":true},"end_date":{"readOnly":true},"support_requests":{"readOnly":true},"pre_trip_request_id":{"type":"integer"},"created_by":{"type":"integer","readOnly":true},"created_by_user":{"$ref":"#/definitions/MinimalUser"},"created_dt":{"type":"string","readOnly":true,"format":"date-time"},"travelers":{"readOnly":true,"type":"array","items":{"$ref":"#/definitions/DetailedUser"}},"approval_statuses":{"readOnly":true,"type":"array","items":{"$ref":"#/definitions/TripApprovalStatus"}},"cancellation_date":{"type":"string"},"report_settings":{}}},"PurposeListSchema":{"type":"object","properties":{"value":{"type":"string"},"label":{"type":"string"}}},"TripMergeParameters":{"type":"object","properties":{"trip_ids":{"type":"array","items":{"type":"integer"}}}},"PriceChangeParameters":{"type":"object","properties":{"old_total_cost":{"type":"number"},"new_total_cost":{"type":"number"}}},"TripGapSchema":{"type":"object","properties":{"travelers":{"type":"array","items":{"$ref":"#/definitions/BaseUser"}},"start_time":{"type":"string","format":"date"},"end_time":{"type":"string","format":"date"},"location":{"$ref":"#/definitions/BaseLocation1"},"location_type":{"type":"string"}}},"TripGapParameters":{"type":"object","properties":{"requested_type":{"type":"string","enum":["flights","hotels","cars","rails"]}}},"BookingSegmentCancellationStatusSchema":{"type":"object","properties":{"cancellation_status":{"type":"string","enum":["waiting_cancel_confirmation","canceled","cancellation_failed"]},"support_requests":{"readOnly":true}}},"BookingSegmentToTravelersCancellationStatusSchema":{"type":"object","properties":{"cancellation_status":{"type":"string","enum":["waiting_cancel_confirmation","canceled","cancellation_failed"]},"support_requests":{"readOnly":true}}},"CancelTripResponse":{"type":"object","properties":{"segments_to_cancel":{"type":"array","items":{"type":"integer"}}}},"CancelTripParameters":{"type":"object","properties":{"rail_segments_to_cancel":{"type":"array","items":{"type":"integer"},"x-nullable":true},"reason":{"type":"string","x-nullable":true}}},"CancelFlightsParameters":{"type":"object","properties":{"booking_segment_to_travelers_ids":{"type":"array","minItems":1,"items":{"type":"integer"}},"reason":{"type":"string","x-nullable":true},"save_residual_value":{"type":"boolean"}}},"CancelTrainParameters":{"type":"object","properties":{"booking_segments_ids":{"type":"array","items":{"type":"integer"}}}},"CancelTrainsParameters":{"type":"object","properties":{"booking_segment_ids":{"type":"array","minItems":1,"items":{"type":"integer"}},"reason":{"type":"string","x-nullable":true}}},"TripNoteSchema":{"type":"object","properties":{"created_by_user":{"$ref":"#/definitions/MinimalUser"},"type":{"type":"string","enum":["PRIVATE","PUBLIC","SYSTEM"]},"id":{"type":"integer","x-nullable":true},"created_dt":{"type":"string","format":"date-time"},"last_modified_dt":{"type":"string","format":"date-time"},"note":{"type":"string"},"is_agent_only":{"type":"boolean"},"trip_id":{"type":"integer"}}},"TripNotesCreateParameters":{"type":"object","properties":{"note":{"type":"string","minLength":0,"maxLength":300},"type":{"type":"string","enum":["PRIVATE","PUBLIC","SYSTEM"]},"is_agent_only":{"type":"boolean"}},"required":["note"]},"TripNotesUpdateParameters":{"type":"object","properties":{"note":{"type":"string","minLength":0,"maxLength":300},"type":{"type":"string","enum":["PRIVATE","PUBLIC","SYSTEM"]}},"required":["note"]},"AdditionalChargeSchema":{"type":"object","properties":{"id":{"type":"integer"},"total_tax":{"type":"number","x-nullable":true},"total_price":{"type":"number"},"description":{"type":"string","x-nullable":true},"charge_type":{"type":"string","enum":["baggage","meals","breakfast","preferred_sitting","cancellation_fee","changing_fee","insurance","car_rental","limousine_service","handling_fee","ob_fee","other","booking_fee","delivery_fee","credit_card_fee","train_credit_card_fee","seat"]},"product_type":{"type":"string","enum":["flights","hotels","all","cars","rails"]},"booking_segment_id":{"type":"integer"},"refund_dt":{"type":"string","x-nullable":true,"format":"date-time"},"refund_reason":{"type":"string","x-nullable":true},"is_fully_refunded":{"readOnly":true},"refunded_by":{"$ref":"#/definitions/MinimalUser"},"credit_card_id":{"type":"integer","readOnly":true,"x-nullable":true},"user_id":{"type":"integer","readOnly":true,"x-nullable":true}}},"AdditionalChargeSchemaParameters":{"type":"object","properties":{"id":{"type":"integer"},"total_tax":{"type":"number","x-nullable":true},"total_price":{"type":"number"},"description":{"type":"string","x-nullable":true},"charge_type":{"type":"string","enum":["baggage","meals","breakfast","preferred_sitting","cancellation_fee","changing_fee","insurance","car_rental","limousine_service","handling_fee","ob_fee","other","booking_fee","delivery_fee","credit_card_fee","train_credit_card_fee","seat"]},"product_type":{"type":"string","enum":["flights","hotels","all","cars","rails"]},"booking_segment_id":{"type":"integer"},"refund_dt":{"type":"string","x-nullable":true,"format":"date-time"},"refund_reason":{"type":"string","x-nullable":true},"is_fully_refunded":{"readOnly":true},"refunded_by":{"$ref":"#/definitions/MinimalUser"},"credit_card_id":{"type":"integer","readOnly":true,"x-nullable":true},"user_id":{"type":"integer","readOnly":true,"x-nullable":true},"vendor_booking_id":{"type":"string","x-nullable":true}}},"AlternativeFaresSchema":{"type":"object","properties":{"booking_segment_id":{"type":"integer"}},"required":["booking_segment_id"]},"FlightAlternativeFaresAcceptSchema":{"type":"object","properties":{"booking_segment_id":{"type":"integer"},"original_booking_segment_id":{"type":"integer"},"job_id":{"type":"string"},"flight_identifier":{"type":"string"}},"required":["job_id"]},"HotelAlternativeFaresAcceptSchema":{"type":"object","properties":{"booking_segment_id":{"type":"integer"},"original_booking_segment_id":{"type":"integer"},"job_id":{"type":"string"},"rate_key":{"type":"string"}},"required":["job_id"]},"HotelConfermaCommunicationSchema":{"type":"object","properties":{"booking_segment_to_travelers":{"type":"array","items":{"type":"integer","minimum":1}}},"required":["booking_segment_to_travelers"]},"BookingSegmentMockSchema":{"type":"object","properties":{"mocks":{"type":"array","items":{"type":"string"}},"booking_segment_to_travelers_id":{"type":"integer"}},"required":["booking_segment_to_travelers_id","mocks"]},"AddMocksParameters":{"type":"object","properties":{"mocks":{"type":"array","items":{"$ref":"#/definitions/AddMockParameters"}}},"required":["mocks"]},"BaseMockSchema":{"type":"object","properties":{"mocks":{"type":"array","items":{"type":"string"}}},"required":["mocks"]},"AddFeeMockParameters":{"type":"object","properties":{"mocks":{"type":"array","items":{"$ref":"#/definitions/FeeMockParameters"}}},"required":["mocks"]},"MockDataSchema":{"type":"object","properties":{"endpoints":{"type":"array","items":{"type":"string"}},"mock_options":{}}},"BaseUserPermissionSchema":{"type":"object","properties":{"id":{"type":"integer","readOnly":true},"user_id":{"type":"integer"},"permission":{"type":"string","enum":["Default","Register","BeforeOnBoarding","ViewOthers","ManageSystem","ManageUsers","ManageTrips","ViewAllReports","ViewManagedGroupReports","Admin"]},"enabled":{"type":"boolean","x-nullable":true}}},"DetailedUserPermissionSchema":{"type":"object","properties":{"id":{"type":"integer","readOnly":true},"user_id":{"type":"integer"},"permission":{"type":"string","enum":["Default","Register","BeforeOnBoarding","ViewOthers","ManageSystem","ManageUsers","ManageTrips","ViewAllReports","ViewManagedGroupReports","Admin"]},"enabled":{"type":"boolean","x-nullable":true}}},"AddUserPermissionParameters":{"type":"object","properties":{"id":{"type":"integer","readOnly":true},"user_id":{"type":"integer"},"permission":{"type":"string","enum":["Default","Register","BeforeOnBoarding","ViewOthers","ManageSystem","ManageUsers","ManageTrips","ViewAllReports","ViewManagedGroupReports","Admin"]},"enabled":{"type":"boolean","x-nullable":true}}},"UpdateUserPermissionParameters":{"type":"object","properties":{"enabled":{"type":"boolean","x-nullable":true}}},"AllowedEndpointsSchema":{"type":"object","properties":{"allowed":{"type":"array","items":{"type":"string"}}}},"BaseUserRoleSchema":{"type":"object","properties":{"id":{"type":"integer","readOnly":true},"user_id":{"type":"integer"},"role_id":{"type":"integer"}}},"DetailedUserRoleSchema":{"type":"object","properties":{"id":{"type":"integer","readOnly":true},"user_id":{"type":"integer"},"role_id":{"type":"integer"},"role":{"readOnly":true,"allOf":[{"$ref":"#/definitions/BaseRole"}]}}},"AddUserRoleParameters":{"type":"object","properties":{"id":{"type":"integer","readOnly":true},"user_id":{"type":"integer"},"role_id":{"type":"integer"}}},"EffectiveRolesSchema":{"type":"object","properties":{"roles":{"type":"array","items":{"type":"string"}}}},"UserTitlesSchema":{"type":"object","properties":{"titles":{"type":"array","items":{"type":"string"}}}},"UserTrackingStatusParams":{"type":"object","properties":{"status":{"type":"string","enum":["unknown","confirmed","declined"]}}},"UserDeactivateData":{"type":"object","properties":{"approver_for":{"type":"array","items":{"type":"object","additionalProperties":{}},"x-nullable":true},"last_trip_return_date":{"type":"string","format":"date","x-nullable":true},"last_trip_approval_date":{"type":"string","format":"date","x-nullable":true}}},"UpdateMockStatusParameters":{"type":"object","properties":{"mock_enabled":{"type":"boolean"}},"required":["mock_enabled"]},"UpdateTokenizerMockStatusParameters":{"type":"object","properties":{"tokenizer_mock_enabled":{"type":"boolean"}},"required":["tokenizer_mock_enabled"]},"UpdateWorldlinerMockStatusParameters":{"type":"object","properties":{"worldline_mock_enabled":{"type":"boolean"}},"required":["worldline_mock_enabled"]},"UpdateFlightSearchMockStatusParameters":{"type":"object","properties":{"flight_search_mock_enabled":{"type":"boolean"}},"required":["flight_search_mock_enabled"]},"UpdateObFeeMockParameters":{"type":"object","properties":{"ob_fee_mock":{"type":"string","x-nullable":true}},"required":["ob_fee_mock"]},"UserDeviceTokenParameters":{"type":"object","properties":{"device_token":{"type":"string"}},"required":["device_token"]},"UserExpenseApproverSchema":{"type":"object","properties":{"is_expense_approver":{"type":"boolean"}}},"BulkInviteGroupResultsSchema":{"type":"object","properties":{"status":{"type":"string","enum":["sent","completed","failed"]},"result":{"type":"array","items":{"type":"object","additionalProperties":{}},"x-nullable":true}},"required":["result","status"]},"VirtualPaymentAutomationSchema":{"type":"object","properties":{"available_only_for_travel_arrangers":{"type":"string"},"card_pool_name":{"type":"string"},"card_type":{"x-nullable":true,"type":"string","enum":["VISA","MASTER_CARD","AMERICAN_EXPRESS","UATP","DINERS","AIR_PLUS","AMEX_BTA","AMEX_BTA_GERMANY","CARTE_BLANCHE","CHINA_UNION_PAY","DISCOVER","EURO","FORBRUGSFORENINGSKORT","JAPANESE_CREDIT_BUREAU_CREDIT","MAESTRO"]},"client_id":{"type":"string"},"company_id":{"type":"string"},"created_dt":{"type":"string"},"id":{"type":"string"},"permitted_for_cars":{"type":"string"},"permitted_for_fees":{"type":"string"},"permitted_for_flights":{"type":"string"},"permitted_for_hotels":{"type":"string"},"permitted_for_trains":{"type":"string"},"status":{"type":"string","enum":["ACTIVE","DEACTIVATED","DELETED","PENDING_VALIDATION"]},"usage_allowed_for":{"type":"string","enum":["COUNTRY","INVOICE_PROFILE"]},"payment_instructions":{"type":"string"},"care_of_name":{"type":"string"},"virtual_payment_automation_to_invoice_profiles":{"type":"array","items":{"$ref":"#/definitions/VirtualPaymentAutomationToInvoiceProfile"}}}},"CreateVirtualPaymentAutomationParameters":{"type":"object","properties":{"available_only_for_travel_arrangers":{"type":"boolean","x-nullable":true},"card_pool_name":{"type":"string","enum":["a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z","0","1","2","3","4","5","6","7","8","9"," "],"minLength":1,"maxLength":50},"client_id":{"type":"string","enum":["0","1","2","3","4","5","6","7","8","9"],"minLength":1,"maxLength":15},"invoice_profile_id":{"type":"integer"},"usage_allowed_for":{"type":"string","enum":["COUNTRY","INVOICE_PROFILE"]},"permitted_for_cars":{"type":"boolean","x-nullable":true},"permitted_for_fees":{"type":"boolean","x-nullable":true},"permitted_for_flights":{"type":"boolean","x-nullable":true},"permitted_for_hotels":{"type":"boolean","x-nullable":true},"permitted_for_trains":{"type":"boolean","x-nullable":true},"payment_instructions":{"type":"string","minLength":1,"maxLength":200,"x-nullable":true},"care_of_name":{"type":"string","minLength":1,"maxLength":200,"x-nullable":true}},"required":["card_pool_name","client_id","invoice_profile_id","usage_allowed_for"]},"UpdateVirtualPaymentAutomationParameters":{"type":"object","properties":{"available_only_for_travel_arrangers":{"type":"boolean","x-nullable":true},"card_pool_name":{"type":"string","enum":["a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z","0","1","2","3","4","5","6","7","8","9"," "],"minLength":1,"maxLength":50},"client_id":{"type":"string","enum":["0","1","2","3","4","5","6","7","8","9"],"minLength":1,"maxLength":15},"invoice_profile_id":{"type":"integer"},"usage_allowed_for":{"type":"string","enum":["COUNTRY","INVOICE_PROFILE"]},"permitted_for_cars":{"type":"boolean","x-nullable":true},"permitted_for_fees":{"type":"boolean","x-nullable":true},"permitted_for_flights":{"type":"boolean","x-nullable":true},"permitted_for_hotels":{"type":"boolean","x-nullable":true},"permitted_for_trains":{"type":"boolean","x-nullable":true},"payment_instructions":{"type":"string","minLength":1,"maxLength":200,"x-nullable":true},"care_of_name":{"type":"string","minLength":1,"maxLength":200,"x-nullable":true},"card_type":{"x-nullable":true,"type":"string","enum":["VISA","MASTER_CARD","AMERICAN_EXPRESS","UATP","DINERS","AIR_PLUS","AMEX_BTA","AMEX_BTA_GERMANY","CARTE_BLANCHE","CHINA_UNION_PAY","DISCOVER","EURO","FORBRUGSFORENINGSKORT","JAPANESE_CREDIT_BUREAU_CREDIT","MAESTRO"]}},"required":["card_pool_name","client_id","invoice_profile_id","usage_allowed_for"]},"WorldlineWebhookResponseSchema":{"type":"object","properties":{"status":{"type":"string"},"reason":{"type":"string","x-nullable":true}},"required":["status"]},"WebhookPayloadSchema":{"type":"object","properties":{"orderId":{"type":"string","x-nullable":true},"paymentId":{"type":"string","x-nullable":true}}}},"responses":{"ParseError":{"description":"When a mask can't be parsed"},"MaskError":{"description":"When any error occurs on mask"},"Exception":{}}}
