---
title: "PATCH /admin/report_settings"
method: PATCH
path: "/admin/report_settings"
tags: ["admin"]
---

# PATCH /admin/report_settings

`PATCH /admin/report_settings`

## Request

- Base URL: `https://app.getgoing.com`
- URL: `https://app.getgoing.com/admin/report_settings`
- Auth: API key in header `Authorization`

## Request body

- UpdateReportSetting[] (unresolved $ref)

## Response `200`

Request fulfilled, document follows

- ReportSettingSchema[]
  - `id` integer
  - `company_id` integer
  - `name` '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` string, nullable
  - `hidden` boolean, nullable
  - `mandatory` boolean, nullable
  - `field_type` 'alnum' | 'alpha' | 'numeric' | 'date'
  - `min_length` integer, nullable
  - `max_length` integer, nullable
  - `allow_specials` boolean, nullable
  - `possible_values` 'list_of_departments' | 'list_of_offices' | 'list_of_trip_purposes' | 'yes_or_no'
  - `options` string, nullable
  - `default_value` string, nullable
  - `page` 'payment_and_confirmation' | 'traveler_profile'
  - `visible_on_page` boolean
  - `editable_on_page` boolean
  - `locked` boolean

## Other responses

- `422`: Success

---

[API](https://skmtc.dev/getgoing/apis/getgoing-api.md) - [All operations](https://skmtc.dev/getgoing/apis/getgoing-api/llms.txt) - [OpenAPI document](https://skmtc.dev/getgoing/apis/getgoing-api/revisions/7546f102cf69?raw)
