# Runn

> Plan people on projects in Runn: schedule assignments, log time, book leave and keep projects and clients up to date.

App · 30 actions. Web page: https://docs.lodol.com/docs/integrations/runn

## Actions

### Add a project note

Add a note to a project.

**Inputs**

- Project (`project_id`, number, required): The project.
- Note (`note`, text, required): The note's text.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "createdAt": "example",
    "createdBy": "example",
    "createdByEmail": "example",
    "id": 1,
    "note": "example",
    "projectId": 1,
    "updatedAt": "example"
  }
}
```

### Add leave

Book leave for a person. Runn merges it with any leave it overlaps.

**Inputs**

- Person (`person_id`, number, required): The person (or placeholder).
- Start date (`start_date`, date, required): The first day of leave.
- End date (`end_date`, date, required): The last day of leave.
- Minutes per day (`minutes_per_day`, number): For part days, the minutes of leave on each day. Leave empty for whole days. From 0 to 1440.
- Note (`note`, text): A note about the leave.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "createdAt": "example",
    "endDate": "example",
    "id": 1,
    "minutesPerDay": 1,
    "note": "example",
    "personId": 1,
    "startDate": "example",
    "updatedAt": "example"
  }
}
```

### Create a client

Add a client that projects can be run for.

**Inputs**

- Name (`name`, text, required): The client's name.
- Website (`website`, text): The client's website, starting with https://.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "createdAt": "example",
    "id": 1,
    "isArchived": true,
    "name": "example",
    "references": [
      {
        "externalId": "example",
        "referenceName": "example"
      }
    ],
    "updatedAt": "example",
    "website": "example"
  }
}
```

### Create a milestone

Add a milestone to a project's schedule.

**Inputs**

- Project (`project_id`, number, required): The project.
- Title (`title`, text, required): The milestone's name.
- Date (`date`, date, required): The day of the milestone.
- Icon (`icon`, text, required): The icon shown on the schedule. One of: `flag`, `start`, `end`, `dollar`, `warning`.
- Note (`note`, text): A note about the milestone.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "createdAt": "example",
    "date": "example",
    "icon": "example",
    "id": 1,
    "note": "example",
    "projectId": 1,
    "title": "example",
    "updatedAt": "example"
  }
}
```

### Create a person

Add a person to Runn, with the role and contract they start on.

**Inputs**

- First name (`first_name`, text, required): The person's first name.
- Last name (`last_name`, text, required): The person's last name.
- Role (`role_id`, number, required): The role the work is done in.
- Email (`email`, text): The person's email address.
- Job title (`job_title`, text): The job title on the person's first contract.
- Team (`team`, number): The team the person belongs to.
- Start date (`start_date`, date): When the person's first contract starts.
- End date (`end_date`, date): When the person's first contract ends. Leave empty for an ongoing contract.
- Employment type (`employment_type`, text): Whether the person is an employee or a contractor. One of: `employee`, `contractor`.
- Cost per hour (`cost_per_hour`, number): What an hour of the person's time costs.
- Minutes per day (`minutes_per_day`, number): How many minutes a day the person works, such as 480 for 8 hours. From 0 to 1440.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "createdAt": "example",
    "customFields": {
      "checkbox": [
        {
          "id": 1,
          "name": "example",
          "value": true
        }
      ],
      "date": [
        {
          "id": 1,
          "name": "example",
          "value": "example"
        }
      ],
      "select": [
        {
          "id": 1,
          "name": "example",
          "values": [
            {
              "id": 1,
              "name": "example"
            }
          ]
        }
      ],
      "text": [
        {
          "id": 1,
          "name": "example",
          "value": "example"
        }
      ]
    },
    "email": "example",
    "firstName": "example",
    "holidaysGroupId": 1,
    "id": 1,
    "isArchived": true,
    "isPlaceholder": true,
    "lastName": "example",
    "managers": [
      {
        "id": 1
      }
    ],
    "notes": [
      {
        "createdBy": "example",
        "id": 1,
        "note": "example"
      }
    ],
    "references": [
      {
        "externalId": "example",
        "referenceName": "example"
      }
    ],
    "skills": [
      {
        "id": 1,
        "level": 1
      }
    ],
    "tags": [
      {
        "id": 1,
        "name": "example"
      }
    ],
    "teamId": 1,
    "updatedAt": "example"
  }
}
```

### Create a project

Create a project for a client.

**Inputs**

- Name (`name`, text, required): The project's name.
- Client (`client_id`, number, required): The client the project is for.
- Confirmed (`is_confirmed`, true/false): Whether the project is confirmed (true) or tentative (false).
- Pricing model (`pricing_model`, text): How the project is charged. One of: `tm` (Time and materials), `fp` (Fixed price), `nb` (Non-billable).
- Budget (`budget`, number): The project's budget, in the account's currency.
- Expenses budget (`expenses_budget`, number): The budget for the project's other expenses.
- Rate type (`rate_type`, text): Whether rates are charged by the hour or by the day. One of: `hours`, `days`.
- Team (`team`, number): The team that runs the project.
- Emoji (`emoji`, text): An emoji shown beside the project's name.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "budget": 1,
    "budgetMethod": "ROLE",
    "clientId": 1,
    "createdAt": "example",
    "customFields": {
      "checkbox": [
        {
          "id": 1,
          "name": "example",
          "value": true
        }
      ],
      "date": [
        {
          "id": 1,
          "name": "example",
          "value": "example"
        }
      ],
      "select": [
        {
          "id": 1,
          "name": "example",
          "values": [
            {
              "id": 1,
              "name": "example"
            }
          ]
        }
      ],
      "text": [
        {
          "id": 1,
          "name": "example",
          "value": "example"
        }
      ]
    },
    "expensesBudget": 1,
    "id": 1,
    "isArchived": true,
    "isConfirmed": true,
    "isTemplate": true,
    "managerIds": [
      1
    ],
    "name": "example",
    "pricingModel": "fp",
    "rateCardId": 1,
    "rateType": "hours",
    "references": [
      {
        "externalId": "example",
        "referenceName": "example"
      }
    ],
    "tags": [
      {
        "id": 1,
        "name": "example"
      }
    ],
    "teamId": 1,
    "updatedAt": "example"
  }
}
```

### Create an assignment

Schedule a person on a project for the same minutes on every working day between two dates.

**Inputs**

- Person (`person_id`, number, required): The person (or placeholder).
- Project (`project_id`, number, required): The project.
- Role (`role_id`, number, required): The role the work is done in.
- Start date (`start_date`, date, required): The first day of the assignment.
- End date (`end_date`, date, required): The last day of the assignment.
- Minutes per day (`minutes_per_day`, number, required): Minutes of work on each day, such as 240 for half a day. Up to 1440 for a person. At least 0.
- Billable (`is_billable`, true/false): Whether the time is billable.
- Non-working day (`is_non_working_day`, true/false): Schedule the work on non-working days too.
- Note (`note`, text): A note about the assignment.

**Outputs**

- `data` (list): The response from Runn.

**Example output**

```json
{
  "data": [
    {
      "createdAt": "example",
      "endDate": "example",
      "id": 1,
      "isActive": true,
      "isBillable": true,
      "isNonWorkingDay": true,
      "isPlaceholder": true,
      "isTemplate": true,
      "minutesPerDay": 1,
      "note": "example",
      "personId": 1,
      "phaseId": 1,
      "projectId": 1,
      "roleId": 1,
      "startDate": "example",
      "updatedAt": "example",
      "workstreamId": 1
    }
  ]
}
```

### Delete a milestone

Delete a milestone from a project.

**Inputs**

- Project (`project_id`, number, required): The project.
- Milestone (`milestone_id`, number, required): The milestone to delete.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "deleted": true,
    "id": 1
  }
}
```

### Delete a person

Delete a person or placeholder. Runn refuses while they have assignments or logged time, unless you force it.

**Inputs**

- Person (`person_id`, number, required): The person (or placeholder).
- Force (`force`, true/false): Delete the person along with their assignments and logged time.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "deleted": true,
    "id": 1
  }
}
```

### Delete a project

Delete a project. Runn refuses while the project has assignments or logged time.

**Inputs**

- Project (`project_id`, number, required): The project.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "deleted": true,
    "id": 1
  }
}
```

### Delete an assignment

Delete an assignment from the schedule.

**Inputs**

- Assignment ID (`assignment_id`, number, required): The assignment to delete. Use the id from List assignments or Create an assignment.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "deleted": true,
    "id": 1
  }
}
```

### Delete leave

Delete a person's leave.

**Inputs**

- Leave ID (`time_off_id`, number, required): The leave to delete. Use the id from List leave or Add leave.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "deleted": true,
    "id": 1
  }
}
```

### Delete logged time

Delete one day's logged time (an actual).

**Inputs**

- Actual ID (`actual_id`, number, required): The logged time to delete. Use the id from List logged time or Log time.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "deleted": true,
    "id": 1
  }
}
```

### Get a person

Get one person or placeholder, with their tags, skills, notes and custom fields.

**Inputs**

- Person (`person_id`, number, required): The person (or placeholder).

**Outputs**

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

**Example output**

```json
{
  "data": {
    "createdAt": "example",
    "customFields": {
      "checkbox": [
        {
          "id": 1,
          "name": "example",
          "value": true
        }
      ],
      "date": [
        {
          "id": 1,
          "name": "example",
          "value": "example"
        }
      ],
      "select": [
        {
          "id": 1,
          "name": "example",
          "values": [
            {
              "id": 1,
              "name": "example"
            }
          ]
        }
      ],
      "text": [
        {
          "id": 1,
          "name": "example",
          "value": "example"
        }
      ]
    },
    "email": "example",
    "firstName": "example",
    "holidaysGroupId": 1,
    "id": 1,
    "isArchived": true,
    "isPlaceholder": true,
    "lastName": "example",
    "managers": [
      {
        "id": 1
      }
    ],
    "notes": [
      {
        "createdBy": "example",
        "id": 1,
        "note": "example"
      }
    ],
    "references": [
      {
        "externalId": "example",
        "referenceName": "example"
      }
    ],
    "skills": [
      {
        "id": 1,
        "level": 1
      }
    ],
    "tags": [
      {
        "id": 1,
        "name": "example"
      }
    ],
    "teamId": 1,
    "updatedAt": "example"
  }
}
```

### Get a project

Get one project, with its budget, pricing, tags and custom fields.

**Inputs**

- Project (`project_id`, number, required): The project.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "budget": 1,
    "budgetMethod": "ROLE",
    "clientId": 1,
    "createdAt": "example",
    "customFields": {
      "checkbox": [
        {
          "id": 1,
          "name": "example",
          "value": true
        }
      ],
      "date": [
        {
          "id": 1,
          "name": "example",
          "value": "example"
        }
      ],
      "select": [
        {
          "id": 1,
          "name": "example",
          "values": [
            {
              "id": 1,
              "name": "example"
            }
          ]
        }
      ],
      "text": [
        {
          "id": 1,
          "name": "example",
          "value": "example"
        }
      ]
    },
    "expensesBudget": 1,
    "id": 1,
    "isArchived": true,
    "isConfirmed": true,
    "isTemplate": true,
    "managerIds": [
      1
    ],
    "name": "example",
    "pricingModel": "fp",
    "rateCardId": 1,
    "rateType": "hours",
    "references": [
      {
        "externalId": "example",
        "referenceName": "example"
      }
    ],
    "tags": [
      {
        "id": 1,
        "name": "example"
      }
    ],
    "teamId": 1,
    "updatedAt": "example"
  }
}
```

### Get the connected account

Get the name of the API token and the Runn account it acts on.

**Inputs**: None.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "account": {
      "id": 1,
      "name": "example",
      "type": "live"
    },
    "name": "example"
  }
}
```

### List assignments

List the work people are scheduled to do, by person, project, role or dates.

**Inputs**

- Person (`person_id`, number): The person (or placeholder).
- Project (`project_id`, number): The project.
- Role (`role_id`, number): The role the work is done in.
- From (`start_date`, date): Only assignments on or after this day.
- To (`end_date`, date): Only assignments on or before this day.
- Changed after (`modified_after`, date and time): Only assignments changed after this moment.
- Sort by (`sort_by`, text): The field to sort by. One of: `createdAt` (Created), `updatedAt` (Updated), `id`.
- Order (`order`, text): Sort order. One of: `asc` (Oldest first), `desc` (Newest first).
- Page size (`limit`, number): How many records to return in this page, from 1 to 200. Runn's default is 50. From 1 to 200.
- Next page cursor (`cursor`, text): The nextCursor from an earlier page, to read the page after it.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "nextCursor": "example",
    "values": [
      {
        "createdAt": "example",
        "endDate": "example",
        "id": 1,
        "isActive": true,
        "isBillable": true,
        "isNonWorkingDay": true,
        "isPlaceholder": true,
        "isTemplate": true,
        "minutesPerDay": 1,
        "note": "example",
        "personId": 1,
        "phaseId": 1,
        "projectId": 1,
        "roleId": 1,
        "startDate": "example",
        "updatedAt": "example",
        "workstreamId": 1
      }
    ]
  }
}
```

### List clients

List clients, one page at a time, optionally by name or change time.

**Inputs**

- Name (`name`, text): Only clients whose name contains this text.
- Changed after (`modified_after`, date and time): Only clients changed after this moment.
- Sort by (`sort_by`, text): The field to sort by. One of: `createdAt` (Created), `updatedAt` (Updated), `id`.
- Order (`order`, text): Sort order. One of: `asc` (Oldest first), `desc` (Newest first).
- Page size (`limit`, number): How many records to return in this page, from 1 to 200. Runn's default is 50. From 1 to 200.
- Next page cursor (`cursor`, text): The nextCursor from an earlier page, to read the page after it.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "nextCursor": "example",
    "values": [
      {
        "createdAt": "example",
        "id": 1,
        "isArchived": true,
        "name": "example",
        "references": [
          {
            "externalId": "example",
            "referenceName": "example"
          }
        ],
        "updatedAt": "example",
        "website": "example"
      }
    ]
  }
}
```

### List leave

List people's leave, by person or dates.

**Inputs**

- Person (`person_id`, number): The person (or placeholder).
- From (`start_date`, date): Only leave on or after this day.
- To (`end_date`, date): Only leave on or before this day.
- Changed after (`modified_after`, date and time): Only leave changed after this moment.
- Sort by (`sort_by`, text): The field to sort by. One of: `createdAt` (Created), `updatedAt` (Updated), `id`.
- Order (`order`, text): Sort order. One of: `asc` (Oldest first), `desc` (Newest first).
- Page size (`limit`, number): How many records to return in this page, from 1 to 200. Runn's default is 50. From 1 to 200.
- Next page cursor (`cursor`, text): The nextCursor from an earlier page, to read the page after it.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "nextCursor": "example",
    "values": [
      {
        "createdAt": "example",
        "endDate": "example",
        "id": 1,
        "minutesPerDay": 1,
        "note": "example",
        "personId": 1,
        "startDate": "example",
        "updatedAt": "example"
      }
    ]
  }
}
```

### List logged time

List the time people logged (actuals), by person, project, role or dates.

**Inputs**

- Person (`person_id`, number): The person (or placeholder).
- Project (`project_id`, number): The project.
- Role (`role_id`, number): The role the work is done in.
- From (`min_date`, date): Only time logged on or after this day.
- To (`max_date`, date): Only time logged on or before this day.
- Changed after (`modified_after`, date and time): Only logged time changed after this moment.
- Sort by (`sort_by`, text): The field to sort by. One of: `createdAt` (Created), `updatedAt` (Updated), `id`.
- Order (`order`, text): Sort order. One of: `asc` (Oldest first), `desc` (Newest first).
- Page size (`limit`, number): How many records to return in this page, from 1 to 200. Runn's default is 50. From 1 to 200.
- Next page cursor (`cursor`, text): The nextCursor from an earlier page, to read the page after it.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "nextCursor": "example",
    "values": [
      {
        "billableMinutes": 1,
        "billableNote": "example",
        "createdAt": "example",
        "date": "example",
        "id": 1,
        "nonbillableMinutes": 1,
        "nonbillableNote": "example",
        "personId": 1,
        "phaseId": 1,
        "projectId": 1,
        "roleId": 1,
        "updatedAt": "example",
        "workstreamId": 1
      }
    ]
  }
}
```

### List milestones

List a project's milestones between two days. Runn starts from this week's Monday when no start is given.

**Inputs**

- Project (`project_id`, number, required): The project.
- From (`start_date`, date): Only milestones on or after this day.
- To (`end_date`, date): Only milestones on or before this day.
- Page size (`limit`, number): How many records to return in this page, from 1 to 200. Runn's default is 50. From 1 to 200.
- Next page cursor (`cursor`, text): The nextCursor from an earlier page, to read the page after it.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "nextCursor": "example",
    "values": [
      {
        "createdAt": "example",
        "date": "example",
        "icon": "example",
        "id": 1,
        "note": "example",
        "projectId": 1,
        "title": "example",
        "updatedAt": "example"
      }
    ]
  }
}
```

### List people

List the people in Runn, one page at a time, optionally filtered by name, email or change time.

**Inputs**

- Email (`email`, text): Only people whose email contains this text.
- First name (`first_name`, text): Only people whose first name contains this text.
- Last name (`last_name`, text): Only people whose last name contains this text.
- Include placeholders (`include_placeholders`, true/false): Also list placeholders (unnamed people used for planning).
- Changed after (`modified_after`, date and time): Only people changed after this moment.
- Sort by (`sort_by`, text): The field to sort by. One of: `createdAt` (Created), `updatedAt` (Updated), `id`.
- Order (`order`, text): Sort order. One of: `asc` (Oldest first), `desc` (Newest first).
- Page size (`limit`, number): How many records to return in this page, from 1 to 200. Runn's default is 50. From 1 to 200.
- Next page cursor (`cursor`, text): The nextCursor from an earlier page, to read the page after it.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "nextCursor": "example",
    "values": [
      {
        "createdAt": "example",
        "email": "example",
        "firstName": "example",
        "holidaysGroupId": 1,
        "id": 1,
        "isArchived": true,
        "isPlaceholder": true,
        "lastName": "example",
        "managers": [
          {
            "id": 1
          }
        ],
        "references": [
          {
            "externalId": "example",
            "referenceName": "example"
          }
        ],
        "tags": [
          {
            "id": 1,
            "name": "example"
          }
        ],
        "teamId": 1,
        "updatedAt": "example"
      }
    ]
  }
}
```

### List projects

List projects, one page at a time, optionally by name or change time.

**Inputs**

- Name (`name`, text): Only projects whose name contains this text.
- Include archived (`include_archived`, true/false): Also list archived projects.
- Changed after (`modified_after`, date and time): Only projects changed after this moment.
- Sort by (`sort_by`, text): The field to sort by. One of: `createdAt` (Created), `updatedAt` (Updated), `id`.
- Order (`order`, text): Sort order. One of: `asc` (Oldest first), `desc` (Newest first).
- Page size (`limit`, number): How many records to return in this page, from 1 to 200. Runn's default is 50. From 1 to 200.
- Next page cursor (`cursor`, text): The nextCursor from an earlier page, to read the page after it.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "nextCursor": "example",
    "values": [
      {
        "budget": 1,
        "budgetMethod": "ROLE",
        "clientId": 1,
        "createdAt": "example",
        "customFields": {
          "checkbox": [
            {
              "id": 1,
              "name": "example",
              "value": true
            }
          ],
          "date": [
            {
              "id": 1,
              "name": "example",
              "value": "example"
            }
          ],
          "select": [
            {
              "id": 1,
              "name": "example",
              "values": [
                {
                  "id": 1,
                  "name": "example"
                }
              ]
            }
          ],
          "text": [
            {
              "id": 1,
              "name": "example",
              "value": "example"
            }
          ]
        },
        "expensesBudget": 1,
        "id": 1,
        "isArchived": true,
        "isConfirmed": true,
        "isTemplate": true,
        "managerIds": [
          1
        ],
        "name": "example",
        "pricingModel": "fp",
        "rateCardId": 1,
        "rateType": "hours",
        "references": [
          {
            "externalId": "example",
            "referenceName": "example"
          }
        ],
        "tags": [
          {
            "id": 1,
            "name": "example"
          }
        ],
        "teamId": 1,
        "updatedAt": "example"
      }
    ]
  }
}
```

### List roles

List the roles people work in, with their default cost and charge-out rate.

**Inputs**

- Name (`name`, text): Only roles whose name contains this text.
- Changed after (`modified_after`, date and time): Only roles changed after this moment.
- Page size (`limit`, number): How many records to return in this page, from 1 to 200. Runn's default is 50. From 1 to 200.
- Next page cursor (`cursor`, text): The nextCursor from an earlier page, to read the page after it.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "nextCursor": "example",
    "values": [
      {
        "createdAt": "example",
        "defaultHourCost": 1,
        "id": 1,
        "isArchived": true,
        "name": "example",
        "personIds": [
          1
        ],
        "references": [
          {
            "externalId": "example",
            "referenceName": "example"
          }
        ],
        "standardRate": 1,
        "updatedAt": "example"
      }
    ]
  }
}
```

### List teams

List the account's teams.

**Inputs**

- Changed after (`modified_after`, date and time): Only teams changed after this moment.
- Page size (`limit`, number): How many records to return in this page, from 1 to 200. Runn's default is 50. From 1 to 200.
- Next page cursor (`cursor`, text): The nextCursor from an earlier page, to read the page after it.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "nextCursor": "example",
    "values": [
      {
        "createdAt": "example",
        "id": 1,
        "name": "example",
        "updatedAt": "example"
      }
    ]
  }
}
```

### List users

List the people who can sign in to Runn, with their permissions.

**Inputs**

- Changed after (`modified_after`, date and time): Only users changed after this moment.
- Page size (`limit`, number): How many records to return in this page, from 1 to 200. Runn's default is 50. From 1 to 200.
- Next page cursor (`cursor`, text): The nextCursor from an earlier page, to read the page after it.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "nextCursor": "example",
    "values": [
      {
        "createdAt": "example",
        "email": "example",
        "firstName": "example",
        "id": 1,
        "lastName": "example",
        "peopleTeams": [
          {
            "id": 1
          }
        ],
        "permissions": {
          "addAllPeopleToProjects": true,
          "editOthers": "all",
          "editProjects": "all",
          "financial": "all",
          "manageAccount": true,
          "managePeople": "all",
          "manageProjects": "all",
          "type": "admin",
          "userType": "admin",
          "viewPlanner": true
        },
        "personId": 1,
        "updatedAt": "example"
      }
    ]
  }
}
```

### Log time

Add billable and non-billable minutes to a person's time on a project for one day. Runn adds them to any time already logged that day for the same project and role.

**Inputs**

- Person (`person_id`, number, required): The person (or placeholder).
- Project (`project_id`, number, required): The project.
- Role (`role_id`, number, required): The role the work is done in.
- Date (`date`, date, required): The day the work was done.
- Billable minutes (`billable_minutes`, number, required): Billable minutes to add, such as 90. At least 0.
- Non-billable minutes (`nonbillable_minutes`, number, required): Non-billable minutes to add. Enter 0 for none. At least 0.
- Billable note (`billable_note`, text): A note about the billable time.
- Non-billable note (`nonbillable_note`, text): A note about the non-billable time.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "billableMinutes": 1,
    "billableNote": "example",
    "createdAt": "example",
    "date": "example",
    "id": 1,
    "nonbillableMinutes": 1,
    "nonbillableNote": "example",
    "personId": 1,
    "phaseId": 1,
    "projectId": 1,
    "roleId": 1,
    "updatedAt": "example",
    "workstreamId": 1
  }
}
```

### Update a client

Rename a client, change its website, or archive it. Blank fields are left as they are.

**Inputs**

- Client (`client_id`, number, required): The client to change.
- Name (`name`, text): The new name.
- Website (`website`, text): The new website.
- Archived (`is_archived`, true/false): Archive (true) or restore (false) the client.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "createdAt": "example",
    "id": 1,
    "isArchived": true,
    "name": "example",
    "references": [
      {
        "externalId": "example",
        "referenceName": "example"
      }
    ],
    "updatedAt": "example",
    "website": "example"
  }
}
```

### Update a person

Change a person's name, email or team, or archive them. Blank fields are left as they are.

**Inputs**

- Person (`person_id`, number, required): The person (or placeholder).
- First name (`first_name`, text): The new first name.
- Last name (`last_name`, text): The new last name.
- Email (`email`, text): The new email address.
- Team (`team`, number): The team the person moves to.
- Archived (`is_archived`, true/false): Archive (true) or restore (false) the person. Runn won't archive someone with an ongoing or future contract.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "createdAt": "example",
    "customFields": {
      "checkbox": [
        {
          "id": 1,
          "name": "example",
          "value": true
        }
      ],
      "date": [
        {
          "id": 1,
          "name": "example",
          "value": "example"
        }
      ],
      "select": [
        {
          "id": 1,
          "name": "example",
          "values": [
            {
              "id": 1,
              "name": "example"
            }
          ]
        }
      ],
      "text": [
        {
          "id": 1,
          "name": "example",
          "value": "example"
        }
      ]
    },
    "email": "example",
    "firstName": "example",
    "holidaysGroupId": 1,
    "id": 1,
    "isArchived": true,
    "isPlaceholder": true,
    "lastName": "example",
    "managers": [
      {
        "id": 1
      }
    ],
    "notes": [
      {
        "createdBy": "example",
        "id": 1,
        "note": "example"
      }
    ],
    "references": [
      {
        "externalId": "example",
        "referenceName": "example"
      }
    ],
    "skills": [
      {
        "id": 1,
        "level": 1
      }
    ],
    "tags": [
      {
        "id": 1,
        "name": "example"
      }
    ],
    "teamId": 1,
    "updatedAt": "example"
  }
}
```

### Update a project

Change a project's name, client, budget, pricing or status. Blank fields are left as they are.

**Inputs**

- Project (`project_id`, number, required): The project.
- Name (`name`, text): The new name.
- Client (`client_id`, number): The client the project moves to.
- Confirmed (`is_confirmed`, true/false): Confirm (true) or make tentative (false).
- Archived (`is_archived`, true/false): Archive (true) or restore (false) the project.
- Pricing model (`pricing_model`, text): How the project is charged. One of: `tm` (Time and materials), `fp` (Fixed price), `nb` (Non-billable).
- Budget (`budget`, number): The new budget.
- Expenses budget (`expenses_budget`, number): The new budget for other expenses.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "budget": 1,
    "budgetMethod": "ROLE",
    "clientId": 1,
    "createdAt": "example",
    "customFields": {
      "checkbox": [
        {
          "id": 1,
          "name": "example",
          "value": true
        }
      ],
      "date": [
        {
          "id": 1,
          "name": "example",
          "value": "example"
        }
      ],
      "select": [
        {
          "id": 1,
          "name": "example",
          "values": [
            {
              "id": 1,
              "name": "example"
            }
          ]
        }
      ],
      "text": [
        {
          "id": 1,
          "name": "example",
          "value": "example"
        }
      ]
    },
    "expensesBudget": 1,
    "id": 1,
    "isArchived": true,
    "isConfirmed": true,
    "isTemplate": true,
    "managerIds": [
      1
    ],
    "name": "example",
    "pricingModel": "fp",
    "rateCardId": 1,
    "rateType": "hours",
    "references": [
      {
        "externalId": "example",
        "referenceName": "example"
      }
    ],
    "tags": [
      {
        "id": 1,
        "name": "example"
      }
    ],
    "teamId": 1,
    "updatedAt": "example"
  }
}
```
