GymMaster

App · 6 actions

Read reports, key performance indicators and dashboards from GymMaster.

Actions

ActionWhat it does
List dashboardsList dashboards.
List KPI categoriesList kpi categories.
List KPI fieldsList kpi fields.
List reportsList reports.
Run dashboardRun dashboard.
Run reportRun 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 onlypredefined_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

EndpointendpointtextRequired
An endpoint returned by `/dashboard/list`
Start datestart_datedate
ISO date string to override the default date the dashboard widget is run as of
End dateend_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 datestart_datetextRequired
ISO date string
End dateend_datetextRequired
ISO date string
Reportreport_idnumberRequired
Report id.
Company idcompany_idnumber
Company id.

Outputs

dataobject
The response from GymMaster.
Example output
{
  "data": {
    "cached_result": false,
    "error": "example",
    "result": []
  }
}

On this page