Dashboards

Use dashboard operations to manage the user's dashboard and its tabs with metrics over key performance indicators. Each tab is a customizable view of tiles that display report data.

Retrieve profile dashboard
Experimental

Request

Retrieves the profile dashboard configuration.

Security
SecretApiKey or JWT
curl -i -X GET \
  https://www.rebilly.com/_mock/catalog/all/profile/dashboard \
  -H 'REB-APIKEY: YOUR_API_KEY_HERE'

Responses

Profile dashboard retrieved.

Bodyapplication/json
dateRangestring

Date range of the dashboard, in ISO-8601 interval format, extended with NOW and relative anchor tokens for relative dates. This range applies to every tile that does not define its own dateRange. Supported formats:

  • Start and end: 2024-01-01T00:00:00Z/2024-02-01T00:00:00Z.
  • Start and duration 2024-01-01T00:00:00Z/P1M.
  • Duration and end: P1M/2024-02-01T00:00:00Z.
  • Now and duration: NOW-P1M/NOW. This format represents the last month.
  • Month before last month: NOW-P2M/NOW-P1M.
  • Anchor tokens: NOW_D, NOW_W, NOW_M and NOW_Y resolve to the start of the current day, week, month or year when used as the start of the range, and to the end of that period when used as the end of the range. Combine an anchor with a signed duration, for example NOW_M-P1M, to shift the period after snapping to the boundary.
  • Today: NOW_D/NOW_D.
  • Yesterday: NOW_D-P1D/NOW_D-P1D.
  • This week: NOW_W/NOW_D.
  • Last week: NOW_W-P1W/NOW_W-P1W.
  • Last month: NOW_M-P1M/NOW_M-P1M.
Default:"NOW-P1M/NOW"
periodStartstring, (date-time)read-only

Date and time when the dashboard period starts. The value is resolved from dateRange.

periodEndstring, (date-time)read-only

Date and time when the dashboard period ends. The value is resolved from dateRange.

tabsArray of objects, <= 10 items(DashboardTab)required

List of dashboard tabs.

Response
{ "dateRange": "NOW-P1M/NOW", "periodStart": "2019-08-24T14:15:22Z", "periodEnd": "2019-08-24T14:15:22Z", "tabs": [ {} ] }