Skip to navigation

Get the Journal grouping

This endpoint retrieves your Journal grouping: the Journal Line fields that decide which Journal Lines are grouped together.

There is exactly one grouping. The response carries an ETag. Send that value back as If-Match when replacing the grouping, so a change made by someone else in the meantime is rejected rather than overwritten.

Returns 404 until a grouping has been configured.

Authentication

AuthorizationBearer

OAuth authentication of the form <token>.

Response headers

ETagstringOptional

Current entity tag of the resource. Supply it as If-Match on a subsequent update or deactivation.

Response

OK
groupingFieldslist of stringsOptional
Names of Journal Line Definition fields, in order, each at most once. A write replaces the whole list, so an empty or omitted list means no grouping fields.

Errors

401
Unauthorized Error
404
Not Found Error
429
Too Many Requests Error
5XX
Server Error