# ScoreApp

> Read scorecards, quiz questions, categories, results and answers. Start workflows when quizzes are started or finished.

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

## Actions

### Get a quiz result

Get a quiz result.

**Inputs**

- Scorecard (`scorecard_id`, text, required): Scorecard id.
- Result ID (`result_id`, text, required): Result id.
- Include (`include`, list): Extra information to return. One or more of: `answers`, `scores`, `source`, `activity`, `additional_data` (Additional data).

**Outputs**

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

**Example output**

```json
{
  "data": {
    "data": {
      "created_at": "example",
      "email": "example",
      "first_name": "example",
      "id": "example",
      "key": "example",
      "last_name": "example",
      "purchased": false,
      "status": "example"
    }
  }
}
```

### List quiz result answers

List quiz result answers.

**Inputs**

- Scorecard (`scorecard_id`, text, required): Scorecard id.
- Result ID (`result_id`, text, required): Result id.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "data": []
  }
}
```

### List quiz results

List quiz results.

**Inputs**

- Scorecard (`scorecard_id`, text, required): Scorecard id.
- Page (`page`, number): Page. At least 1.
- Limit (`limit`, number): Limit. From 1 to 100.
- Search (`search`, text): Search.
- From date (`from_date`, date and time): From date.
- To date (`to_date`, date and time): To date.
- Status (`status`, text): Status. One of: `started`, `finished`.
- Response count (`response_count`, text): Response count. One of: `single`, `multiple`.
- Order by (`order_by`, text): Order by. One of: `first_name` (First name), `last_name` (Last name), `email`, `created_at` (Created at), `id`.
- Order dir (`order_dir`, text): Order dir. One of: `asc`, `desc`.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "data": [],
    "links": {
      "next": "example"
    },
    "meta": {
      "current_page": 1,
      "last_page": 1,
      "total": 1
    }
  }
}
```

### List scorecard categories

List scorecard categories.

**Inputs**

- Scorecard (`scorecard_id`, text, required): Scorecard id.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "data": []
  }
}
```

### List scorecard questions

List scorecard questions.

**Inputs**

- Scorecard (`scorecard_id`, text, required): Scorecard id.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "data": []
  }
}
```

### List scorecards

List scorecards.

**Inputs**

- Page (`page`, number): Page. At least 1.
- Limit (`limit`, number): Limit. From 1 to 100.
- Search (`search`, text): Search.
- Status (`status`, text): Status. One of: `draft`, `live`, `template`.
- Order by (`order_by`, text): Order by. One of: `name`, `created_at` (Created at), `updated_at` (Updated at).
- Order dir (`order_dir`, text): Order dir. One of: `asc`, `desc`.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "data": [],
    "links": {
      "next": "example"
    },
    "meta": {
      "current_page": 1,
      "last_page": 1,
      "total": 1
    }
  }
}
```
