# CompanyCam

> Manage project documentation, photos, project comments, people and tags.

App · 20 actions. Web page: https://docs.lodol.com/docs/integrations/companycam

## Actions

### Archive project

Archive project in CompanyCam.

**Inputs**

- Id (`project_id`, number, required): Id.
- Body (`body`, object): Returned value.

**Outputs**

- `data` (object): Returned value.

**Example output**

```json
{
  "data": {
    "data": {
      "address": {
        "city": "example",
        "country": "example",
        "postal_code": "example",
        "state": "example",
        "street_address_1": "example",
        "street_address_2": "example"
      },
      "archived": false,
      "capture_photo_deeplink": "example",
      "company_id": "example",
      "coordinates": {
        "lat": 1,
        "lon": 1
      },
      "created_at": "example",
      "creator_id": "example",
      "creator_name": "example",
      "creator_type": "example",
      "customer_id": "example",
      "description": "example",
      "document_count": 1,
      "embedded_project_url": "example",
      "feature_image": [],
      "geofence": [],
      "id": "example",
      "name": "example",
      "photo_count": 1,
      "primary_contact": {
        "company_id": "example",
        "created_at": "example",
        "email": "example",
        "first_name": "example",
        "id": "example",
        "last_name": "example",
        "name": "example",
        "notes": "example",
        "phone_number": "example",
        "role": "example",
        "updated_at": "example"
      },
      "project_url": "example",
      "public": false,
      "public_url": "example",
      "slug": "example",
      "status": "example",
      "updated_at": "example"
    },
    "errors": [],
    "meta": {}
  }
}
```

### Create project

Create project in CompanyCam.

**Inputs**

- Project name (`project_name`, text, required): Returned value.
- Project street address 1 (`project_street_address_1`, text, required): Returned value.
- Project city (`project_city`, text, required): Returned value.
- Project state (`project_state`, text, required): Returned value.
- Project postal code (`project_postal_code`, text, required): Returned value.
- Project country (`project_country`, text, required): Returned value.
- Project coordinates (`project_coordinates`, object): Returned value.
- Project geofence (`project_geofence`, list): Returned value.
- Project primary contact (`project_primary_contact`, object): Returned value.
- Project customer ID (`project_customer_id`, text): Returned value.
- Project template ID (`project_template_id`, text): Returned value.

**Outputs**

- `data` (object): Returned value.

**Example output**

```json
{
  "data": {
    "data": {
      "address": {
        "city": "example",
        "country": "example",
        "postal_code": "example",
        "state": "example",
        "street_address_1": "example",
        "street_address_2": "example"
      },
      "archived": false,
      "capture_photo_deeplink": "example",
      "company_id": "example",
      "coordinates": {
        "lat": 1,
        "lon": 1
      },
      "created_at": "example",
      "creator_id": "example",
      "creator_name": "example",
      "creator_type": "example",
      "customer_id": "example",
      "description": "example",
      "document_count": 1,
      "embedded_project_url": "example",
      "feature_image": [],
      "geofence": [],
      "id": "example",
      "name": "example",
      "photo_count": 1,
      "primary_contact": {
        "company_id": "example",
        "created_at": "example",
        "email": "example",
        "first_name": "example",
        "id": "example",
        "last_name": "example",
        "name": "example",
        "notes": "example",
        "phone_number": "example",
        "role": "example",
        "updated_at": "example"
      },
      "project_url": "example",
      "public": false,
      "public_url": "example",
      "slug": "example",
      "status": "example",
      "updated_at": "example"
    },
    "errors": [],
    "meta": {}
  }
}
```

### Create project comment

Create project comment in CompanyCam.

**Inputs**

- Project (`project_id`, number, required): Project ID.
- Comment content (`comment_content`, text, required): Returned value.

**Outputs**

- `data` (object): Returned value.

**Example output**

```json
{
  "data": {
    "data": {
      "commentable_id": "example",
      "commentable_type": "example",
      "content": "example",
      "created_at": "example",
      "creator_id": "example",
      "creator_name": "example",
      "creator_type": "example",
      "id": "example",
      "status": "example",
      "updated_at": "example"
    },
    "errors": [],
    "meta": {}
  }
}
```

### Create tag

Create tag in CompanyCam.

**Inputs**

- Tag display value (`tag_display_value`, text, required): Returned value.

**Outputs**

- `data` (object): Returned value.

**Example output**

```json
{
  "data": {
    "data": {
      "company_id": "example",
      "created_at": "example",
      "display_value": "example",
      "id": "example",
      "tag_type": "example",
      "updated_at": "example",
      "value": "example"
    },
    "errors": [],
    "meta": {}
  }
}
```

### Delete project

Delete project in CompanyCam.

**Inputs**

- Id (`project_id`, number, required): Id.

**Outputs**

- `data` (object): Returned value.

**Example output**

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

### Delete tag

Delete tag in CompanyCam.

**Inputs**

- Id (`tag_id`, number, required): Id.

**Outputs**

- `data` (object): Returned value.

**Example output**

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

### Get company

Get company in CompanyCam.

**Inputs**: None.

**Outputs**

- `data` (object): Returned value.

**Example output**

```json
{
  "data": {
    "data": {
      "address": {
        "city": "example",
        "country": "example",
        "postal_code": "example",
        "state": "example",
        "street_address_1": "example",
        "street_address_2": "example"
      },
      "id": "example",
      "logo": [],
      "name": "example",
      "status": "example"
    },
    "errors": [],
    "meta": {}
  }
}
```

### Get current user

Get current user in CompanyCam.

**Inputs**: None.

**Outputs**

- `data` (object): Returned value.

**Example output**

```json
{
  "data": {
    "data": {
      "company_id": "example",
      "created_at": "example",
      "email_address": "example",
      "first_name": "example",
      "id": "example",
      "last_name": "example",
      "phone_number": "example",
      "profile_image": [],
      "status": "example",
      "updated_at": "example",
      "user_role": "example",
      "user_url": "example"
    },
    "errors": [],
    "meta": {}
  }
}
```

### Get photo

Get photo in CompanyCam.

**Inputs**

- Id (`photo_id`, number, required): Id.
- Include (`include`, text): Include.

**Outputs**

- `data` (object): Returned value.

**Example output**

```json
{
  "data": {
    "data": {
      "annotations": {
        "shapes": [],
        "stickers": [],
        "text": []
      },
      "captured_at": "example",
      "comment_count": 1,
      "comments": [],
      "company_id": "example",
      "coordinates": {
        "lat": 1,
        "lon": 1
      },
      "created_at": "example",
      "creator_id": "example",
      "creator_name": "example",
      "creator_type": "example",
      "description": {
        "html_content": "example",
        "id": "example",
        "plain_text_content": "example"
      },
      "has_comments": false,
      "hash": "example",
      "id": "example",
      "internal": false,
      "origin": "example",
      "photo_url": "example",
      "processing_status": "example",
      "project_id": "example",
      "status": "example",
      "tags": [],
      "updated_at": "example",
      "uris": []
    },
    "errors": [],
    "meta": {}
  }
}
```

### Get project

Get project in CompanyCam.

**Inputs**

- Id (`project_id`, number, required): Id.
- Include (`include`, text): Include.

**Outputs**

- `data` (object): Returned value.

**Example output**

```json
{
  "data": {
    "data": {
      "address": {
        "city": "example",
        "country": "example",
        "postal_code": "example",
        "state": "example",
        "street_address_1": "example",
        "street_address_2": "example"
      },
      "archived": false,
      "capture_photo_deeplink": "example",
      "comments": [],
      "company_id": "example",
      "coordinates": {
        "lat": 1,
        "lon": 1
      },
      "created_at": "example",
      "creator_id": "example",
      "creator_name": "example",
      "creator_type": "example",
      "custom_fields": [],
      "customer_id": "example",
      "description": "example",
      "document_count": 1,
      "embedded_project_url": "example",
      "feature_image": [],
      "geofence": [],
      "id": "example",
      "labels": [],
      "name": "example",
      "photo_count": 1,
      "primary_contact": {
        "company_id": "example",
        "created_at": "example",
        "email": "example",
        "first_name": "example",
        "id": "example",
        "last_name": "example",
        "name": "example",
        "notes": "example",
        "phone_number": "example",
        "role": "example",
        "updated_at": "example"
      },
      "project_url": "example",
      "public": false,
      "public_url": "example",
      "slug": "example",
      "status": "example",
      "updated_at": "example"
    },
    "errors": [],
    "meta": {}
  }
}
```

### Get user

Get user in CompanyCam.

**Inputs**

- Id (`member_id`, number, required): Id.

**Outputs**

- `data` (object): Returned value.

**Example output**

```json
{
  "data": {
    "data": {
      "company_id": "example",
      "created_at": "example",
      "email_address": "example",
      "first_name": "example",
      "id": "example",
      "last_name": "example",
      "phone_number": "example",
      "profile_image": [],
      "status": "example",
      "updated_at": "example",
      "user_role": "example",
      "user_url": "example"
    },
    "errors": [],
    "meta": {}
  }
}
```

### List photos

List photos in CompanyCam.

**Inputs**

- After (`after`, text): After.
- Before (`before`, text): Before.
- End date (`end_date`, text): End date.
- Group IDs (`group_ids`, list): Group IDs.
- Include (`include`, text): Include.
- Include total (`include_total`, text): Include total.
- Limit (`limit`, number): Maximum number of records per page. Defaults to 50; values above 100 are clamped to 100. From 1 to 100.
- Project IDs (`project_ids`, list): Project IDs.
- Start date (`start_date`, object): See the documented object structure in the API reference.
- Tag IDs (`tag_ids`, list): Tag IDs.
- User IDs (`user_ids`, list): User IDs.

**Outputs**

- `data` (object): Returned value.

**Example output**

```json
{
  "data": {
    "data": [],
    "errors": [],
    "meta": {
      "has_next": false,
      "has_prev": false,
      "next_cursor": "example",
      "prev_cursor": "example",
      "total": 1
    }
  }
}
```

### List project comments

List project comments in CompanyCam.

**Inputs**

- Project (`project_id`, number, required): Project ID.

**Outputs**

- `data` (object): Returned value.

**Example output**

```json
{
  "data": {
    "data": [],
    "errors": [],
    "meta": {
      "has_next": false,
      "has_prev": false,
      "next_cursor": "example",
      "prev_cursor": "example"
    }
  }
}
```

### List project photos

List project photos in CompanyCam.

**Inputs**

- After (`after`, text): After.
- Before (`before`, text): Before.
- End date (`end_date`, text): End date.
- Group IDs (`group_ids`, list): Group IDs.
- Limit (`limit`, number): Maximum number of records per page. Defaults to 50; values above 100 are clamped to 100. From 1 to 100.
- Project (`project_id`, number, required): Project ID.
- Start date (`start_date`, object): See the documented object structure in the API reference.
- Tag IDs (`tag_ids`, list): Tag IDs.
- User IDs (`user_ids`, list): User IDs.

**Outputs**

- `data` (object): Returned value.

**Example output**

```json
{
  "data": {
    "data": [],
    "errors": [],
    "meta": {
      "has_next": false,
      "has_prev": false,
      "next_cursor": "example",
      "prev_cursor": "example"
    }
  }
}
```

### List projects

List projects in CompanyCam.

**Inputs**

- After (`after`, text): After.
- Archived (`archived`, text): Archived.
- Asc (`asc`, text): Asc.
- Assigned user IDs (`assigned_user_ids`, list): Assigned user IDs.
- Before (`before`, text): Before.
- Customer ID (`customer_id`, number): Customer ID.
- Include (`include`, text): Include.
- Include total (`include_total`, text): Include total.
- Limit (`limit`, number): Maximum number of records per page. Defaults to 50; values above 100 are clamped to 100. From 1 to 100.
- Sort by (`sort_by`, text): Sort by.
- Status (`status`, text): Status.

**Outputs**

- `data` (object): Returned value.

**Example output**

```json
{
  "data": {
    "data": [],
    "errors": [],
    "meta": {
      "has_next": false,
      "has_prev": false,
      "next_cursor": "example",
      "prev_cursor": "example",
      "total": 1
    }
  }
}
```

### List tags

List tags in CompanyCam.

**Inputs**

- Limit (`limit`, number): Maximum number of records per page. Defaults to 50; values above 100 are clamped to 100. From 1 to 100.

**Outputs**

- `data` (object): Returned value.

**Example output**

```json
{
  "data": {
    "data": [],
    "errors": [],
    "meta": {
      "has_next": false,
      "has_prev": false,
      "next_cursor": "example",
      "prev_cursor": "example"
    }
  }
}
```

### List users

List users in CompanyCam.

**Inputs**

- After (`after`, text): After.
- Limit (`limit`, number): Maximum number of records per page. Defaults to 50; values above 100 are clamped to 100. From 1 to 100.
- Status (`status`, text): Narrows the list. `invited` returns users with a pending invitation and is limited to managers and admins. `active` returns accepted, non-deactivated users. Omit it for the default list of accepted users, including deactivated ones. One of: `active`, `invited`.

**Outputs**

- `data` (object): Returned value.

**Example output**

```json
{
  "data": {
    "data": [],
    "errors": [],
    "meta": {
      "has_next": false,
      "has_prev": false,
      "next_cursor": "example",
      "prev_cursor": "example"
    }
  }
}
```

### Restore project

Restore project in CompanyCam.

**Inputs**

- Id (`project_id`, number, required): Id.
- Body (`body`, object): Returned value.

**Outputs**

- `data` (object): Returned value.

**Example output**

```json
{
  "data": {
    "data": {
      "address": {
        "city": "example",
        "country": "example",
        "postal_code": "example",
        "state": "example",
        "street_address_1": "example",
        "street_address_2": "example"
      },
      "archived": false,
      "capture_photo_deeplink": "example",
      "company_id": "example",
      "coordinates": {
        "lat": 1,
        "lon": 1
      },
      "created_at": "example",
      "creator_id": "example",
      "creator_name": "example",
      "creator_type": "example",
      "customer_id": "example",
      "description": "example",
      "document_count": 1,
      "embedded_project_url": "example",
      "feature_image": [],
      "geofence": [],
      "id": "example",
      "name": "example",
      "photo_count": 1,
      "primary_contact": {
        "company_id": "example",
        "created_at": "example",
        "email": "example",
        "first_name": "example",
        "id": "example",
        "last_name": "example",
        "name": "example",
        "notes": "example",
        "phone_number": "example",
        "role": "example",
        "updated_at": "example"
      },
      "project_url": "example",
      "public": false,
      "public_url": "example",
      "slug": "example",
      "status": "example",
      "updated_at": "example"
    },
    "errors": [],
    "meta": {}
  }
}
```

### Update project

Update project in CompanyCam.

**Inputs**

- Id (`project_id`, number, required): Id.
- Project name (`project_name`, text): Returned value.
- Project street address 1 (`project_street_address_1`, text): Returned value.
- Project city (`project_city`, text): Returned value.
- Project state (`project_state`, text): Returned value.
- Project primary contact (`project_primary_contact`, object): Returned value.

**Outputs**

- `data` (object): Returned value.

**Example output**

```json
{
  "data": {
    "data": {
      "address": {
        "city": "example",
        "country": "example",
        "postal_code": "example",
        "state": "example",
        "street_address_1": "example",
        "street_address_2": "example"
      },
      "archived": false,
      "capture_photo_deeplink": "example",
      "company_id": "example",
      "coordinates": {
        "lat": 1,
        "lon": 1
      },
      "created_at": "example",
      "creator_id": "example",
      "creator_name": "example",
      "creator_type": "example",
      "customer_id": "example",
      "description": "example",
      "document_count": 1,
      "embedded_project_url": "example",
      "feature_image": [],
      "geofence": [],
      "id": "example",
      "name": "example",
      "photo_count": 1,
      "primary_contact": {
        "company_id": "example",
        "created_at": "example",
        "email": "example",
        "first_name": "example",
        "id": "example",
        "last_name": "example",
        "name": "example",
        "notes": "example",
        "phone_number": "example",
        "role": "example",
        "updated_at": "example"
      },
      "project_url": "example",
      "public": false,
      "public_url": "example",
      "slug": "example",
      "status": "example",
      "updated_at": "example"
    },
    "errors": [],
    "meta": {}
  }
}
```

### Update tag

Update tag in CompanyCam.

**Inputs**

- Id (`tag_id`, number, required): Id.
- Tag display value (`tag_display_value`, text, required): Returned value.

**Outputs**

- `data` (object): Returned value.

**Example output**

```json
{
  "data": {
    "data": {
      "company_id": "example",
      "created_at": "example",
      "display_value": "example",
      "id": "example",
      "tag_type": "example",
      "updated_at": "example",
      "value": "example"
    },
    "errors": [],
    "meta": {}
  }
}
```
