Update a trip as super-admin

Update an existing trip on behalf of a traveler, overriding policy validation with an explicit policy and acknowledged violations. Company super-admin only.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
number
required

Trip ID

Body Params

Updated trip values, override policy, and acknowledged violations.

values
object
required

Trip values to update, keyed by field. Any field whose type is REFERENCE_ADD in GET /trip-fields (e.g. location_abroad, client_address_abroad) takes either free text or the address as parts (street, postalCode, city, country; optional houseNumber, houseNumberAddition, region). An object on any other field returns 400.

number

Traveler the trip belongs to; defaults to the current user.

number
required

Policy ID to apply, overriding automatic policy matching.

violatedRules
array of strings
required

Keys of the policy rules the super-admin has acknowledged.

violatedRules*
boolean

Defaults to false. When true, the trip's travel reason is still stored and filed, but it never decides whether a notification (PWD) process runs: the reason check against the company's process settings is treated as passed, and travel_reason and its follow-up questions are not requested. Min-trip-days, posting exemptions and the AT high-earner rule still apply.

Combine with processKeys: processKeys chooses which processes may run, this flag stops the reason from vetoing them.

Persisted on the trip, so POST /processes/rerun/{tripId} and later updates keep it; an update without the field leaves it unchanged. Only admin, personal-assistant and travel-manager roles may set it.

Response

Language
Credentials
Bearer
JWT
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json