# GymMaster

> Read reports, key performance indicators and dashboards from GymMaster.

App · 6 actions. Web page: https://docs.lodol.com/docs/integrations/gymmaster

## Actions

### List dashboards

List dashboards.

**Inputs**: None.

**Outputs**

- `data` (object): The response from GymMaster.

**Example output**

```json
{
  "data": {
    "error": "example",
    "result": []
  }
}
```

### List KPI categories

List kpi categories.

**Inputs**: None.

**Outputs**

- `data` (object): The response from GymMaster.

**Example output**

```json
{
  "data": {
    "error": "example",
    "result": []
  }
}
```

### List KPI fields

List kpi fields.

**Inputs**: None.

**Outputs**

- `data` (object): The response from GymMaster.

**Example output**

```json
{
  "data": {
    "error": "example",
    "result": []
  }
}
```

### List reports

List reports.

**Inputs**

- Predefined only (`predefined_only`, true/false): Exclude copies of reports generated by the user. Defaults to true. Query parameter value if supplied will be coerced to a boolean

**Outputs**

- `data` (object): The response from GymMaster.

**Example output**

```json
{
  "data": {
    "error": "example",
    "result": []
  }
}
```

### Run dashboard

Run dashboard.

**Inputs**

- Endpoint (`endpoint`, text, required): An endpoint returned by `/dashboard/list`
- Start date (`start_date`, date): ISO date string to override the default date the dashboard widget is run as of
- End date (`end_date`, date): 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**

- `data` (object): The response from GymMaster.

**Example output**

```json
{
  "data": {
    "error": "example",
    "result": {}
  }
}
```

### Run report

Run report.

**Inputs**

- Start date (`start_date`, text, required): ISO date string
- End date (`end_date`, text, required): ISO date string
- Report (`report_id`, number, required): Report id.
- Company id (`company_id`, number): Company id.

**Outputs**

- `data` (object): The response from GymMaster.

**Example output**

```json
{
  "data": {
    "cached_result": false,
    "error": "example",
    "result": []
  }
}
```
