HomeGuidesAPI ReferenceChangelog
Terms of Use
API Reference

Reimbursement report / set custom fields

⚠️ Experimental endpoint — not yet a stable contract. This action ships as experimental / beta. While experimental, its schema and behaviour may change without a version bump — including breaking changes within v1.0 itself. Anyone consuming it does so for evaluation only, or by coordinating adoption with their account manager so changes can be sequenced with them. It graduates to a stable, version-locked contract (where the normal breaking-change rules apply) only when this experimental notice is removed.

Set the applicable live custom field values of a reimbursement report without changing the report, its constituent reimbursement records, timestamps or generated output. This action requires permission to view the reimbursement report and the ReimbursementReports.update-custom-fields permission.

The customFields object accepts Boolean, Text, Long text, Email, URL, Number, Date, Date-time and JSON values according to each administrator-defined field. It may be empty. Omitted identifiers remain unchanged, while an explicit null clears the corresponding value. Every submitted identifier is validated against the report's current operator owner, the current custom field configuration and the acting administrator's access. Unknown, inapplicable or currently disabled identifiers return a 422 error keyed as customFields.<identifier>, and no submitted values are changed.

This write action does not accept query parameters or includes. The response is the current default read representation after applying the values, including the report's prepared monetary aggregates; customFields remains live metadata and is not a point-in-time snapshot.

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

The reimbursement report ID.

Body Params
customFields
object
required

Custom field values keyed by their administrator-defined identifiers. The accepted type for each identifier is defined by the tenant's custom field configuration. Boolean values are JSON booleans; text and long text values are strings; email values are email-formatted strings; URL values are HTTP or HTTPS URL strings; number values use canonical base-10 decimal strings from -99999999999999.999999 through 99999999999999.999999 with up to six fractional digits and no insignificant trailing fractional zeroes; date values are ISO 8601 YYYY-MM-DD strings; date-time values are ISO 8601 timestamps with a UTC offset; and JSON values may use any JSON-serializable value. Decimal strings are the precision-safe number request representation. JSON numeric inputs remain accepted for compatibility, but their precision may depend on the client's number handling.

Responses

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