Export requests

Send a request search query (in HRQL format) and return the request search results in CSV format

Body required
application/json

The request search query

query
string | null

The HRQL query to use for the search, represents the way to filter requests. Filters nothing if not specified

fields
array of string | null

The fields to be returned by the search. If this parameter is not specified, everything is returned by default. If this parameter is equal to an empty array, only the _id field is returned

sortedBy
array of objects | null (SortElement)

The way to sort the search results

pageIndex
integer | null

The index of the page to retrieve

pageSize
integer | null

The maximum number of items to retrieve for one page

withCount
boolean | null

Whether to return the total count of requests matching the HRQL query

scope
string | null

The scope of the search. manage only searches among requests that the currently logged in user has the rights to manage. search searches among all visible requests to the logged in user. self searches among requests that the currently logged in user or its team has issued

Enum manage search self
Responses
  • 200 The request search results in CSV format
  • 400 Invalid request
  • 401 Unauthorized request
  • 403 Unauthorized request
  • 500 Internal server error