- Mock serverhttps://www.rebilly.com/_mock/catalog/all/profile/dashboard
- Sandbox serverhttps://api-sandbox.rebilly.com/organizations/{organizationId}/profile/dashboard
- Live serverhttps://api.rebilly.com/organizations/{organizationId}/profile/dashboard
curl -i -X GET \
https://www.rebilly.com/_mock/catalog/all/profile/dashboard \
-H 'REB-APIKEY: YOUR_API_KEY_HERE'Profile dashboard retrieved.
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_MandNOW_Yresolve 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 exampleNOW_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"
Date and time when the dashboard period starts. The value is resolved from dateRange.
Date and time when the dashboard period ends. The value is resolved from dateRange.
Response
{ "dateRange": "NOW-P1M/NOW", "periodStart": "2019-08-24T14:15:22Z", "periodEnd": "2019-08-24T14:15:22Z", "tabs": [ { … } ] }