# DeskTime

> Read company work settings, active projects and daily employee time for workforce reports. Read-only beta integration.

App · 3 actions. Web page: https://docs.lodol.com/docs/integrations/desktime

## Actions

### Get company

Get company using the documented API. Returns the records visible to this API credential.

**Inputs**: None.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "name": "Example Company",
    "timezone_identifier": "Europe/London",
    "work_ends": "17:00:00",
    "work_starts": "09:00:00"
  }
}
```

### Get employee daily data

Get employee daily data using the documented API. Returns the records visible to this API credential.

**Inputs**

- Employee ID (`employee_id`, number): Employee ID; omit to read the connected user.
- Date (`date`, text): Date in YYYY-MM-DD format; defaults to today.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "desktimeTime": 3600,
    "email": "employee@example.com",
    "id": 1,
    "name": "Example Employee"
  }
}
```

### List active projects

List active projects using the documented API. Returns the records visible to this API credential.

**Inputs**: None.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "projects": [
      {
        "id": 1,
        "name": "Example Project",
        "tasks": [
          {
            "id": 1,
            "name": "Delivery"
          }
        ]
      }
    ]
  }
}
```
