# Snipe-IT

> Manage Snipe-IT assets, companies and locations and check assets in and out.

App · 25 actions. Web page: https://docs.lodol.com/docs/integrations/snipe-it

## Actions

### Check in asset

Check in asset. Returns the service response.

**Inputs**

- Id (`id`, number, required): Id.
- Status (`status_id`, number, required): Status id.
- Name (`name`, text): Name.
- Note (`note`, text): Note.
- Location (`location_id`, text): Location id.

**Outputs**

- `data` (object): The complete service response.
- `has_more` (true/false): Whether another page is available.
- `next_cursor` (text): Pass this value to the next page cursor.

**Example output**

```json
{
  "data": {
    "messages": "example",
    "status": "example"
  },
  "has_more": false,
  "next_cursor": "example"
}
```

### Check out asset

Check out asset. Returns the service response.

**Inputs**

- Id (`id`, number, required): Id.
- Status (`status_id`, number, required): Status id.
- Checkout to type (`checkout_to_type`, text, required): Checkout to type. One of: `user`, `asset`, `location`.
- Assigned user (`assigned_user`, number): Assigned user.
- Assigned asset (`assigned_asset`, number): Assigned asset.
- Assigned location (`assigned_location`, number): Assigned location.
- Expected checkin (`expected_checkin`, date): Expected checkin.
- Checkout at (`checkout_at`, date): Checkout at.
- Name (`name`, text): Name.
- Note (`note`, text): Note.

**Outputs**

- `data` (object): The complete service response.
- `has_more` (true/false): Whether another page is available.
- `next_cursor` (text): Pass this value to the next page cursor.

**Example output**

```json
{
  "data": {
    "messages": "example",
    "status": "example"
  },
  "has_more": false,
  "next_cursor": "example"
}
```

### Create asset

Create asset. Returns the service response.

**Inputs**

- Asset tag (`asset_tag`, text, required): Asset tag.
- Status (`status_id`, number, required): Status id.
- Model (`model_id`, number, required): Model id.
- Name (`name`, text): Name.
- Image (`image`, text): Image.
- Serial (`serial`, text): Serial.
- Purchase date (`purchase_date`, date): Purchase date.
- Purchase cost (`purchase_cost`, number): Purchase cost.
- Order number (`order_number`, text): Order number.
- Notes (`notes`, text): Notes.
- Archived (`archived`, true/false): Archived.
- Warranty months (`warranty_months`, number): Warranty months.
- Depreciate (`depreciate`, true/false): Depreciate.
- Supplier id (`supplier_id`, number): Supplier id.
- Requestable (`requestable`, true/false): Requestable.
- Rtd location id (`rtd_location_id`, number): Rtd location id.
- Last audit date (`last_audit_date`, date): Last audit date.
- Location (`location_id`, number): Location id.
- Byod (`byod`, true/false): Byod.

**Outputs**

- `data` (object): The complete service response.
- `has_more` (true/false): Whether another page is available.
- `next_cursor` (text): Pass this value to the next page cursor.

**Example output**

```json
{
  "data": {
    "messages": "example",
    "payload": {
      "archived": "example",
      "asset_tag": "example",
      "assigned_to": "example",
      "company_id": "example",
      "created_at": "example",
      "depreciate": "example",
      "id": 1,
      "model": {
        "category_id": 1,
        "created_at": "example",
        "deprecated_mac_address": 1,
        "depreciation_id": 1,
        "eol": 1,
        "fieldset_id": "example",
        "id": 1,
        "image": "example",
        "manufacturer_id": 1,
        "model_number": "example",
        "name": "example",
        "notes": "example",
        "requestable": 1,
        "updated_at": "example"
      },
      "model_id": 1,
      "name": "example",
      "notes": "example",
      "order_number": "example",
      "physical": "example",
      "purchase_cost": "example",
      "purchase_date": "example",
      "requestable": 1,
      "rtd_location_id": "example",
      "serial": "example",
      "status_id": 1,
      "supplier_id": "example",
      "updated_at": "example",
      "user_id": 1,
      "warranty_months": "example"
    },
    "status": "example"
  },
  "has_more": false,
  "next_cursor": "example"
}
```

### Create company

Create company. Returns the service response.

**Inputs**

- Name (`name`, text, required): Name.

**Outputs**

- `data` (object): The complete service response.
- `has_more` (true/false): Whether another page is available.
- `next_cursor` (text): Pass this value to the next page cursor.

**Example output**

```json
{
  "data": {
    "messages": "example",
    "payload": {
      "created_at": "example",
      "id": 1,
      "name": "example",
      "updated_at": "example"
    },
    "status": "example"
  },
  "has_more": false,
  "next_cursor": "example"
}
```

### Create location

Create location. Returns the service response.

**Inputs**

- Name (`name`, text, required): Name.
- Address (`address`, text): Address.
- Address2 (`address2`, text): Address2.
- City (`city`, text): City.
- State (`state`, text): State.
- Country (`country`, text): Country.
- Zip (`zip`, text): Zip.
- Ldap ou (`ldap_ou`, text): Ldap ou.
- Parent id (`parent_id`, number): Parent id.
- Currency (`currency`, text): Currency.
- Manager id (`manager_id`, number): Manager id.
- Company (`company_id`, number): Company id.

**Outputs**

- `data` (object): The complete service response.
- `has_more` (true/false): Whether another page is available.
- `next_cursor` (text): Pass this value to the next page cursor.

**Example output**

```json
{
  "data": {},
  "has_more": false,
  "next_cursor": "example"
}
```

### Delete asset

Delete asset. Returns the service response.

**Inputs**

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

**Outputs**

- `data` (object): Data.
- `has_more` (true/false): Whether another page is available.
- `next_cursor` (text): Pass this value to the next page cursor.

**Example output**

```json
{
  "data": {
    "messages": "example",
    "payload": {},
    "status": "example"
  },
  "has_more": false,
  "next_cursor": "example"
}
```

### Delete company

Delete company. Returns the service response.

**Inputs**

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

**Outputs**

- `data` (object): The complete service response.
- `has_more` (true/false): Whether another page is available.
- `next_cursor` (text): Pass this value to the next page cursor.

**Example output**

```json
{
  "data": {
    "messages": "example",
    "status": "example"
  },
  "has_more": false,
  "next_cursor": "example"
}
```

### Delete location

Delete location. Returns the service response.

**Inputs**

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

**Outputs**

- `data` (object): The complete service response.
- `has_more` (true/false): Whether another page is available.
- `next_cursor` (text): Pass this value to the next page cursor.

**Example output**

```json
{
  "data": {
    "messages": "example",
    "payload": "example",
    "status": "example"
  },
  "has_more": false,
  "next_cursor": "example"
}
```

### Get asset

Get asset. Returns the service response.

**Inputs**

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

**Outputs**

- `data` (object): The complete service response.
- `has_more` (true/false): Whether another page is available.
- `next_cursor` (text): Pass this value to the next page cursor.

**Example output**

```json
{
  "data": {
    "age": "example",
    "alt_barcode": "example",
    "asset_tag": "example",
    "assigned_to": {
      "id": 1,
      "name": "example",
      "type": "example"
    },
    "available_actions": {
      "checkin": false,
      "checkout": false,
      "clone": false,
      "delete": false,
      "restore": false,
      "update": false
    },
    "category": {
      "id": 1,
      "name": "example"
    },
    "checkin_counter": 1,
    "checkout_counter": 1,
    "company": "example",
    "created_at": {
      "datetime": "example",
      "formatted": "example"
    },
    "custom_fields": {
      "CPU": {
        "element": "example",
        "field": "example",
        "field_format": "example",
        "value": "example"
      },
      "MAC Address": {
        "element": "example",
        "field": "example",
        "field_format": "example",
        "value": "example"
      },
      "RAM": {
        "element": "example",
        "field": "example",
        "field_format": "example",
        "value": "example"
      }
    },
    "deleted_at": "example",
    "eol": {
      "date": "example",
      "formatted": "example"
    },
    "expected_checkin": "example",
    "id": 1,
    "image": "example",
    "last_audit_date": "example",
    "last_checkout": "example",
    "location": {
      "id": 1,
      "name": "example"
    },
    "manufacturer": "example",
    "model": {
      "id": 1,
      "name": "example"
    },
    "model_number": "example",
    "name": "example",
    "next_audit_date": "example",
    "notes": "example",
    "order_number": "example",
    "purchase_cost": "example",
    "purchase_date": {
      "date": "example",
      "formatted": "example"
    },
    "qr": "example",
    "requests_counter": 1,
    "rtd_location": {
      "id": 1,
      "name": "example"
    },
    "serial": "example",
    "status_label": {
      "id": 1,
      "name": "example",
      "status_meta": "example",
      "status_type": "example"
    },
    "supplier": {
      "id": 1,
      "name": "example"
    },
    "updated_at": {
      "datetime": "example",
      "formatted": "example"
    },
    "user_can_checkout": false,
    "warranty_expires": "example",
    "warranty_months": "example"
  },
  "has_more": false,
  "next_cursor": "example"
}
```

### Get asset model

Get asset model. Returns the service response.

**Inputs**

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

**Outputs**

- `data` (object): The complete service response.
- `has_more` (true/false): Whether another page is available.
- `next_cursor` (text): Pass this value to the next page cursor.

**Example output**

```json
{
  "data": {
    "created_at": "example",
    "id": 1,
    "name": "example",
    "updated_at": "example"
  },
  "has_more": false,
  "next_cursor": "example"
}
```

### Get company

Get company. Returns the service response.

**Inputs**

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

**Outputs**

- `data` (object): The complete service response.
- `has_more` (true/false): Whether another page is available.
- `next_cursor` (text): Pass this value to the next page cursor.

**Example output**

```json
{
  "data": {
    "accessories_count": 1,
    "assets_count": 1,
    "available_actions": {
      "delete": false,
      "update": false
    },
    "components_count": 1,
    "consumables_count": 1,
    "created_at": {
      "datetime": "example",
      "formatted": "example"
    },
    "id": 1,
    "image": "example",
    "licenses_count": 1,
    "name": "example",
    "updated_at": {
      "datetime": "example",
      "formatted": "example"
    },
    "users_count": 1
  },
  "has_more": false,
  "next_cursor": "example"
}
```

### Get location

Get location. Returns the service response.

**Inputs**

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

**Outputs**

- `data` (object): The complete service response.
- `has_more` (true/false): Whether another page is available.
- `next_cursor` (text): Pass this value to the next page cursor.

**Example output**

```json
{
  "data": {},
  "has_more": false,
  "next_cursor": "example"
}
```

### Get status label

Get status label. Returns the service response.

**Inputs**

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

**Outputs**

- `data` (object): The complete service response.
- `has_more` (true/false): Whether another page is available.
- `next_cursor` (text): Pass this value to the next page cursor.

**Example output**

```json
{
  "data": {
    "assets_count": 1,
    "available_actions": {
      "delete": false,
      "update": false
    },
    "color": "example",
    "created_at": {
      "datetime": "example",
      "formatted": "example"
    },
    "id": 1,
    "name": "example",
    "notes": "example",
    "show_in_nav": false,
    "type": "example",
    "updated_at": {
      "datetime": "example",
      "formatted": "example"
    }
  },
  "has_more": false,
  "next_cursor": "example"
}
```

### Get user

Get user. Returns the service response.

**Inputs**

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

**Outputs**

- `data` (object): The complete service response.
- `has_more` (true/false): Whether another page is available.
- `next_cursor` (text): Pass this value to the next page cursor.

**Example output**

```json
{
  "data": {},
  "has_more": false,
  "next_cursor": "example"
}
```

### List asset models

List asset models. Returns one page; use the next page cursor to continue.

**Inputs**

- Limit (`limit`, number): Limit.
- Offset (`offset`, number): Offset. At least 0.
- Search (`search`, text): Search.
- Sort (`sort`, text): Sort.
- Order (`order`, text): Order. One of: `asc`, `desc`.
- Name (`name`, text): Name.
- Notes (`notes`, text): Notes.
- Model number (`model_number`, text): Model number.
- Category id (`category_id`, number): Category id.
- Depreciation id (`depreciation_id`, number): Depreciation id.
- Requestable (`requestable`, true/false): Requestable.

**Outputs**

- `data` (object): The complete service response.
- `has_more` (true/false): Whether another page is available.
- `next_cursor` (text): Pass this value to the next page cursor.

**Example output**

```json
{
  "data": {
    "rows": []
  },
  "has_more": false,
  "next_cursor": "example"
}
```

### List assets

List assets. Returns one page; use the next page cursor to continue.

**Inputs**

- Limit (`limit`, number): Limit.
- Offset (`offset`, number): Offset. At least 0.
- Search (`search`, text): Search.
- Order number (`order_number`, text): Order number.
- Sort (`sort`, text): Sort.
- Order (`order`, text): Order. One of: `asc`, `desc`.
- Model (`model_id`, number): Model id.
- Category id (`category_id`, number): Category id.
- Manufacturer id (`manufacturer_id`, number): Manufacturer id.
- Company (`company_id`, number): Company id.
- Location (`location_id`, number): Location id.
- Status (`status`, text): Status.
- Status (`status_id`, number): Status id.
- Assigned to (`assigned_to`, number): Assigned to.
- Assigned type (`assigned_type`, text): Assigned type. One of: `App\Models\Asset`, `App\Models\Accessory`, `App\Models\User`.
- Filter (`filter`, text): Filter.

**Outputs**

- `data` (object): The complete service response.
- `has_more` (true/false): Whether another page is available.
- `next_cursor` (text): Pass this value to the next page cursor.

**Example output**

```json
{
  "data": {
    "name": "example",
    "rows": []
  },
  "has_more": false,
  "next_cursor": "example"
}
```

### List categories

List categories. Returns one page; use the next page cursor to continue.

**Inputs**

- Name (`name`, text): Name.
- Limit (`limit`, number): Limit.
- Offset (`offset`, number): Offset. At least 0.
- Search (`search`, text): Search.
- Sort (`sort`, text): Sort.
- Order (`order`, text): Order. One of: `asc`, `desc`.
- Category id (`category_id`, number): Category id.
- Category type (`category_type`, text): Category type. One of: `asset`, `accessory`, `consumable`, `component`, `license`.
- Use default eula (`use_default_eula`, true/false): Use default eula.
- Require acceptance (`require_acceptance`, true/false): Require acceptance.
- Checkin email (`checkin_email`, true/false): Checkin email.

**Outputs**

- `data` (object): The complete service response.
- `has_more` (true/false): Whether another page is available.
- `next_cursor` (text): Pass this value to the next page cursor.

**Example output**

```json
{
  "data": {
    "rows": []
  },
  "has_more": false,
  "next_cursor": "example"
}
```

### List companies

List companies. Returns the service response.

**Inputs**

- Name (`name`, text): Name.

**Outputs**

- `data` (object): The complete service response.
- `has_more` (true/false): Whether another page is available.
- `next_cursor` (text): Pass this value to the next page cursor.

**Example output**

```json
{
  "data": {
    "rows": [],
    "total": 1
  },
  "has_more": false,
  "next_cursor": "example"
}
```

### List locations

List locations. Returns one page; use the next page cursor to continue.

**Inputs**

- Name (`name`, text): Name.
- Limit (`limit`, number): Limit.
- Offset (`offset`, number): Offset. At least 0.
- Search (`search`, text): Search.
- Sort (`sort`, text): Sort.
- Order (`order`, text): Order. One of: `asc`, `desc`.
- Address (`address`, text): Address.
- Address2 (`address2`, text): Address2.
- City (`city`, text): City.
- Zip (`zip`, text): Zip.
- Country (`country`, text): Country.

**Outputs**

- `data` (object): The complete service response.
- `has_more` (true/false): Whether another page is available.
- `next_cursor` (text): Pass this value to the next page cursor.

**Example output**

```json
{
  "data": {
    "rows": []
  },
  "has_more": false,
  "next_cursor": "example"
}
```

### List manufacturers

List manufacturers. Returns the service response.

**Inputs**

- Name (`name`, text): Name.
- Url (`url`, text): Url.
- Support url (`support_url`, text): Support url.
- Support phone (`support_phone`, text): Support phone.
- Support email (`support_email`, text): Support email.

**Outputs**

- `data` (object): The complete service response.
- `has_more` (true/false): Whether another page is available.
- `next_cursor` (text): Pass this value to the next page cursor.

**Example output**

```json
{
  "data": {
    "rows": [],
    "total": 1
  },
  "has_more": false,
  "next_cursor": "example"
}
```

### List status labels

List status labels. Returns one page; use the next page cursor to continue.

**Inputs**

- Name (`name`, text): Name.
- Limit (`limit`, number): Limit.
- Offset (`offset`, number): Offset. At least 0.
- Search (`search`, text): Search.
- Sort (`sort`, text): Sort.
- Order (`order`, text): Order. One of: `asc`, `desc`.
- Status type (`status_type`, text): Status type. One of: `deployable`, `undeployable`, `pending`, `archived`.

**Outputs**

- `data` (object): The complete service response.
- `has_more` (true/false): Whether another page is available.
- `next_cursor` (text): Pass this value to the next page cursor.

**Example output**

```json
{
  "data": {
    "rows": [],
    "total": 1
  },
  "has_more": false,
  "next_cursor": "example"
}
```

### List users

List users. Returns one page; use the next page cursor to continue.

**Inputs**

- Search (`search`, text): Search.
- Limit (`limit`, number): Limit.
- Offset (`offset`, number): Offset. At least 0.
- Sort (`sort`, text): Sort.
- Order (`order`, text): Order. One of: `asc`, `desc`.
- First name (`first_name`, text): First name.
- Last name (`last_name`, text): Last name.
- Username (`username`, text): Username.
- Email (`email`, text): Email.
- Employee num (`employee_num`, text): Employee num.
- State (`state`, text): State.
- Zip (`zip`, text): Zip.
- Country (`country`, text): Country.
- Group id (`group_id`, number): Group id.
- Department id (`department_id`, number): Department id.
- Company (`company_id`, number): Company id.
- Location (`location_id`, number): Location id.
- Deleted (`deleted`, true/false): Deleted.
- All (`all`, true/false): All.
- Ldap import (`ldap_import`, true/false): Ldap import.
- Assets count (`assets_count`, number): Assets count.
- Licenses count (`licenses_count`, number): Licenses count.
- Accessories count (`accessories_count`, number): Accessories count.
- Consumables count (`consumables_count`, number): Consumables count.
- Remote (`remote`, true/false): Remote.
- Vip (`vip`, true/false): Vip.
- Start date (`start_date`, date): Start date.
- End date (`end_date`, date): End date.
- Filter (`filter`, text): Filter.

**Outputs**

- `data` (object): The complete service response.
- `has_more` (true/false): Whether another page is available.
- `next_cursor` (text): Pass this value to the next page cursor.

**Example output**

```json
{
  "data": {
    "rows": []
  },
  "has_more": false,
  "next_cursor": "example"
}
```

### Update asset

Update asset. Returns the service response.

**Inputs**

- Id (`id`, number, required): Id.
- Asset tag (`asset_tag`, text): Asset tag.
- Notes (`notes`, text): Notes.
- Status (`status_id`, number): Status id.
- Model (`model_id`, number): Model id.
- Last checkout (`last_checkout`, date): Last checkout.
- Assigned user (`assigned_user`, number): Assigned user.
- Assigned location (`assigned_location`, number): Assigned location.
- Assigned asset (`assigned_asset`, number): Assigned asset.
- Company (`company_id`, number): Company id.
- Serial (`serial`, text): Serial.
- Order number (`order_number`, text): Order number.
- Warranty months (`warranty_months`, number): Warranty months.
- Purchase cost (`purchase_cost`, number): Purchase cost.
- Purchase date (`purchase_date`, date): Purchase date.
- Requestable (`requestable`, true/false): Requestable.
- Archived (`archived`, true/false): Archived.
- Rtd location id (`rtd_location_id`, number): Rtd location id.
- Name (`name`, text): Name.
- Location (`location_id`, text): Location id.
- Byod (`byod`, number): Byod.

**Outputs**

- `data` (object): Data.
- `has_more` (true/false): Whether another page is available.
- `next_cursor` (text): Pass this value to the next page cursor.

**Example output**

```json
{
  "data": {
    "messages": "example",
    "payload": {},
    "status": "example"
  },
  "has_more": false,
  "next_cursor": "example"
}
```

### Update company

Update company. Returns the service response.

**Inputs**

- Id (`id`, number, required): Id.
- Name (`name`, text, required): Name.

**Outputs**

- `data` (object): The complete service response.
- `has_more` (true/false): Whether another page is available.
- `next_cursor` (text): Pass this value to the next page cursor.

**Example output**

```json
{
  "data": {
    "created_at": "example",
    "id": 1,
    "name": "example",
    "updated_at": "example"
  },
  "has_more": false,
  "next_cursor": "example"
}
```

### Update location

Update location. Returns the service response.

**Inputs**

- Id (`id`, number, required): Id.
- Name (`name`, text): Name.
- Address (`address`, text): Address.
- Address2 (`address2`, text): Address2.
- City (`city`, text): City.
- State (`state`, text): State.
- Country (`country`, text): Country.
- Zip (`zip`, text): Zip.
- Currency (`currency`, text): Currency.
- Ldap ou (`ldap_ou`, text): Ldap ou.
- Manager id (`manager_id`, number): Manager id.
- Parent id (`parent_id`, number): Parent id.
- Company (`company_id`, number): Company id.

**Outputs**

- `data` (object): The complete service response.
- `has_more` (true/false): Whether another page is available.
- `next_cursor` (text): Pass this value to the next page cursor.

**Example output**

```json
{
  "data": {},
  "has_more": false,
  "next_cursor": "example"
}
```
