# PracticePanther

> Read legal contacts, matters, tasks, events and billing; create and maintain notes.

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

## Actions

### Create note

Create a note with a subject and text, optionally linked to an account or matter, dated and tagged. Returns the new note.

**Inputs**

- Subject (`subject`, text, required): Subject.
- Note (`note`, text, required): Note.
- Account (`account_id`, text): Account ID.
- Matter (`matter_id`, text): Matter ID.
- Date (`date`, date and time): Date.
- Tags (`tags`, list): Tags.

**Outputs**

- `data` (object): Response.

**Example output**

```json
{
  "data": {
    "account_ref": {},
    "assigned_to_users": [],
    "created_at": "example",
    "date": "example",
    "id": "example",
    "matter_ref": {},
    "note": "example",
    "subject": "example",
    "tags": [],
    "updated_at": "example"
  }
}
```

### Delete note

Delete a note by its ID.

**Inputs**

- Note (`note_id`, text, required): Note ID.

**Outputs**

- `data` (object): Response.

**Example output**

```json
{
  "data": {
    "account_ref": {},
    "assigned_to_users": [],
    "created_at": "example",
    "date": "example",
    "id": "example",
    "matter_ref": {},
    "note": "example",
    "subject": "example",
    "tags": [],
    "updated_at": "example"
  }
}
```

### Get account

Get one client account by its ID, returning its name, number, address, contacts and tags.

**Inputs**

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

**Outputs**

- `data` (object): Response.

**Example output**

```json
{
  "data": {
    "display_name": "example",
    "id": "example"
  }
}
```

### Get contact

Get one contact by its ID, returning their name, email addresses, phone numbers and the account they belong to.

**Inputs**

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

**Outputs**

- `data` (object): Response.

**Example output**

```json
{
  "data": {
    "display_name": "example",
    "id": "example"
  }
}
```

### Get current user

Get the PracticePanther user who connected this account, returning their name, email address and ID.

**Inputs**: None.

**Outputs**

- `data` (object): Response.

**Example output**

```json
{
  "data": {
    "email": "example",
    "id": "example"
  }
}
```

### Get event

Get one calendar event by its ID, returning its subject, location, start and end times, attendees and related matter.

**Inputs**

- Event (`event_id`, text, required): Event ID.

**Outputs**

- `data` (object): Response.

**Example output**

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

### Get invoice

Get one invoice by its ID, returning its number, client account, matter, dates, line items, total and balance due.

**Inputs**

- Invoice (`invoice_id`, text, required): Invoice ID.

**Outputs**

- `data` (object): Response.

**Example output**

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

### Get matter

Get one matter by its ID, returning its name, number, status, client account, open date and assigned users.

**Inputs**

- Matter (`matter_id`, text, required): Matter ID.

**Outputs**

- `data` (object): Response.

**Example output**

```json
{
  "data": {
    "display_name": "example",
    "id": "example"
  }
}
```

### Get note

Get one note by its ID, returning its subject, text, date, tags and related account or matter.

**Inputs**

- Note (`note_id`, text, required): Note ID.

**Outputs**

- `data` (object): Response.

**Example output**

```json
{
  "data": {
    "account_ref": {},
    "assigned_to_users": [],
    "created_at": "example",
    "date": "example",
    "id": "example",
    "matter_ref": {},
    "note": "example",
    "subject": "example",
    "tags": [],
    "updated_at": "example"
  }
}
```

### Get task

Get one task by its ID, returning its subject, notes, due date, status, assignees and related matter.

**Inputs**

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

**Outputs**

- `data` (object): Response.

**Example output**

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

### Get time entry

Get one time entry by its ID, returning its date, hours, rate, description, billing status and matter.

**Inputs**

- Time entry (`time_entry_id`, text, required): Time entry ID.

**Outputs**

- `data` (object): Response.

**Example output**

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

### List accounts

List client accounts, optionally only those created or updated since a given time. Returns each account's name, number, contacts and tags.

**Inputs**

- Created since (`created_since`, date and time): Created since.
- Updated since (`updated_since`, date and time): Updated since.

**Outputs**

- `data` (list): Response.

**Example output**

```json
{
  "data": []
}
```

### List contacts

List contacts, optionally only those created or updated since a given time. Returns each contact's name, email, phone and account.

**Inputs**

- Created since (`created_since`, date and time): Created since.
- Updated since (`updated_since`, date and time): Updated since.

**Outputs**

- `data` (list): Response.

**Example output**

```json
{
  "data": []
}
```

### List events

List calendar events, optionally only those created or updated since a given time. Returns each event's subject, start and end times and related matter.

**Inputs**

- Created since (`created_since`, date and time): Created since.
- Updated since (`updated_since`, date and time): Updated since.

**Outputs**

- `data` (list): Response.

**Example output**

```json
{
  "data": []
}
```

### List invoices

List invoices, optionally only those created or updated since a given time. Returns one page with each invoice's number, client, total and balance due; use skip and top for the next page.

**Inputs**

- Created since (`created_since`, date and time): Created since.
- Updated since (`updated_since`, date and time): Updated since.
- Skip (`skip`, number): Skip. At least 0.
- Top (`top`, number): Top. From 1 to 2500.

**Outputs**

- `data` (list): Response.

**Example output**

```json
{
  "data": []
}
```

### List matters

List matters (cases), optionally only those created or updated since a given time. Returns each matter's name, number, status and client account.

**Inputs**

- Created since (`created_since`, date and time): Created since.
- Updated since (`updated_since`, date and time): Updated since.

**Outputs**

- `data` (list): Response.

**Example output**

```json
{
  "data": []
}
```

### List notes

List notes, optionally only those created or updated since a given time. Returns each note's subject, text, date and related account or matter.

**Inputs**

- Created since (`created_since`, date and time): Created since.
- Updated since (`updated_since`, date and time): Updated since.

**Outputs**

- `data` (list): Response.

**Example output**

```json
{
  "data": []
}
```

### List tasks

List tasks, optionally only those created or updated since a given time. Returns each task's subject, due date, status and the matter it belongs to.

**Inputs**

- Created since (`created_since`, date and time): Created since.
- Updated since (`updated_since`, date and time): Updated since.

**Outputs**

- `data` (list): Response.

**Example output**

```json
{
  "data": []
}
```

### List time entries

List time entries, optionally only those created or updated since a given time. Returns each entry's date, hours, rate, description and matter.

**Inputs**

- Created since (`created_since`, date and time): Created since.
- Updated since (`updated_since`, date and time): Updated since.

**Outputs**

- `data` (list): Response.

**Example output**

```json
{
  "data": []
}
```

### Update note

Change a note by its ID. Only the subject, text, date, tags or linked account or matter you supply are changed; the rest stays as it was.

**Inputs**

- Note (`note_id`, text, required): Note ID.
- Subject (`subject`, text): Subject.
- Note (`note`, text): Note.
- Account (`account_id`, text): Account ID.
- Matter (`matter_id`, text): Matter ID.
- Date (`date`, date and time): Date.
- Tags (`tags`, list): Tags.

**Outputs**

- `data` (object): Response.

**Example output**

```json
{
  "data": {
    "account_ref": {},
    "assigned_to_users": [],
    "created_at": "example",
    "date": "example",
    "id": "example",
    "matter_ref": {},
    "note": "example",
    "subject": "example",
    "tags": [],
    "updated_at": "example"
  }
}
```
