Reporting V2

List all reports

Changed on

Lists all reports generated from your marketplace.

get/reporting/v2/reports

Request

Query parameters

ownerType'ROLE_CHANNEL_ADMIN' | 'ROLE_DEVELOPER' | 'ROLE_RESELLER_MANAGER' | 'ROLE_PARTNER'

The owner type that is allowed access to the reports

reportNamestring

Filter reports by name

datestring

Time bound for filtering reports based on the from_date and to_date fields. Use gte([Unix timestamp]) for a lower bound (inclusive) or lte([Unix timestamp]) for an upper bound (inclusive). The timestamp must be in milliseconds.

numberinteger

The page number of the requested result. The first page has index 1

sizeinteger

The page size of the requested result

searchTextstring

Show only reports whose names contain this text

Response

A list of all all reports matching the search criteria

Example response

{
  "content": [
    {
      "uuid": "00a667b0-3504-48c4-a8dc-c384ea2fb958",
      "reportName": "channel-companies",
      "jobName": "channel-companies-APPDIRECT",
      "name": "All companies report",
      "ownerType": "ROLE_CHANNEL_ADMIN",
      "ownerCompanyId": null,
      "ownerPartner": "APPDIRECT",
      "status": "SUCCESSFUL",
      "runDate": 1518656044000,
      "fromDate": null,
      "toDate": null,
      "params": {
        "enableStatus": "NULL",
        "activeStatus": "NULL",
        "partner": "APPDIRECT",
        "marketplaceStatus": "NULL",
        "developerStatus": "NULL"
      },
      "createdBy": "John Smith",
      "formatType": "CSV"
    }
  ],
  "page": {
    "size": 50,
    "totalElements": 1,
    "totalPages": 1,
    "number": 1
  }
}

Changes