GymMaster
App · 6 actions
Read reports, key performance indicators and dashboards from GymMaster.
Actions
| Action | What it does |
|---|---|
| List dashboards | List dashboards. |
| List KPI categories | List kpi categories. |
| List KPI fields | List kpi fields. |
| List reports | List reports. |
| Run dashboard | Run dashboard. |
| Run report | Run report. |
List dashboards
List dashboards.
Inputs
None.
Outputs
dataobject- The response from GymMaster.
Example output
{
"data": {
"error": "example",
"result": []
}
}List KPI categories
List kpi categories.
Inputs
None.
Outputs
dataobject- The response from GymMaster.
Example output
{
"data": {
"error": "example",
"result": []
}
}List KPI fields
List kpi fields.
Inputs
None.
Outputs
dataobject- The response from GymMaster.
Example output
{
"data": {
"error": "example",
"result": []
}
}List reports
List reports.
Inputs
- Predefined only
predefined_onlytrue/false - Exclude copies of reports generated by the user. Defaults to true. Query parameter value if supplied will be coerced to a boolean
Outputs
dataobject- The response from GymMaster.
Example output
{
"data": {
"error": "example",
"result": []
}
}Run dashboard
Run dashboard.
Inputs
- Endpoint
endpointtextRequired - An endpoint returned by `/dashboard/list`
- Start date
start_datedate - ISO date string to override the default date the dashboard widget is run as of
- End date
end_datedate - ISO date string to override the default date the dashboard widget is run as of. Note that if both a start and end date is provided, this will completely override any logic the widget uses to determine what dates to fetch data from.
Outputs
dataobject- The response from GymMaster.
Example output
{
"data": {
"error": "example",
"result": {}
}
}Run report
Run report.
Inputs
- Start date
start_datetextRequired - ISO date string
- End date
end_datetextRequired - ISO date string
- Report
report_idnumberRequired - Report id.
- Company id
company_idnumber - Company id.
Outputs
dataobject- The response from GymMaster.
Example output
{
"data": {
"cached_result": false,
"error": "example",
"result": []
}
}