# Semble

> Read Semble practice details, bookings, patients, products, contacts and invoices.

App · 15 actions. Web page: https://docs.lodol.com/docs/integrations/semble

## Actions

### Get booking

Get booking.

**Inputs**

- Record ID (`record_id`, text, required): The ID of the booking.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "end": "example",
    "id": "example",
    "patientId": "example",
    "start": "example",
    "status": "example"
  }
}
```

### Get clinician

Get clinician.

**Inputs**

- Record (`record_id`, text, required): The ID of the clinician.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "email": "example",
    "firstName": "example",
    "id": "example",
    "isDoctor": true,
    "lastName": "example"
  }
}
```

### Get contact

Get contact.

**Inputs**

- Record ID (`record_id`, text, required): The ID of the contact.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "company": "example",
    "email": "example",
    "firstName": "example",
    "id": "example",
    "lastName": "example"
  }
}
```

### Get invoice

Get invoice.

**Inputs**

- Record ID (`record_id`, text, required): The ID of the invoice.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "date": "example",
    "id": "example",
    "invoiceNumber": 1,
    "patientId": "example",
    "status": "example"
  }
}
```

### Get patient

Get patient.

**Inputs**

- Record ID (`record_id`, text, required): The ID of the patient.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "firstName": "example",
    "id": "example",
    "lastName": "example",
    "status": "example"
  }
}
```

### Get practice details

Get practice details.

**Inputs**: None.

**Outputs**

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

**Example output**

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

### Get product

Get product.

**Inputs**

- Record (`record_id`, text, required): The ID of the product.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "id": "example",
    "itemCode": "example",
    "name": "example",
    "status": "example"
  }
}
```

### List booking forms

List booking forms.

**Inputs**

- Page (`page`, number): Page number. At least 1.
- Page size (`page_size`, number): Number of results per page. From 1 to 100.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "data": [
      {
        "createdAt": "example",
        "formName": "example",
        "id": "example",
        "status": "example"
      }
    ],
    "pageInfo": {
      "hasMore": true,
      "page": 1,
      "pageSize": 1
    }
  }
}
```

### List bookings

List bookings.

**Inputs**

- Page (`page`, number): Page number. At least 1.
- Page size (`page_size`, number): Number of results per page. From 1 to 100.
- Start time (`start_time`, date and time): Earliest date and time.
- End time (`end_time`, date and time): Latest date and time.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "data": [
      {
        "end": "example",
        "id": "example",
        "patientId": "example",
        "start": "example",
        "status": "example"
      }
    ],
    "pageInfo": {
      "hasMore": true,
      "page": 1,
      "pageSize": 1
    }
  }
}
```

### List contacts

List contacts.

**Inputs**

- Page (`page`, number): Page number. At least 1.
- Page size (`page_size`, number): Number of results per page. From 1 to 100.
- Search (`search`, text): Words to look for.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "data": [
      {
        "company": "example",
        "email": "example",
        "firstName": "example",
        "id": "example",
        "lastName": "example"
      }
    ],
    "pageInfo": {
      "hasMore": true,
      "page": 1,
      "pageSize": 1
    }
  }
}
```

### List invoices

List invoices.

**Inputs**

- Page (`page`, number): Page number. At least 1.
- Page size (`page_size`, number): Number of results per page. From 1 to 100.
- Start time (`start_time`, date and time): Earliest date and time.
- End time (`end_time`, date and time): Latest date and time.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "data": [
      {
        "date": "example",
        "id": "example",
        "invoiceNumber": 1,
        "patientId": "example",
        "status": "example"
      }
    ],
    "pageInfo": {
      "hasMore": true,
      "page": 1,
      "pageSize": 1
    }
  }
}
```

### List labels

List labels.

**Inputs**

- Page (`page`, number): Page number. At least 1.
- Page size (`page_size`, number): Number of results per page. From 1 to 100.
- Search (`search`, text): Words to look for.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "data": [
      {
        "color": "example",
        "id": "example",
        "title": "example"
      }
    ],
    "pageInfo": {
      "hasMore": true,
      "page": 1,
      "pageSize": 1
    }
  }
}
```

### List patients

List patients.

**Inputs**

- Page (`page`, number): Page number. At least 1.
- Page size (`page_size`, number): Number of results per page. From 1 to 100.
- Search (`search`, text): Words to look for.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "data": [
      {
        "firstName": "example",
        "id": "example",
        "lastName": "example",
        "status": "example"
      }
    ],
    "pageInfo": {
      "hasMore": true,
      "page": 1,
      "pageSize": 1
    }
  }
}
```

### List practice users

List practice users.

**Inputs**

- Page (`page`, number): Page number. At least 1.
- Page size (`page_size`, number): Number of results per page. From 1 to 100.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "data": [
      {
        "email": "example",
        "firstName": "example",
        "id": "example",
        "isDoctor": true,
        "lastName": "example"
      }
    ],
    "pageInfo": {
      "hasMore": true,
      "page": 1,
      "pageSize": 1
    }
  }
}
```

### List products

List products.

**Inputs**

- Page (`page`, number): Page number. At least 1.
- Page size (`page_size`, number): Number of results per page. From 1 to 100.
- Search (`search`, text): Words to look for.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "data": [
      {
        "id": "example",
        "itemCode": "example",
        "name": "example",
        "status": "example"
      }
    ],
    "pageInfo": {
      "hasMore": true,
      "page": 1,
      "pageSize": 1
    }
  }
}
```
