# Beebole

> Read people, projects, timesheets, expenses, and approvals from Beebole.

App · 15 actions. Web page: https://docs.lodol.com/docs/integrations/beebole

## Actions

### Count time records

Count time records in your Beebole account.

**Inputs**

- Start time (`start_time`, date and time, required): Choose the start of the time range.
- End time (`end_time`, date and time, required): Choose the end of the time range.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "data": {
      "countTimeRecords": 1
    }
  }
}
```

### Get current person

Get current person in your Beebole account.

**Inputs**: None.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "data": {
      "currentPerson": {
        "email": "example",
        "name": "example"
      }
    }
  }
}
```

### Get organization

Get organization in your Beebole account.

**Inputs**: None.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "data": {
      "currentOrganisation": {
        "id": "example",
        "locked": true,
        "name": "example"
      }
    }
  }
}
```

### Get person

Get person in your Beebole account.

**Inputs**

- Record (`record_id`, text, required): Select an existing record.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "data": {
      "getPerson": {
        "id": "example",
        "name": "example"
      }
    }
  }
}
```

### Get project

Get project in your Beebole account.

**Inputs**

- Record (`record_id`, text, required): Select an existing record.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "data": {
      "getProject": {
        "id": "example",
        "name": "example"
      }
    }
  }
}
```

### Get task

Get task in your Beebole account.

**Inputs**

- Record (`record_id`, text, required): Select an existing record.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "data": {
      "getTask": {
        "id": "example",
        "name": "example"
      }
    }
  }
}
```

### List absence types

List absence types in your Beebole account.

**Inputs**: None.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "data": {
      "getAbsenceTypes": [
        {
          "id": "example",
          "name": "example"
        }
      ]
    }
  }
}
```

### List expenses

List expenses in your Beebole account.

**Inputs**

- Start time (`start_time`, date and time, required): Choose the start of the time range.
- End time (`end_time`, date and time, required): Choose the end of the time range.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "data": {
      "getExpenseRecords": [
        {
          "amount": {
            "currency": "example",
            "value": 1
          },
          "comment": "example",
          "id": "example"
        }
      ]
    }
  }
}
```

### List pending approvals

List pending approvals in your Beebole account.

**Inputs**

- Show all (`show_all`, true/false): Show approvals visible to you across the organization.
- Time off (`time_off`, true/false): Include time-off requests.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "data": {
      "getPendingApprovals": [
        {
          "kind": "example",
          "status": "example",
          "submitId": "example"
        }
      ]
    }
  }
}
```

### List people

List people in your Beebole account.

**Inputs**

- Archived (`archived`, true/false): Include archived records.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "data": {
      "getPersons": [
        {
          "id": "example",
          "name": "example"
        }
      ]
    }
  }
}
```

### List project categories

List project categories in your Beebole account.

**Inputs**: None.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "data": {
      "getProjectCategories": [
        {
          "id": "example",
          "name": "example"
        }
      ]
    }
  }
}
```

### List projects

List projects in your Beebole account.

**Inputs**

- Archived (`archived`, true/false): Include archived records.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "data": {
      "getProjects": [
        {
          "id": "example",
          "name": "example"
        }
      ]
    }
  }
}
```

### List tags

List tags in your Beebole account.

**Inputs**: None.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "data": {
      "getTags": [
        {
          "id": "example",
          "name": "example"
        }
      ]
    }
  }
}
```

### List tasks

List tasks in your Beebole account.

**Inputs**: None.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "data": {
      "getTasks": [
        {
          "id": "example",
          "name": "example"
        }
      ]
    }
  }
}
```

### List time records

List time records in your Beebole account.

**Inputs**

- Start time (`start_time`, date and time, required): Choose the start of the time range.
- End time (`end_time`, date and time, required): Choose the end of the time range.
- Time (`time`, true/false): Include worked time.
- Absence (`absence`, true/false): Include absences.
- Wfh (`wfh`, true/false): Include work from home.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "data": {
      "getTimeRecords": [
        {
          "duration": 1,
          "id": "example",
          "nonBillable": true,
          "startTime": {
            "iso": "example",
            "ts": 1
          }
        }
      ]
    }
  }
}
```
