# JobTread

> Read jobs, tasks, documents and contacts; create and manage customer and vendor accounts.

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

## Actions

### Create account

Create account.

**Inputs**

- Archive (`archive`, true/false): Returned value.
- Is taxable (`is_taxable`, true/false): Returned value.
- Name (`name`, text, required): Returned value.
- Notify (`notify`, true/false): Returned value.
- Organization ID (`organization_id`, text, required): Returned value.
- Suffix if necessary (`suffix_if_necessary`, true/false): Returned value.
- Type (`type`, text, required): Returned value. One of: `customer`, `vendor`.

**Outputs**

- `data` (object): Returned value.

**Example output**

```json
{
  "data": {
    "createdAccount": {
      "id": "example",
      "name": "example"
    }
  }
}
```

### Create contact

Create contact.

**Inputs**

- Account ID (`account_id`, text, required): Returned value.
- Name (`name`, text, required): Returned value.
- Title (`title`, text): Returned value.

**Outputs**

- `data` (object): Returned value.

**Example output**

```json
{
  "data": {
    "createdContact": {
      "id": "example",
      "name": "example"
    }
  }
}
```

### Delete account

Delete account.

**Inputs**

- Id (`id`, text, required): Returned value.

**Outputs**

- `data` (object): Returned value.

**Example output**

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

### Delete contact

Delete contact.

**Inputs**

- Id (`id`, text, required): Returned value.

**Outputs**

- `data` (object): Returned value.

**Example output**

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

### Get account

Get account.

**Inputs**

- Account ID (`account_id`, text, required): Account ID.

**Outputs**

- `data` (object): Returned value.

**Example output**

```json
{
  "data": {
    "account": {
      "createdAt": "example",
      "description": "example",
      "id": "example",
      "name": "example",
      "number": "example",
      "timeZone": "example"
    }
  }
}
```

### Get contact

Get contact.

**Inputs**

- Contact ID (`contact_id`, text, required): Contact ID.

**Outputs**

- `data` (object): Returned value.

**Example output**

```json
{
  "data": {
    "contact": {
      "createdAt": "example",
      "description": "example",
      "id": "example",
      "name": "example",
      "number": "example",
      "timeZone": "example"
    }
  }
}
```

### Get current grant

Get current grant.

**Inputs**: None.

**Outputs**

- `data` (object): Returned value.

**Example output**

```json
{
  "data": {
    "currentGrant": {
      "id": "example",
      "organization": {
        "id": "example",
        "name": "example"
      }
    }
  }
}
```

### Get document

Get document.

**Inputs**

- Document ID (`document_id`, text, required): Document ID.

**Outputs**

- `data` (object): Returned value.

**Example output**

```json
{
  "data": {
    "document": {
      "createdAt": "example",
      "description": "example",
      "id": "example",
      "name": "example",
      "number": "example",
      "timeZone": "example"
    }
  }
}
```

### Get job

Get job.

**Inputs**

- Job ID (`job_id`, text, required): Job ID.

**Outputs**

- `data` (object): Returned value.

**Example output**

```json
{
  "data": {
    "job": {
      "createdAt": "example",
      "description": "example",
      "id": "example",
      "name": "example",
      "number": "example",
      "timeZone": "example"
    }
  }
}
```

### Get location

Get location.

**Inputs**

- Location ID (`location_id`, text, required): Location ID.

**Outputs**

- `data` (object): Returned value.

**Example output**

```json
{
  "data": {
    "location": {
      "createdAt": "example",
      "description": "example",
      "id": "example",
      "name": "example",
      "number": "example",
      "timeZone": "example"
    }
  }
}
```

### Get organization

Get organization.

**Inputs**

- Organization ID (`organization_id`, text, required): Organization ID.

**Outputs**

- `data` (object): Returned value.

**Example output**

```json
{
  "data": {
    "organization": {
      "createdAt": "example",
      "description": "example",
      "id": "example",
      "name": "example",
      "number": "example",
      "timeZone": "example"
    }
  }
}
```

### Get task

Get task.

**Inputs**

- Task ID (`task_id`, text, required): Task ID.

**Outputs**

- `data` (object): Returned value.

**Example output**

```json
{
  "data": {
    "task": {
      "createdAt": "example",
      "description": "example",
      "id": "example",
      "name": "example",
      "number": "example",
      "timeZone": "example"
    }
  }
}
```

### List accounts

List accounts.

**Inputs**

- Organization ID (`organization_id`, text, required): Organization ID.
- Page (`page`, text): Page.
- Size (`size`, number): Returned value. From 1 to 100.

**Outputs**

- `data` (object): Returned value.

**Example output**

```json
{
  "data": {
    "organization": {
      "accounts": {
        "nextPage": "example",
        "nodes": []
      }
    }
  }
}
```

### List contacts

List contacts.

**Inputs**

- Organization ID (`organization_id`, text, required): Organization ID.
- Page (`page`, text): Page.
- Size (`size`, number): Returned value. From 1 to 100.

**Outputs**

- `data` (object): Returned value.

**Example output**

```json
{
  "data": {
    "organization": {
      "contacts": {
        "nextPage": "example",
        "nodes": []
      }
    }
  }
}
```

### List documents

List documents.

**Inputs**

- Organization ID (`organization_id`, text, required): Organization ID.
- Page (`page`, text): Page.
- Size (`size`, number): Returned value. From 1 to 100.

**Outputs**

- `data` (object): Returned value.

**Example output**

```json
{
  "data": {
    "organization": {
      "documents": {
        "nextPage": "example",
        "nodes": []
      }
    }
  }
}
```

### List jobs

List jobs.

**Inputs**

- Organization ID (`organization_id`, text, required): Organization ID.
- Page (`page`, text): Page.
- Size (`size`, number): Returned value. From 1 to 100.

**Outputs**

- `data` (object): Returned value.

**Example output**

```json
{
  "data": {
    "organization": {
      "jobs": {
        "nextPage": "example",
        "nodes": []
      }
    }
  }
}
```

### List locations

List locations.

**Inputs**

- Organization ID (`organization_id`, text, required): Organization ID.
- Page (`page`, text): Page.
- Size (`size`, number): Returned value. From 1 to 100.

**Outputs**

- `data` (object): Returned value.

**Example output**

```json
{
  "data": {
    "organization": {
      "locations": {
        "nextPage": "example",
        "nodes": []
      }
    }
  }
}
```

### List tasks

List tasks.

**Inputs**

- Organization ID (`organization_id`, text, required): Organization ID.
- Page (`page`, text): Page.
- Size (`size`, number): Returned value. From 1 to 100.

**Outputs**

- `data` (object): Returned value.

**Example output**

```json
{
  "data": {
    "organization": {
      "tasks": {
        "nextPage": "example",
        "nodes": []
      }
    }
  }
}
```

### Update account

Update account.

**Inputs**

- Archive (`archive`, true/false): Returned value.
- Id (`id`, text, required): Returned value.
- Is taxable (`is_taxable`, true/false): Returned value.
- Name (`name`, text): Returned value.
- Notify (`notify`, true/false): Returned value.

**Outputs**

- `data` (object): Returned value.

**Example output**

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

### Update contact

Update contact.

**Inputs**

- Id (`id`, text, required): Returned value.
- Name (`name`, text): Returned value.
- Title (`title`, text): Returned value.

**Outputs**

- `data` (object): Returned value.

**Example output**

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