> ## Documentation Index
> Fetch the complete documentation index at: https://docs.pinkfish.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# repairshopr-scheduling

> RepairShopr Scheduling - manage appointments, schedules, contracts, and time logs

**Server path:** `/repairshopr-scheduling` | **Type:** Application | **PCID required:** Yes

## Tools

| Tool                                                                                                                                                                      | Description                                   |
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------- |
| [`repairshopr_scheduling_create_appointment_types`](#repairshopr_scheduling_create_appointment_types)                                                                     | Creates an Appointment Type                   |
| [`repairshopr_scheduling_create_appointments`](#repairshopr_scheduling_create_appointments)                                                                               | Creates an Appointment                        |
| [`repairshopr_scheduling_create_contracts`](#repairshopr_scheduling_create_contracts)                                                                                     | Creates a Contract                            |
| [`repairshopr_scheduling_create_schedules`](#repairshopr_scheduling_create_schedules)                                                                                     | Creates an Invoice Schedule                   |
| [`repairshopr_scheduling_create_schedules_by_id_add_line_item`](#repairshopr_scheduling_create_schedules_by_id_add_line_item)                                             | Adds a Line Item to an Invoice Schedule       |
| [`repairshopr_scheduling_create_schedules_by_id_remove_line_item`](#repairshopr_scheduling_create_schedules_by_id_remove_line_item)                                       | Removes a Line Item from an Invoice Schedule  |
| [`repairshopr_scheduling_delete_appointment_types_by_id`](#repairshopr_scheduling_delete_appointment_types_by_id)                                                         | Deletes an Appointment Type by ID             |
| [`repairshopr_scheduling_delete_appointments_by_id`](#repairshopr_scheduling_delete_appointments_by_id)                                                                   | Deletes an Appointment by ID                  |
| [`repairshopr_scheduling_delete_contracts_by_id`](#repairshopr_scheduling_delete_contracts_by_id)                                                                         | Deletes a Contract by ID                      |
| [`repairshopr_scheduling_delete_schedules_by_id`](#repairshopr_scheduling_delete_schedules_by_id)                                                                         | Deletes a Schedule by ID                      |
| [`repairshopr_scheduling_get_appointment_types_by_id`](#repairshopr_scheduling_get_appointment_types_by_id)                                                               | Retrieves an Appointment Type by ID           |
| [`repairshopr_scheduling_get_appointments_by_id`](#repairshopr_scheduling_get_appointments_by_id)                                                                         | Retrieves an Appointment by ID                |
| [`repairshopr_scheduling_get_contracts_by_id`](#repairshopr_scheduling_get_contracts_by_id)                                                                               | Retrieves a Contract by ID                    |
| [`repairshopr_scheduling_get_schedules_by_id`](#repairshopr_scheduling_get_schedules_by_id)                                                                               | Retrieves a Schedule by ID                    |
| [`repairshopr_scheduling_list_appointment_types`](#repairshopr_scheduling_list_appointment_types)                                                                         | Returns a paginated list of Appointment Types |
| [`repairshopr_scheduling_list_appointments`](#repairshopr_scheduling_list_appointments)                                                                                   | Returns a paginated list of Appointments      |
| [`repairshopr_scheduling_list_contracts`](#repairshopr_scheduling_list_contracts)                                                                                         | Returns a paginated list of Contracts         |
| [`repairshopr_scheduling_list_schedules`](#repairshopr_scheduling_list_schedules)                                                                                         | Returns a paginated list of Invoice Schedules |
| [`repairshopr_scheduling_list_timelogs`](#repairshopr_scheduling_list_timelogs)                                                                                           | Returns a paginated list of Timelogs          |
| [`repairshopr_scheduling_list_timelogs_last`](#repairshopr_scheduling_list_timelogs_last)                                                                                 | Returns last Timelog                          |
| [`repairshopr_scheduling_update_appointment_types_by_id`](#repairshopr_scheduling_update_appointment_types_by_id)                                                         | Updates an existing Appointment Type by ID    |
| [`repairshopr_scheduling_update_appointments_by_id`](#repairshopr_scheduling_update_appointments_by_id)                                                                   | Updates an existing Appointment by ID         |
| [`repairshopr_scheduling_update_contracts_by_id`](#repairshopr_scheduling_update_contracts_by_id)                                                                         | Updates an existing Contract by ID            |
| [`repairshopr_scheduling_update_schedules_by_id`](#repairshopr_scheduling_update_schedules_by_id)                                                                         | Updates an existing Invoice Schedule by ID    |
| [`repairshopr_scheduling_update_schedules_by_id_line_items_by_schedule_line_item_id`](#repairshopr_scheduling_update_schedules_by_id_line_items_by_schedule_line_item_id) | Updates a Line Item                           |
| [`repairshopr_scheduling_update_timelogs`](#repairshopr_scheduling_update_timelogs)                                                                                       | Updates a Timelog                             |

***

## repairshopr\_scheduling\_create\_appointment\_types

Creates an Appointment Type

**Parameters:**

| Parameter            | Type    | Required | Default | Description        |
| -------------------- | ------- | -------- | ------- | ------------------ |
| `email_instructions` | string  | No       | —       | Email Instructions |
| `location_hard_code` | string  | No       | —       | Location Hard Code |
| `location_type`      | integer | No       | —       | Location Type      |
| `name`               | string  | Yes      | —       | The name value     |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "email_instructions": {
        "type": "string",
        "description": "Email Instructions"
      },
      "location_hard_code": {
        "type": "string",
        "description": "Location Hard Code"
      },
      "location_type": {
        "type": "integer",
        "description": "Location Type"
      },
      "name": {
        "type": "string",
        "description": "The name value"
      }
    },
    "required": [
      "PCID",
      "name"
    ]
  }
  ```
</Expandable>

***

## repairshopr\_scheduling\_create\_appointments

Creates an Appointment

**Parameters:**

| Parameter              | Type       | Required | Default | Description           |
| ---------------------- | ---------- | -------- | ------- | --------------------- |
| `all_day`              | boolean    | No       | —       | All Day               |
| `appointment_duration` | string     | No       | —       | Appointment Duration  |
| `appointment_type_id`  | integer    | No       | —       | Appointment Type Id   |
| `customer_id`          | integer    | No       | —       | Customer Id           |
| `description`          | string     | No       | —       | The description value |
| `do_not_email`         | boolean    | No       | —       | Do Not Email          |
| `email_customer`       | boolean    | No       | —       | Email Customer        |
| `end_at`               | string     | No       | —       | End At                |
| `location`             | string     | No       | —       | The location value    |
| `start_at`             | string     | Yes      | —       | Start At              |
| `summary`              | string     | Yes      | —       | The summary value     |
| `ticket_id`            | integer    | No       | —       | Ticket Id             |
| `user_id`              | integer    | No       | —       | User Id               |
| `user_ids`             | integer\[] | No       | —       | User Ids              |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "all_day": {
        "type": "boolean",
        "description": "All Day"
      },
      "appointment_duration": {
        "type": "string",
        "description": "Appointment Duration"
      },
      "appointment_type_id": {
        "type": "integer",
        "description": "Appointment Type Id"
      },
      "customer_id": {
        "type": "integer",
        "description": "Customer Id"
      },
      "description": {
        "type": "string",
        "description": "The description value"
      },
      "do_not_email": {
        "type": "boolean",
        "description": "Do Not Email"
      },
      "email_customer": {
        "type": "boolean",
        "description": "Email Customer"
      },
      "end_at": {
        "type": "string",
        "description": "End At"
      },
      "location": {
        "type": "string",
        "description": "The location value"
      },
      "start_at": {
        "type": "string",
        "description": "Start At"
      },
      "summary": {
        "type": "string",
        "description": "The summary value"
      },
      "ticket_id": {
        "type": "integer",
        "description": "Ticket Id"
      },
      "user_id": {
        "type": "integer",
        "description": "User Id"
      },
      "user_ids": {
        "type": "array",
        "items": {
          "type": "integer"
        },
        "description": "User Ids"
      }
    },
    "required": [
      "PCID",
      "start_at",
      "summary"
    ]
  }
  ```
</Expandable>

***

## repairshopr\_scheduling\_create\_contracts

Creates a Contract

**Parameters:**

| Parameter         | Type    | Required | Default | Description              |
| ----------------- | ------- | -------- | ------- | ------------------------ |
| `apply_to_all`    | boolean | No       | —       | Apply To All             |
| `contract_amount` | string  | No       | —       | Contract Amount          |
| `customer_id`     | integer | Yes      | —       | Customer Id              |
| `description`     | string  | No       | —       | The description value    |
| `end_date`        | string  | No       | —       | End date for filtering   |
| `likelihood`      | integer | No       | —       | The likelihood value     |
| `name`            | string  | No       | —       | The name value           |
| `primary_contact` | string  | No       | —       | Primary Contact          |
| `sla_id`          | integer | No       | —       | Sla Id                   |
| `start_date`      | string  | No       | —       | Start date for filtering |
| `status`          | string  | No       | —       | The status value         |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "apply_to_all": {
        "type": "boolean",
        "description": "Apply To All"
      },
      "contract_amount": {
        "type": "string",
        "description": "Contract Amount"
      },
      "customer_id": {
        "type": "integer",
        "description": "Customer Id"
      },
      "description": {
        "type": "string",
        "description": "The description value"
      },
      "end_date": {
        "type": "string",
        "description": "End date for filtering"
      },
      "likelihood": {
        "type": "integer",
        "description": "The likelihood value"
      },
      "name": {
        "type": "string",
        "description": "The name value"
      },
      "primary_contact": {
        "type": "string",
        "description": "Primary Contact"
      },
      "sla_id": {
        "type": "integer",
        "description": "Sla Id"
      },
      "start_date": {
        "type": "string",
        "description": "Start date for filtering"
      },
      "status": {
        "type": "string",
        "description": "The status value"
      }
    },
    "required": [
      "PCID",
      "customer_id"
    ]
  }
  ```
</Expandable>

***

## repairshopr\_scheduling\_create\_schedules

Creates an Invoice Schedule

**Parameters:**

| Parameter                         | Type    | Required | Default | Description                     |
| --------------------------------- | ------- | -------- | ------- | ------------------------------- |
| `charge_mop`                      | boolean | No       | —       | Charge Mop                      |
| `customer_id`                     | integer | No       | —       | Customer Id                     |
| `email_customer`                  | boolean | No       | —       | Email Customer                  |
| `frequency`                       | string  | No       | —       | The frequency value             |
| `invoice_unbilled_ticket_charges` | boolean | No       | —       | Invoice Unbilled Ticket Charges |
| `name`                            | string  | No       | —       | The name value                  |
| `next_run`                        | string  | No       | —       | Next Run                        |
| `paused`                          | boolean | No       | —       | The paused value                |
| `snail_mail`                      | boolean | No       | —       | Snail Mail                      |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "charge_mop": {
        "type": "boolean",
        "description": "Charge Mop"
      },
      "customer_id": {
        "type": "integer",
        "description": "Customer Id"
      },
      "email_customer": {
        "type": "boolean",
        "description": "Email Customer"
      },
      "frequency": {
        "type": "string",
        "description": "The frequency value",
        "enum": [
          "Daily",
          "Monthly",
          "Weekly",
          "Biweekly",
          "Quarterly",
          "Semi-Annually",
          "Annually",
          "Biennially",
          "Triennially"
        ]
      },
      "invoice_unbilled_ticket_charges": {
        "type": "boolean",
        "description": "Invoice Unbilled Ticket Charges"
      },
      "name": {
        "type": "string",
        "description": "The name value"
      },
      "next_run": {
        "type": "string",
        "description": "Next Run"
      },
      "paused": {
        "type": "boolean",
        "description": "The paused value"
      },
      "snail_mail": {
        "type": "boolean",
        "description": "Snail Mail"
      }
    },
    "required": [
      "PCID"
    ]
  }
  ```
</Expandable>

***

## repairshopr\_scheduling\_create\_schedules\_by\_id\_add\_line\_item

Adds a Line Item to an Invoice Schedule

**Parameters:**

| Parameter                 | Type    | Required | Default | Description             |
| ------------------------- | ------- | -------- | ------- | ----------------------- |
| `id`                      | integer | Yes      | —       | The id value            |
| `asset_type_id`           | integer | No       | —       | Asset Type Id           |
| `contact_field_answer_id` | integer | No       | —       | Contact Field Answer Id |
| `contact_field_type_id`   | integer | No       | —       | Contact Field Type Id   |
| `cost_cents`              | integer | No       | —       | Cost Cents              |
| `description`             | string  | No       | —       | The description value   |
| `name`                    | string  | No       | —       | The name value          |
| `one_time_charge`         | boolean | No       | —       | One Time Charge         |
| `position`                | integer | No       | —       | The position value      |
| `product_id`              | integer | No       | —       | Product Id              |
| `quantity`                | number  | No       | —       | The quantity value      |
| `recurring_type_id`       | integer | No       | —       | Recurring Type Id       |
| `retail_cents`            | integer | No       | —       | Retail Cents            |
| `saved_asset_search_id`   | integer | No       | —       | Saved Asset Search Id   |
| `taxable`                 | boolean | No       | —       | The taxable value       |
| `user_id`                 | integer | No       | —       | User Id                 |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "id": {
        "type": "integer",
        "description": "The id value"
      },
      "asset_type_id": {
        "type": "integer",
        "description": "Asset Type Id"
      },
      "contact_field_answer_id": {
        "type": "integer",
        "description": "Contact Field Answer Id"
      },
      "contact_field_type_id": {
        "type": "integer",
        "description": "Contact Field Type Id"
      },
      "cost_cents": {
        "type": "integer",
        "description": "Cost Cents"
      },
      "description": {
        "type": "string",
        "description": "The description value"
      },
      "name": {
        "type": "string",
        "description": "The name value"
      },
      "one_time_charge": {
        "type": "boolean",
        "description": "One Time Charge"
      },
      "position": {
        "type": "integer",
        "description": "The position value"
      },
      "product_id": {
        "type": "integer",
        "description": "Product Id"
      },
      "quantity": {
        "type": "number",
        "description": "The quantity value"
      },
      "recurring_type_id": {
        "type": "integer",
        "description": "Recurring Type Id",
        "enum": [
          1,
          2,
          3,
          4,
          5,
          6
        ]
      },
      "retail_cents": {
        "type": "integer",
        "description": "Retail Cents"
      },
      "saved_asset_search_id": {
        "type": "integer",
        "description": "Saved Asset Search Id"
      },
      "taxable": {
        "type": "boolean",
        "description": "The taxable value"
      },
      "user_id": {
        "type": "integer",
        "description": "User Id"
      }
    },
    "required": [
      "PCID",
      "id"
    ]
  }
  ```
</Expandable>

***

## repairshopr\_scheduling\_create\_schedules\_by\_id\_remove\_line\_item

Removes a Line Item from an Invoice Schedule

**Parameters:**

| Parameter      | Type    | Required | Default | Description                   |
| -------------- | ------- | -------- | ------- | ----------------------------- |
| `id`           | integer | Yes      | —       | The id value                  |
| `line_item_id` | integer | Yes      | —       | ID of the line item to remove |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "id": {
        "type": "integer",
        "description": "The id value"
      },
      "line_item_id": {
        "type": "integer",
        "description": "ID of the line item to remove"
      }
    },
    "required": [
      "PCID",
      "id",
      "line_item_id"
    ]
  }
  ```
</Expandable>

***

## repairshopr\_scheduling\_delete\_appointment\_types\_by\_id

Deletes an Appointment Type by ID

**Parameters:**

| Parameter | Type    | Required | Default | Description  |
| --------- | ------- | -------- | ------- | ------------ |
| `id`      | integer | Yes      | —       | The id value |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "id": {
        "type": "integer",
        "description": "The id value"
      }
    },
    "required": [
      "PCID",
      "id"
    ]
  }
  ```
</Expandable>

***

## repairshopr\_scheduling\_delete\_appointments\_by\_id

Deletes an Appointment by ID

**Parameters:**

| Parameter | Type    | Required | Default | Description  |
| --------- | ------- | -------- | ------- | ------------ |
| `id`      | integer | Yes      | —       | The id value |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "id": {
        "type": "integer",
        "description": "The id value"
      }
    },
    "required": [
      "PCID",
      "id"
    ]
  }
  ```
</Expandable>

***

## repairshopr\_scheduling\_delete\_contracts\_by\_id

Deletes a Contract by ID

**Parameters:**

| Parameter | Type    | Required | Default | Description  |
| --------- | ------- | -------- | ------- | ------------ |
| `id`      | integer | Yes      | —       | The id value |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "id": {
        "type": "integer",
        "description": "The id value"
      }
    },
    "required": [
      "PCID",
      "id"
    ]
  }
  ```
</Expandable>

***

## repairshopr\_scheduling\_delete\_schedules\_by\_id

Deletes a Schedule by ID

**Parameters:**

| Parameter | Type    | Required | Default | Description  |
| --------- | ------- | -------- | ------- | ------------ |
| `id`      | integer | Yes      | —       | The id value |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "id": {
        "type": "integer",
        "description": "The id value"
      }
    },
    "required": [
      "PCID",
      "id"
    ]
  }
  ```
</Expandable>

***

## repairshopr\_scheduling\_get\_appointment\_types\_by\_id

Retrieves an Appointment Type by ID

**Parameters:**

| Parameter | Type    | Required | Default | Description  |
| --------- | ------- | -------- | ------- | ------------ |
| `id`      | integer | Yes      | —       | The id value |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "id": {
        "type": "integer",
        "description": "The id value"
      }
    },
    "required": [
      "PCID",
      "id"
    ]
  }
  ```
</Expandable>

***

## repairshopr\_scheduling\_get\_appointments\_by\_id

Retrieves an Appointment by ID

**Parameters:**

| Parameter | Type    | Required | Default | Description  |
| --------- | ------- | -------- | ------- | ------------ |
| `id`      | integer | Yes      | —       | The id value |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "id": {
        "type": "integer",
        "description": "The id value"
      }
    },
    "required": [
      "PCID",
      "id"
    ]
  }
  ```
</Expandable>

***

## repairshopr\_scheduling\_get\_contracts\_by\_id

Retrieves a Contract by ID

**Parameters:**

| Parameter | Type    | Required | Default | Description  |
| --------- | ------- | -------- | ------- | ------------ |
| `id`      | integer | Yes      | —       | The id value |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "id": {
        "type": "integer",
        "description": "The id value"
      }
    },
    "required": [
      "PCID",
      "id"
    ]
  }
  ```
</Expandable>

***

## repairshopr\_scheduling\_get\_schedules\_by\_id

Retrieves a Schedule by ID

**Parameters:**

| Parameter | Type    | Required | Default | Description  |
| --------- | ------- | -------- | ------- | ------------ |
| `id`      | integer | Yes      | —       | The id value |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "id": {
        "type": "integer",
        "description": "The id value"
      }
    },
    "required": [
      "PCID",
      "id"
    ]
  }
  ```
</Expandable>

***

## repairshopr\_scheduling\_list\_appointment\_types

Returns a paginated list of Appointment Types

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      }
    },
    "required": [
      "PCID"
    ]
  }
  ```
</Expandable>

***

## repairshopr\_scheduling\_list\_appointments

Returns a paginated list of Appointments

**Parameters:**

| Parameter   | Type    | Required | Default | Description                                                           |
| ----------- | ------- | -------- | ------- | --------------------------------------------------------------------- |
| `date_from` | string  | No       | —       | Returns Appointments that start after the date. Example "2019-01-25"  |
| `date_to`   | string  | No       | —       | Returns Appointments that start before the date. Example "2019-12-31" |
| `mine`      | boolean | No       | —       | Return only current user's appointments                               |
| `page`      | integer | No       | —       | Returns provided page of results, each 'page' contains 25 results     |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "date_from": {
        "type": "string",
        "description": "Returns Appointments that start after the date. Example \"2019-01-25\""
      },
      "date_to": {
        "type": "string",
        "description": "Returns Appointments that start before the date. Example \"2019-12-31\""
      },
      "mine": {
        "type": "boolean",
        "description": "Return only current user's appointments"
      },
      "page": {
        "type": "integer",
        "description": "Returns provided page of results, each 'page' contains 25 results"
      }
    },
    "required": [
      "PCID"
    ]
  }
  ```
</Expandable>

***

## repairshopr\_scheduling\_list\_contracts

Returns a paginated list of Contracts

**Parameters:**

| Parameter | Type    | Required | Default | Description                                                       |
| --------- | ------- | -------- | ------- | ----------------------------------------------------------------- |
| `page`    | integer | No       | —       | Returns provided page of results, each 'page' contains 50 results |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "page": {
        "type": "integer",
        "description": "Returns provided page of results, each 'page' contains 50 results"
      }
    },
    "required": [
      "PCID"
    ]
  }
  ```
</Expandable>

***

## repairshopr\_scheduling\_list\_schedules

Returns a paginated list of Invoice Schedules

**Parameters:**

| Parameter     | Type    | Required | Default | Description                                                       |
| ------------- | ------- | -------- | ------- | ----------------------------------------------------------------- |
| `customer_id` | integer | No       | —       | Returns a list of Schedules that belong to a Customer ID          |
| `page`        | integer | No       | —       | Returns provided page of results, each 'page' contains 25 results |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "customer_id": {
        "type": "integer",
        "description": "Returns a list of Schedules that belong to a Customer ID"
      },
      "page": {
        "type": "integer",
        "description": "Returns provided page of results, each 'page' contains 25 results"
      }
    },
    "required": [
      "PCID"
    ]
  }
  ```
</Expandable>

***

## repairshopr\_scheduling\_list\_timelogs

Returns a paginated list of Timelogs

**Parameters:**

| Parameter | Type    | Required | Default | Description                            |
| --------- | ------- | -------- | ------- | -------------------------------------- |
| `user_id` | integer | No       | —       | Returns Timelogs that belong to a User |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "user_id": {
        "type": "integer",
        "description": "Returns Timelogs that belong to a User"
      }
    },
    "required": [
      "PCID"
    ]
  }
  ```
</Expandable>

***

## repairshopr\_scheduling\_list\_timelogs\_last

Returns last Timelog

**Parameters:**

| Parameter | Type    | Required | Default | Description                                                             |
| --------- | ------- | -------- | ------- | ----------------------------------------------------------------------- |
| `user_id` | integer | No       | —       | Returns Timelogs that belong to a User. The default is current user ID. |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "user_id": {
        "type": "integer",
        "description": "Returns Timelogs that belong to a User. The default is current user ID."
      }
    },
    "required": [
      "PCID"
    ]
  }
  ```
</Expandable>

***

## repairshopr\_scheduling\_update\_appointment\_types\_by\_id

Updates an existing Appointment Type by ID

**Parameters:**

| Parameter            | Type    | Required | Default | Description        |
| -------------------- | ------- | -------- | ------- | ------------------ |
| `id`                 | integer | Yes      | —       | The id value       |
| `email_instructions` | string  | No       | —       | Email Instructions |
| `location_hard_code` | string  | No       | —       | Location Hard Code |
| `location_type`      | integer | No       | —       | Location Type      |
| `name`               | string  | No       | —       | The name value     |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "id": {
        "type": "integer",
        "description": "The id value"
      },
      "email_instructions": {
        "type": "string",
        "description": "Email Instructions"
      },
      "location_hard_code": {
        "type": "string",
        "description": "Location Hard Code"
      },
      "location_type": {
        "type": "integer",
        "description": "Location Type"
      },
      "name": {
        "type": "string",
        "description": "The name value"
      }
    },
    "required": [
      "PCID",
      "id"
    ]
  }
  ```
</Expandable>

***

## repairshopr\_scheduling\_update\_appointments\_by\_id

Updates an existing Appointment by ID

**Parameters:**

| Parameter              | Type       | Required | Default | Description           |
| ---------------------- | ---------- | -------- | ------- | --------------------- |
| `id`                   | integer    | Yes      | —       | The id value          |
| `all_day`              | boolean    | No       | —       | All Day               |
| `appointment_duration` | string     | No       | —       | Appointment Duration  |
| `appointment_type_id`  | integer    | No       | —       | Appointment Type Id   |
| `customer_id`          | integer    | No       | —       | Customer Id           |
| `description`          | string     | No       | —       | The description value |
| `email_customer`       | boolean    | No       | —       | Email Customer        |
| `end_at`               | string     | No       | —       | End At                |
| `location`             | string     | No       | —       | The location value    |
| `start_at`             | string     | Yes      | —       | Start At              |
| `summary`              | string     | No       | —       | The summary value     |
| `ticket_id`            | integer    | No       | —       | Ticket Id             |
| `user_id`              | integer    | No       | —       | User Id               |
| `user_ids`             | integer\[] | No       | —       | User Ids              |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "id": {
        "type": "integer",
        "description": "The id value"
      },
      "all_day": {
        "type": "boolean",
        "description": "All Day"
      },
      "appointment_duration": {
        "type": "string",
        "description": "Appointment Duration"
      },
      "appointment_type_id": {
        "type": "integer",
        "description": "Appointment Type Id"
      },
      "customer_id": {
        "type": "integer",
        "description": "Customer Id"
      },
      "description": {
        "type": "string",
        "description": "The description value"
      },
      "email_customer": {
        "type": "boolean",
        "description": "Email Customer"
      },
      "end_at": {
        "type": "string",
        "description": "End At"
      },
      "location": {
        "type": "string",
        "description": "The location value"
      },
      "start_at": {
        "type": "string",
        "description": "Start At"
      },
      "summary": {
        "type": "string",
        "description": "The summary value"
      },
      "ticket_id": {
        "type": "integer",
        "description": "Ticket Id"
      },
      "user_id": {
        "type": "integer",
        "description": "User Id"
      },
      "user_ids": {
        "type": "array",
        "items": {
          "type": "integer"
        },
        "description": "User Ids"
      }
    },
    "required": [
      "PCID",
      "id",
      "start_at"
    ]
  }
  ```
</Expandable>

***

## repairshopr\_scheduling\_update\_contracts\_by\_id

Updates an existing Contract by ID

**Parameters:**

| Parameter         | Type    | Required | Default | Description              |
| ----------------- | ------- | -------- | ------- | ------------------------ |
| `id`              | integer | Yes      | —       | The id value             |
| `apply_to_all`    | boolean | No       | —       | Apply To All             |
| `contract_amount` | string  | No       | —       | Contract Amount          |
| `customer_id`     | integer | Yes      | —       | Customer Id              |
| `description`     | string  | No       | —       | The description value    |
| `end_date`        | string  | No       | —       | End date for filtering   |
| `likelihood`      | integer | No       | —       | The likelihood value     |
| `name`            | string  | No       | —       | The name value           |
| `primary_contact` | string  | No       | —       | Primary Contact          |
| `sla_id`          | integer | No       | —       | Sla Id                   |
| `start_date`      | string  | No       | —       | Start date for filtering |
| `status`          | string  | No       | —       | The status value         |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "id": {
        "type": "integer",
        "description": "The id value"
      },
      "apply_to_all": {
        "type": "boolean",
        "description": "Apply To All"
      },
      "contract_amount": {
        "type": "string",
        "description": "Contract Amount"
      },
      "customer_id": {
        "type": "integer",
        "description": "Customer Id"
      },
      "description": {
        "type": "string",
        "description": "The description value"
      },
      "end_date": {
        "type": "string",
        "description": "End date for filtering"
      },
      "likelihood": {
        "type": "integer",
        "description": "The likelihood value"
      },
      "name": {
        "type": "string",
        "description": "The name value"
      },
      "primary_contact": {
        "type": "string",
        "description": "Primary Contact"
      },
      "sla_id": {
        "type": "integer",
        "description": "Sla Id"
      },
      "start_date": {
        "type": "string",
        "description": "Start date for filtering"
      },
      "status": {
        "type": "string",
        "description": "The status value"
      }
    },
    "required": [
      "PCID",
      "id",
      "customer_id"
    ]
  }
  ```
</Expandable>

***

## repairshopr\_scheduling\_update\_schedules\_by\_id

Updates an existing Invoice Schedule by ID

**Parameters:**

| Parameter                         | Type    | Required | Default | Description                     |
| --------------------------------- | ------- | -------- | ------- | ------------------------------- |
| `id`                              | integer | Yes      | —       | The id value                    |
| `charge_mop`                      | boolean | No       | —       | Charge Mop                      |
| `customer_id`                     | integer | No       | —       | Customer Id                     |
| `email_customer`                  | boolean | No       | —       | Email Customer                  |
| `frequency`                       | string  | No       | —       | The frequency value             |
| `invoice_unbilled_ticket_charges` | boolean | No       | —       | Invoice Unbilled Ticket Charges |
| `name`                            | string  | No       | —       | The name value                  |
| `next_run`                        | string  | No       | —       | Next Run                        |
| `paused`                          | boolean | No       | —       | The paused value                |
| `snail_mail`                      | boolean | No       | —       | Snail Mail                      |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "id": {
        "type": "integer",
        "description": "The id value"
      },
      "charge_mop": {
        "type": "boolean",
        "description": "Charge Mop"
      },
      "customer_id": {
        "type": "integer",
        "description": "Customer Id"
      },
      "email_customer": {
        "type": "boolean",
        "description": "Email Customer"
      },
      "frequency": {
        "type": "string",
        "description": "The frequency value",
        "enum": [
          "Daily",
          "Monthly",
          "Weekly",
          "Biweekly",
          "Quarterly",
          "Semi-Annually",
          "Annually",
          "Biennially",
          "Triennially"
        ]
      },
      "invoice_unbilled_ticket_charges": {
        "type": "boolean",
        "description": "Invoice Unbilled Ticket Charges"
      },
      "name": {
        "type": "string",
        "description": "The name value"
      },
      "next_run": {
        "type": "string",
        "description": "Next Run"
      },
      "paused": {
        "type": "boolean",
        "description": "The paused value"
      },
      "snail_mail": {
        "type": "boolean",
        "description": "Snail Mail"
      }
    },
    "required": [
      "PCID",
      "id"
    ]
  }
  ```
</Expandable>

***

## repairshopr\_scheduling\_update\_schedules\_by\_id\_line\_items\_by\_schedule\_line\_item\_id

Updates a Line Item

**Parameters:**

| Parameter                 | Type    | Required | Default | Description               |
| ------------------------- | ------- | -------- | ------- | ------------------------- |
| `id`                      | integer | Yes      | —       | The id value              |
| `schedule_line_item_id`   | integer | Yes      | —       | ID of line item to update |
| `asset_type_id`           | integer | No       | —       | Asset Type Id             |
| `contact_field_answer_id` | integer | No       | —       | Contact Field Answer Id   |
| `contact_field_type_id`   | integer | No       | —       | Contact Field Type Id     |
| `cost_cents`              | integer | No       | —       | Cost Cents                |
| `description`             | string  | No       | —       | The description value     |
| `name`                    | string  | No       | —       | The name value            |
| `one_time_charge`         | boolean | No       | —       | One Time Charge           |
| `position`                | integer | No       | —       | The position value        |
| `product_id`              | integer | No       | —       | Product Id                |
| `quantity`                | number  | No       | —       | The quantity value        |
| `recurring_type_id`       | integer | No       | —       | Recurring Type Id         |
| `retail_cents`            | integer | No       | —       | Retail Cents              |
| `saved_asset_search_id`   | integer | No       | —       | Saved Asset Search Id     |
| `taxable`                 | boolean | No       | —       | The taxable value         |
| `user_id`                 | integer | No       | —       | User Id                   |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "id": {
        "type": "integer",
        "description": "The id value"
      },
      "schedule_line_item_id": {
        "type": "integer",
        "description": "ID of line item to update"
      },
      "asset_type_id": {
        "type": "integer",
        "description": "Asset Type Id"
      },
      "contact_field_answer_id": {
        "type": "integer",
        "description": "Contact Field Answer Id"
      },
      "contact_field_type_id": {
        "type": "integer",
        "description": "Contact Field Type Id"
      },
      "cost_cents": {
        "type": "integer",
        "description": "Cost Cents"
      },
      "description": {
        "type": "string",
        "description": "The description value"
      },
      "name": {
        "type": "string",
        "description": "The name value"
      },
      "one_time_charge": {
        "type": "boolean",
        "description": "One Time Charge"
      },
      "position": {
        "type": "integer",
        "description": "The position value"
      },
      "product_id": {
        "type": "integer",
        "description": "Product Id"
      },
      "quantity": {
        "type": "number",
        "description": "The quantity value"
      },
      "recurring_type_id": {
        "type": "integer",
        "description": "Recurring Type Id",
        "enum": [
          1,
          2,
          3,
          4,
          5,
          6
        ]
      },
      "retail_cents": {
        "type": "integer",
        "description": "Retail Cents"
      },
      "saved_asset_search_id": {
        "type": "integer",
        "description": "Saved Asset Search Id"
      },
      "taxable": {
        "type": "boolean",
        "description": "The taxable value"
      },
      "user_id": {
        "type": "integer",
        "description": "User Id"
      }
    },
    "required": [
      "PCID",
      "id",
      "schedule_line_item_id"
    ]
  }
  ```
</Expandable>

***

## repairshopr\_scheduling\_update\_timelogs

Updates a Timelog

**Parameters:**

| Parameter  | Type    | Required | Default | Description     |
| ---------- | ------- | -------- | ------- | --------------- |
| `in_at`    | string  | No       | —       | In At           |
| `in_note`  | string  | No       | —       | In Note         |
| `lunch`    | boolean | No       | —       | The lunch value |
| `out_at`   | string  | No       | —       | Out At          |
| `out_note` | string  | No       | —       | Out Note        |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "in_at": {
        "type": "string",
        "description": "In At"
      },
      "in_note": {
        "type": "string",
        "description": "In Note"
      },
      "lunch": {
        "type": "boolean",
        "description": "The lunch value"
      },
      "out_at": {
        "type": "string",
        "description": "Out At"
      },
      "out_note": {
        "type": "string",
        "description": "Out Note"
      }
    },
    "required": [
      "PCID"
    ]
  }
  ```
</Expandable>
