API reference
All operations
REPORTING

Retrieves a paginated, searchable lookup list of branches for use in report filter UIs.

Deleted branches are excluded.

GET/api/v2/reporting/lookups/branches

Authentication

Choose one supported method for this request.

OAuth 2.0 client credentials

Parameters

searchquerystring

Optional. Returns only branches whose name contains this text.

pageNumberqueryinteger · int32

The page number to retrieve (1-based). Defaults to 1; values below 1 are treated as 1.

pageSizequeryinteger · int32

The number of records per page. Defaults to 20, maximum 200; values below 1 are treated as 20.

Responses

Lookup page retrieved successfully.

Standard response envelopeisSuccessmessageerrorsdata

Read the result from data. When isSuccess is false, errors lists what went wrong. Handling errors

Paginated
dataPaginatedResponse<LookupItemDto[]>
  • totalCountinteger · int32
    • idinteger · int32
    • valuestring
  • pageCountinteger · int32
  • currentPageCountinteger · int32
  • nextPageNumberinteger · int32nullable
  • hasNextPageboolean