Update expense report (fields format of expense report)

Updates an expense report from a fields-format payload — the same field-builder envelope returned by GET /me/organizations/{id}/expensereports/fields. Validation errors are returned in the same fields-format shape so the client can merge them back into the form fields.

Path Params
string
required
^[0-9a-fA-F]{32}$

Id of the expense report.

Query Params
string
required

Info about the structure passed in the body of request

boolean

When true, saves the report even if non-blocking validation warnings exist; validation errors still abort. Defaults to false.

Body Params

Fields format of expense report

meta
object

Field-builder metadata for the expense report. Contains the summary, the caller's capability flags, and a preview URL.

fields
array of objects

Field-builder array describing the expense report's editable values. Each entry pairs a property name with a value and any errors.

fields
Responses

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