Skip to main content
GET
/
analytics
/
dashboards
/
product-sales-breakdown
/
revenue-breakdown-groups
Get Revenue Breakdown Groups
curl --request GET \
  --url https://api.decodahealth.com/analytics/dashboards/product-sales-breakdown/revenue-breakdown-groups \
  --header 'API-KEY: <api-key>' \
  --header 'TENANT: <tenant>'
[
  {
    "key": "<string>",
    "label": "<string>",
    "total": 123
  }
]

Headers

TENANT
string
required

The tenant you are making this request on behalf of

API-KEY
string
required

Your api key

Query Parameters

group_by
enum<string>
required
Available options:
location,
provider,
item_category,
payment_medium,
created_date
timezone
string
required

Timezone for date grouping (e.g., 'America/New_York', 'UTC')

start_date
string | null
end_date
string | null
location_ids
string[] | null
location_names
string[] | null
provider_ids
string[] | null
provider_names
string[] | null
patient_ids
string[] | null
patient_names
string[] | null
item_categories
string[] | null
item_types
string[] | null
item_names
string[] | null
payment_mediums
string[] | null
min_net_amount
number | null
max_net_amount
number | null
comment
string | null

Response

Successful Response

key
string
required
label
string
required
total
integer
required