# Raken

> Run construction projects in Raken: projects and crews, daily reports, time cards, materials, equipment and safety observations.

App · 26 actions. Web page: https://docs.lodol.com/docs/integrations/raken

## Actions

### Assign members to projects

Add members to projects, take them off, or replace their projects.

**Inputs**

- Members (`member_uuids`, list, required): The members to change (up to 100).
- Change (`assignment`, text, required): Add them to the projects, take them off, or make these their only projects. One of: `APPEND`, `REMOVE`, `REPLACE`.
- Projects (`project_uuids`, list, required): The projects (up to 10).

**Outputs**

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

**Example output**

```json
{
  "data": {}
}
```

### Create a classification

Add a worker classification.

**Inputs**

- Name (`name`, text, required): The classification's name.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "createdAt": "example",
    "name": "example",
    "status": "example",
    "updatedAt": "example",
    "uuid": "example"
  }
}
```

### Create a cost code

Add a cost code to a project.

**Inputs**

- Code (`code`, text, required): The cost code, up to 20 characters.
- Division (`division`, text, required): The division it belongs to, up to 50 characters.
- Project (`project_uuid`, text, required): The project the cost code is for.
- Description (`description`, text): What it is for, up to 60 characters.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "code": "example",
    "createdAt": "example",
    "description": "example",
    "division": "example",
    "updatedAt": "example",
    "uuid": "example"
  }
}
```

### Create a material

Add a material, for one project or for the whole company.

**Inputs**

- Name (`name`, text, required): The material's name.
- Unit (`material_unit_uuid`, text, required): The unit it is measured in.
- Project (`project_uuid`, text): Only this project can use it. Leave empty for every project.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "materialUnit": {
      "name": "example",
      "uuid": "example"
    },
    "name": "example",
    "projects": [
      {
        "uuid": "example"
      }
    ],
    "uuid": "example"
  }
}
```

### Create a member

Add a worker or a team member, on the projects you choose. Team members get an invitation by email.

**Inputs**

- First name (`first_name`, text, required): The member's first name.
- Last name (`last_name`, text, required): The member's last name.
- Role (`role`, text, required): What the member can do. A worker can't sign in but can have time cards; other roles sign in and get an invitation by email. One of: `ROLE_WORKER` (Role worker), `ROLE_USER` (Role user), `ROLE_PROJECT_MEMBER` (Role project member), `ROLE_ADMIN` (Role admin), `ROLE_ACCOUNT_ADMIN` (Role account admin).
- Email (`email`, text): The member's email address. Required for every role but worker.
- Phone number (`phone_number`, text): The member's phone number.
- Title (`title`, text): The member's job title.
- Employee ID (`employee_id`, text): The member's employee ID, unique in the account.
- Classification (`classification_uuid`, text): The member's classification, such as Carpenter.
- Projects (`project_uuids`, list): The active projects to put the member on. Leave empty for none.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "classificationUuid": "example",
    "createdAt": "example",
    "email": "example",
    "employeeId": "example",
    "firstName": "example",
    "lastLoginAt": "example",
    "lastName": "example",
    "phoneNumber": "example",
    "role": "example",
    "status": "example",
    "title": "example",
    "updatedAt": "example",
    "username": "example",
    "uuid": "example"
  }
}
```

### Create a project

Create a project, with its address and report recipients.

**Inputs**

- Name (`name`, text, required): The project's name.
- Number (`number`, text): The project's number.
- Start date (`start_date`, date, required): When the project starts.
- End date (`end_date`, date): When the project ends.
- Status (`status`, text): Whether the project is active. One of: `ACTIVE`, `INACTIVE`, `DELETED`.
- Street address (`street_address`, text): The project's street address.
- City (`city`, text): The city.
- State (`state`, text): The state.
- Postal code (`postal_code`, text): The postal code.
- Country (`country`, text): The country, as its two-letter code, such as US.
- External ID (`external_id`, text): The project's ID in another system.
- Internal report recipients (`internal_email_recipients`, list): Team email addresses that receive the project's reports.
- External report recipients (`external_email_recipients`, list): Outside email addresses that receive the project's reports.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "address": {
      "city": "example",
      "country": "example",
      "postalCode": "example",
      "state": "example",
      "streetAddress1": "example"
    },
    "createdAt": "example",
    "endDate": "example",
    "externalEmailRecipients": [
      "example"
    ],
    "externalId": "example",
    "internalEmailRecipients": [
      "example"
    ],
    "name": "example",
    "number": "example",
    "startDate": "example",
    "status": "example",
    "updatedAt": "example",
    "uuid": "example"
  }
}
```

### Get a member

Get a worker's or team member's details.

**Inputs**

- Member (`member_uuid`, text, required): Raken's ID for the member (its uuid).

**Outputs**

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

**Example output**

```json
{
  "data": {
    "classificationUuid": "example",
    "createdAt": "example",
    "email": "example",
    "employeeId": "example",
    "firstName": "example",
    "lastLoginAt": "example",
    "lastName": "example",
    "phoneNumber": "example",
    "role": "example",
    "status": "example",
    "title": "example",
    "updatedAt": "example",
    "username": "example",
    "uuid": "example"
  }
}
```

### Get a project

Get a project's details.

**Inputs**

- Project (`project_uuid`, text, required): Raken's ID for the project (its uuid).

**Outputs**

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

**Example output**

```json
{
  "data": {
    "address": {
      "city": "example",
      "country": "example",
      "postalCode": "example",
      "state": "example",
      "streetAddress1": "example"
    },
    "createdAt": "example",
    "endDate": "example",
    "externalEmailRecipients": [
      "example"
    ],
    "externalId": "example",
    "internalEmailRecipients": [
      "example"
    ],
    "name": "example",
    "number": "example",
    "startDate": "example",
    "status": "example",
    "updatedAt": "example",
    "uuid": "example"
  }
}
```

### Get the signed-in user

Get the Raken user the connection signed in as, and their company.

**Inputs**: None.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "companyUuid": "example",
    "email": "example",
    "firstName": "example",
    "lastName": "example",
    "role": "example",
    "sub": "example"
  }
}
```

### List a project's members

List the people assigned to a project.

**Inputs**

- Project (`project_uuid`, text, required): Raken's ID for the project (its uuid).
- Statuses (`statuses`, list): Only members with these statuses. Active members when empty. One or more of: `ACTIVE`, `INVITED`, `INACTIVE`, `DELETED`.
- Roles (`roles`, list): Only members with these roles. One or more of: `ROLE_WORKER` (Role worker), `ROLE_USER` (Role user), `ROLE_PROJECT_MEMBER` (Role project member), `ROLE_ADMIN` (Role admin).
- Limit (`limit`, number): How many records to return, up to 1,000. From 1 to 1000. Default: `50`.
- Offset (`offset`, number): How many records to skip, for the next page: the nextOffset of an earlier step. At least 0. Default: `0`.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "collection": [
      {
        "classificationUuid": "example",
        "createdAt": "example",
        "email": "example",
        "employeeId": "example",
        "firstName": "example",
        "lastLoginAt": "example",
        "lastName": "example",
        "phoneNumber": "example",
        "role": "example",
        "status": "example",
        "title": "example",
        "updatedAt": "example",
        "username": "example",
        "uuid": "example"
      }
    ],
    "page": {
      "limit": 1,
      "next": "example",
      "nextOffset": "example",
      "offset": 1,
      "previous": "example",
      "totalElements": 1
    }
  }
}
```

### List a project's notes

List the notes from a project's daily reports between two dates.

**Inputs**

- Project (`project_uuid`, text, required): Raken's ID for the project (its uuid).
- From date (`from_date`, date, required): Only notes from daily reports on or after this date. At most 31 days before the end date.
- To date (`to_date`, date, required): Only notes from daily reports on or before this date.
- Limit (`limit`, number): How many records to return, up to 1,000. From 1 to 1000. Default: `50`.
- Offset (`offset`, number): How many records to skip, for the next page: the nextOffset of an earlier step. At least 0. Default: `0`.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "collection": [
      {
        "category": "example",
        "createdAt": "example",
        "createdBy": {
          "name": "example",
          "uuid": "example"
        },
        "date": "example",
        "description": "example",
        "updatedAt": "example",
        "uuid": "example"
      }
    ],
    "page": {
      "limit": 1,
      "next": "example",
      "nextOffset": "example",
      "offset": 1,
      "previous": "example",
      "totalElements": 1
    }
  }
}
```

### List checklists

List checklists (inspections and safety forms), with links to their PDFs.

**Inputs**

- Projects (`project_uuids`, list): Only checklists for these projects (up to 10).
- Statuses (`statuses`, list): Only checklists with these statuses. Completed ones when empty. One or more of: `COMPLETED`, `DRAFT`, `SCHEDULED`, `DELETED`.
- Created from (`from_created_at`, date and time): Only checklists created at or after this time. At most 31 days before the end.
- Created before (`to_created_at`, date and time): Only checklists created before this time.
- Limit (`limit`, number): How many records to return, up to 100. From 1 to 100. Default: `50`.
- Offset (`offset`, number): How many records to skip, for the next page: the nextOffset of an earlier step. At least 0. Default: `0`.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "collection": [
      {
        "checklistDate": "example",
        "checklistTypeUuid": "example",
        "createdAt": "example",
        "createdBy": {
          "name": "example",
          "uuid": "example"
        },
        "name": "example",
        "observationsClosedCount": 1,
        "observationsRaisedCount": 1,
        "pdfUrl": "example",
        "projectUuid": "example",
        "status": "example",
        "templateUuid": "example",
        "updatedAt": "example",
        "uuid": "example"
      }
    ],
    "page": {
      "limit": 1,
      "next": "example",
      "nextOffset": "example",
      "offset": 1,
      "previous": "example",
      "totalElements": 1
    }
  }
}
```

### List classifications

List worker classifications, such as Carpenter or Foreman.

**Inputs**

- Statuses (`statuses`, list): Only classifications with these statuses. One or more of: `ACTIVE`, `DELETED`.
- Limit (`limit`, number): How many records to return, up to 1,000. From 1 to 1000. Default: `50`.
- Offset (`offset`, number): How many records to skip, for the next page: the nextOffset of an earlier step. At least 0. Default: `0`.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "collection": [
      {
        "createdAt": "example",
        "name": "example",
        "status": "example",
        "updatedAt": "example",
        "uuid": "example"
      }
    ],
    "page": {
      "limit": 1,
      "next": "example",
      "nextOffset": "example",
      "offset": 1,
      "previous": "example",
      "totalElements": 1
    }
  }
}
```

### List cost codes

List cost codes, for some projects or all of them.

**Inputs**

- Projects (`project_uuids`, list): Only cost codes for these projects (up to 10).
- Limit (`limit`, number): How many records to return, up to 1,000. From 1 to 1000. Default: `50`.
- Offset (`offset`, number): How many records to skip, for the next page: the nextOffset of an earlier step. At least 0. Default: `0`.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "collection": [
      {
        "code": "example",
        "createdAt": "example",
        "description": "example",
        "division": "example",
        "updatedAt": "example",
        "uuid": "example"
      }
    ],
    "page": {
      "limit": 1,
      "next": "example",
      "nextOffset": "example",
      "offset": 1,
      "previous": "example",
      "totalElements": 1
    }
  }
}
```

### List daily reports

List the daily reports of projects, with links to their PDFs.

**Inputs**

- Projects (`project_uuids`, list, required): Only daily reports for these projects (up to 10).
- From date (`from_date`, date): Only reports dated on or after this date. At most 31 days before the end date.
- To date (`to_date`, date): Only reports dated on or before this date.
- Statuses (`statuses`, list): Only reports with these statuses. Completed reports when empty. One or more of: `COMPLETED`, `UNSIGNED`, `NO_WORK_DONE` (No work done).
- Changed since (`changed_since`, date and time): Only reports changed at or after this time. Fill in both changed times, at most 31 days apart.
- Changed until (`changed_until`, date and time): Only reports changed before this time.
- Limit (`limit`, number): How many records to return, up to 1,000. From 1 to 1000. Default: `50`.
- Offset (`offset`, number): How many records to skip, for the next page: the nextOffset of an earlier step. At least 0. Default: `0`.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "collection": [
      {
        "createdAt": "example",
        "createdBy": {
          "name": "example",
          "uuid": "example"
        },
        "projectUuid": "example",
        "reportDate": "example",
        "reportLinks": {
          "daily": "example",
          "superDaily": "example"
        },
        "signedAt": "example",
        "signedBy": {
          "name": "example",
          "uuid": "example"
        },
        "status": "example",
        "updatedAt": "example",
        "updatedBy": {
          "name": "example",
          "uuid": "example"
        },
        "uuid": "example"
      }
    ],
    "page": {
      "limit": 1,
      "next": "example",
      "nextOffset": "example",
      "offset": 1,
      "previous": "example",
      "totalElements": 1
    }
  }
}
```

### List equipment

List owned and rented equipment, with its condition and hours.

**Inputs**

- Search (`query`, text): Only equipment matching this text.
- Conditions (`conditions`, list): Only equipment in these conditions. One or more of: `AVAILABLE`, `DEPLOYED`, `UNDER_MAINTENANCE` (Under maintenance), `RETURNED_RETIRED` (Returned retired).
- Deployed to (`deployed_to`, list): Only equipment deployed to these projects.
- Limit (`limit`, number): How many records to return, up to 1,000. From 1 to 1000. Default: `50`.
- Offset (`offset`, number): How many records to skip, for the next page: the nextOffset of an earlier step. At least 0. Default: `0`.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "collection": [
      {
        "category": "example",
        "condition": "example",
        "deficiencyCount": 1,
        "equipmentId": "example",
        "make": "example",
        "model": "example",
        "name": "example",
        "nextAvailableDate": "example",
        "owned": true,
        "serialNumber": "example",
        "totalHours": 1,
        "type": "example",
        "uuid": "example",
        "year": 1
      }
    ],
    "page": {
      "limit": 1,
      "next": "example",
      "nextOffset": "example",
      "offset": 1,
      "previous": "example",
      "totalElements": 1
    }
  }
}
```

### List equipment logs

List equipment deployments on projects, with their daily logs.

**Inputs**

- Projects (`project_uuids`, list): Only deployments for these projects (up to 10).
- From date (`from_date`, date): Only deployments on or after this date. At most 31 days before the end date.
- To date (`to_date`, date): Only deployments on or before this date.
- Changed since (`changed_since`, date and time): Only deployments changed at or after this time. Fill in both changed times, at most 31 days apart.
- Changed until (`changed_until`, date and time): Only deployments changed before this time.
- Limit (`limit`, number): How many records to return, up to 1,000. From 1 to 1000. Default: `50`.
- Offset (`offset`, number): How many records to skip, for the next page: the nextOffset of an earlier step. At least 0. Default: `0`.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "collection": [
      {
        "createdAt": "example",
        "daysNotInUse": 1,
        "daysOnsite": 1,
        "endDate": "example",
        "equipment": {
          "equipmentId": "example",
          "name": "example",
          "uuid": "example"
        },
        "logs": [
          {
            "date": "example",
            "description": "example",
            "hours": 1,
            "status": "example",
            "uuid": "example"
          }
        ],
        "projectUuid": "example",
        "startDate": "example",
        "updatedAt": "example",
        "uuid": "example"
      }
    ],
    "page": {
      "limit": 1,
      "next": "example",
      "nextOffset": "example",
      "offset": 1,
      "previous": "example",
      "totalElements": 1
    }
  }
}
```

### List material logs

List the materials logged on projects, with quantities and cost codes.

**Inputs**

- Projects (`project_uuids`, list, required): Only material logs for these projects (up to 10).
- From date (`from_date`, date): Only logs dated on or after this date. At most 31 days before the end date.
- To date (`to_date`, date): Only logs dated on or before this date.
- Changed since (`changed_since`, date and time): Only logs changed at or after this time. Fill in both changed times, at most 31 days apart.
- Changed until (`changed_until`, date and time): Only logs changed before this time.
- Limit (`limit`, number): How many records to return, up to 1,000. From 1 to 1000. Default: `50`.
- Offset (`offset`, number): How many records to skip, for the next page: the nextOffset of an earlier step. At least 0. Default: `0`.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "collection": [
      {
        "costCode": {
          "code": "example",
          "description": "example",
          "division": "example",
          "uuid": "example"
        },
        "date": "example",
        "material": {
          "materialUnit": {
            "name": "example",
            "uuid": "example"
          },
          "name": "example",
          "uuid": "example"
        },
        "quantity": 1,
        "updatedAt": "example",
        "uuid": "example"
      }
    ],
    "page": {
      "limit": 1,
      "next": "example",
      "nextOffset": "example",
      "offset": 1,
      "previous": "example",
      "totalElements": 1
    }
  }
}
```

### List materials

List materials, for some projects or the whole company.

**Inputs**

- Projects (`project_uuids`, list): Only materials for these projects (up to 10).
- Limit (`limit`, number): How many records to return, up to 1,000. From 1 to 1000. Default: `50`.
- Offset (`offset`, number): How many records to skip, for the next page: the nextOffset of an earlier step. At least 0. Default: `0`.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "collection": [
      {
        "materialUnit": {
          "name": "example",
          "uuid": "example"
        },
        "name": "example",
        "projects": [
          {
            "uuid": "example"
          }
        ],
        "uuid": "example"
      }
    ],
    "page": {
      "limit": 1,
      "next": "example",
      "nextOffset": "example",
      "offset": 1,
      "previous": "example",
      "totalElements": 1
    }
  }
}
```

### List members

List the account's workers and team members.

**Inputs**

- Search (`query`, text): Only members whose name, employee ID, email, phone or company contains this text.
- Statuses (`statuses`, list): Only members with these statuses. Active members when empty. One or more of: `ACTIVE`, `INVITED`, `INACTIVE`, `DELETED`.
- Roles (`roles`, list): Only members with these roles. One or more of: `ROLE_WORKER` (Role worker), `ROLE_USER` (Role user), `ROLE_PROJECT_MEMBER` (Role project member), `ROLE_ADMIN` (Role admin).
- Projects (`project_uuids`, list): Only members for these projects (up to 10).
- Changed since (`changed_since`, date and time): Only members changed at or after this time. Fill in both changed times, at most 31 days apart.
- Changed until (`changed_until`, date and time): Only members changed before this time.
- Limit (`limit`, number): How many records to return, up to 1,000. From 1 to 1000. Default: `50`.
- Offset (`offset`, number): How many records to skip, for the next page: the nextOffset of an earlier step. At least 0. Default: `0`.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "collection": [
      {
        "classificationUuid": "example",
        "createdAt": "example",
        "email": "example",
        "employeeId": "example",
        "firstName": "example",
        "lastLoginAt": "example",
        "lastName": "example",
        "phoneNumber": "example",
        "role": "example",
        "status": "example",
        "title": "example",
        "updatedAt": "example",
        "username": "example",
        "uuid": "example"
      }
    ],
    "page": {
      "limit": 1,
      "next": "example",
      "nextOffset": "example",
      "offset": 1,
      "previous": "example",
      "totalElements": 1
    }
  }
}
```

### List observations

List safety and quality observations on projects.

**Inputs**

- Projects (`project_uuids`, list, required): Only observations for these projects (up to 10).
- Statuses (`statuses`, list): Only observations with these statuses. One or more of: `OPEN`, `PENDING_REVIEW` (Pending review), `RECORD_ONLY` (Record only), `CLOSED`, `REJECTED`.
- Priorities (`priorities`, list): Only observations with these priorities. One or more of: `CRITICAL`, `HIGH`, `MEDIUM`, `LOW`.
- Categories (`categories`, list): Only positive or only negative observations. One or more of: `POSITIVE`, `NEGATIVE`.
- Created from (`from_created_at`, date and time): Only observations created at or after this time. At most 31 days before the end.
- Created before (`to_created_at`, date and time): Only observations created before this time.
- Limit (`limit`, number): How many records to return, up to 1,000. From 1 to 1000. Default: `50`.
- Offset (`offset`, number): How many records to skip, for the next page: the nextOffset of an earlier step. At least 0. Default: `0`.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "collection": [
      {
        "category": "example",
        "createdAt": "example",
        "createdBy": {
          "name": "example",
          "uuid": "example"
        },
        "description": "example",
        "location": {
          "fullPath": "example",
          "name": "example"
        },
        "observationDate": "example",
        "priority": "example",
        "projectUuid": "example",
        "referenceNumber": "example",
        "status": "example",
        "type": {
          "subType": "example",
          "type": "example",
          "typeClass": "example"
        },
        "updatedAt": "example",
        "uuid": "example"
      }
    ],
    "page": {
      "limit": 1,
      "next": "example",
      "nextOffset": "example",
      "offset": 1,
      "previous": "example",
      "totalElements": 1
    }
  }
}
```

### List projects

List projects, found by name or number, status or when they changed.

**Inputs**

- Search (`query`, text): Only projects whose name or number contains this text.
- Statuses (`statuses`, list): Only projects with these statuses. One or more of: `ACTIVE`, `INACTIVE`, `DELETED`.
- Changed since (`changed_since`, date and time): Only projects changed at or after this time. Fill in both changed times, at most 31 days apart.
- Changed until (`changed_until`, date and time): Only projects changed before this time.
- Limit (`limit`, number): How many records to return, up to 1,000. From 1 to 1000. Default: `50`.
- Offset (`offset`, number): How many records to skip, for the next page: the nextOffset of an earlier step. At least 0. Default: `0`.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "collection": [
      {
        "address": {
          "city": "example",
          "country": "example",
          "postalCode": "example",
          "state": "example",
          "streetAddress1": "example"
        },
        "createdAt": "example",
        "endDate": "example",
        "externalEmailRecipients": [
          "example"
        ],
        "externalId": "example",
        "internalEmailRecipients": [
          "example"
        ],
        "name": "example",
        "number": "example",
        "startDate": "example",
        "status": "example",
        "updatedAt": "example",
        "uuid": "example"
      }
    ],
    "page": {
      "limit": 1,
      "next": "example",
      "nextOffset": "example",
      "offset": 1,
      "previous": "example",
      "totalElements": 1
    }
  }
}
```

### List time cards

List time cards, with their hours by cost code, classification and pay type.

**Inputs**

- Projects (`project_uuids`, list): Only time cards for these projects (up to 10).
- Worker (`worker_uuid`, text): Only time cards for this worker.
- From date (`from_date`, date): Only time cards dated on or after this date. At most 31 days before the end date.
- To date (`to_date`, date): Only time cards dated on or before this date.
- Changed since (`changed_since`, date and time): Only time cards changed at or after this time. Fill in both changed times, at most 31 days apart.
- Changed until (`changed_until`, date and time): Only time cards changed before this time.
- Limit (`limit`, number): How many records to return, up to 1,000. From 1 to 1000. Default: `50`.
- Offset (`offset`, number): How many records to skip, for the next page: the nextOffset of an earlier step. At least 0. Default: `0`.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "collection": [
      {
        "approved": true,
        "createdAt": "example",
        "createdBy": {
          "name": "example",
          "uuid": "example"
        },
        "date": "example",
        "endTime": "example",
        "note": "example",
        "project": {
          "uuid": "example"
        },
        "startTime": "example",
        "timeEntries": [
          {
            "classification": {
              "name": "example",
              "uuid": "example"
            },
            "costCode": {
              "code": "example",
              "division": "example",
              "uuid": "example"
            },
            "hours": 1,
            "payType": {
              "code": "example",
              "name": "example",
              "uuid": "example"
            }
          }
        ],
        "totalHours": 1,
        "updatedAt": "example",
        "uuid": "example",
        "workLogUuid": "example",
        "worker": {
          "uuid": "example"
        }
      }
    ],
    "page": {
      "limit": 1,
      "next": "example",
      "nextOffset": "example",
      "offset": 1,
      "previous": "example",
      "totalElements": 1
    }
  }
}
```

### Update a cost code

Change a cost code's division or description.

**Inputs**

- Cost code ID (`cost_code_uuid`, text, required): Raken's ID for the cost code (its uuid).
- Division (`division`, text): The division it belongs to.
- Description (`description`, text): What it is for.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "code": "example",
    "createdAt": "example",
    "description": "example",
    "division": "example",
    "updatedAt": "example",
    "uuid": "example"
  }
}
```

### Update a member

Change a member's details, or set their status to Inactive or Deleted. Fields left empty keep their values.

**Inputs**

- Member (`member_uuid`, text, required): Raken's ID for the member (its uuid).
- First name (`first_name`, text): The member's first name.
- Last name (`last_name`, text): The member's last name.
- Role (`role`, text): What the member can do. A worker can't sign in but can have time cards; other roles sign in and get an invitation by email. One of: `ROLE_WORKER` (Role worker), `ROLE_USER` (Role user), `ROLE_PROJECT_MEMBER` (Role project member), `ROLE_ADMIN` (Role admin), `ROLE_ACCOUNT_ADMIN` (Role account admin).
- Email (`email`, text): The member's email address. Required for every role but worker.
- Phone number (`phone_number`, text): The member's phone number.
- Title (`title`, text): The member's job title.
- Employee ID (`employee_id`, text): The member's employee ID, unique in the account.
- Classification (`classification_uuid`, text): The member's classification, such as Carpenter.
- Status (`status`, text): The member's status. One of: `ACTIVE`, `INVITED`, `INACTIVE`, `DELETED`.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "classificationUuid": "example",
    "createdAt": "example",
    "email": "example",
    "employeeId": "example",
    "firstName": "example",
    "lastLoginAt": "example",
    "lastName": "example",
    "phoneNumber": "example",
    "role": "example",
    "status": "example",
    "title": "example",
    "updatedAt": "example",
    "username": "example",
    "uuid": "example"
  }
}
```

### Update a project

Change a project's details, or set its status to Inactive or Deleted. Fields left empty keep their values.

**Inputs**

- Project (`project_uuid`, text, required): Raken's ID for the project (its uuid).
- Name (`name`, text): The project's name.
- Number (`number`, text): The project's number.
- Start date (`start_date`, date): When the project starts.
- End date (`end_date`, date): When the project ends.
- Status (`status`, text): Whether the project is active. One of: `ACTIVE`, `INACTIVE`, `DELETED`.
- Street address (`street_address`, text): The project's street address.
- City (`city`, text): The city.
- State (`state`, text): The state.
- Postal code (`postal_code`, text): The postal code.
- Country (`country`, text): The country, as its two-letter code, such as US.
- External ID (`external_id`, text): The project's ID in another system.
- Internal report recipients (`internal_email_recipients`, list): Team email addresses that receive the project's reports.
- External report recipients (`external_email_recipients`, list): Outside email addresses that receive the project's reports.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "address": {
      "city": "example",
      "country": "example",
      "postalCode": "example",
      "state": "example",
      "streetAddress1": "example"
    },
    "createdAt": "example",
    "endDate": "example",
    "externalEmailRecipients": [
      "example"
    ],
    "externalId": "example",
    "internalEmailRecipients": [
      "example"
    ],
    "name": "example",
    "number": "example",
    "startDate": "example",
    "status": "example",
    "updatedAt": "example",
    "uuid": "example"
  }
}
```
