---
title: "Update Service Reminder"
method: PATCH
path: "/service_reminders/{id}"
tags: ["Service Reminders"]
---

# Update Service Reminder

`PATCH /service_reminders/{id}`

## Request

- Base URL: `https://secure.fleetio.com/api`
- URL: `https://secure.fleetio.com/api/service_reminders/{id}`
- Auth: API key in header `Authorization` and API key in header `Account-Token`
- TypeScript: <https://skmtc.dev/fleetio/apis/fleetio-developer-api/docs/service_reminders/:id/patch.ts> (a function with typed inputs; its response is checked against the schema)

Update a Service Reminder

## Path parameters

- `id` string, required

## Request body

- object
  - `service_task_id` integer
  - `meter_interval` number, float: The meter interval of which this Service Reminder should occur.
  - `secondary_meter_interval` number, float: The secondary meter interval of which this Service Reminder should occur.
  - `secondary_meter` boolean: Indicates whether the Service Reminder is associated with a secondary meter. If this is not set, the value for the record will be set to `false`.
  - `time_interval` integer: The number of time units according to `time_frequency` between each occurrence of the Service Reminder.
  - `time_frequency` 'days' | 'weeks' | 'months' | 'years'
  - `overridden` boolean: Indicates whether the Service Reminder is overridden.
  - `next_due_meter_value` number, float: The meter value at which the Service Reminder is next due, if applicable.
  - `next_due_secondary_meter_value` number, float: The secondary meter value at which the Service Reminder is next due, if applicable.
  - `next_due_at` string, date-time: We recommend using [ISO-8601](/docs/overview/date-formatting) formatted dates to avoid ambiguity.
  - `due_soon_meter_threshold` number, float: The meter value threshold to which this Service Reminder will be due soon.
  - `due_soon_secondary_meter_threshold` number, float: The secondary meter value threshold to which this Service Reminder will be due soon.
  - `active` boolean: Indicates whether the Service Reminder is currently active.
  - `due_soon_time_threshold_interval` integer: The number of time units according to `due_soon_time_threshold_frequency` between `due_soon_at` occurrences.
  - `due_soon_time_threshold_frequency` 'days' | 'weeks' | 'months' | 'years'
  - `vehicle_id` integer
  - `starting_interval` boolean: Indicates whether the Service Reminder has a starting interval.
  - `starting_meter_interval` number, float: The starting meter interval for this Service Reminder.
  - `starting_secondary_meter_interval` number, float: The starting secondary meter interval for this Service Reminder.
  - `starting_time_interval` integer: The starting time interval according to `starting_time_frequency` for time-based Service Reminders, if applicable.
  - `starting_time_frequency` 'days' | 'weeks' | 'months' | 'years'
  - `snooze_until` string, date-time: The date and time until which the Service Reminder will be snoozed. We recommend using [ISO-8601](/docs/overview/date-formatting) formatted dates to avoid ambiguity.
  - `user_ids` Id[]: The IDs of any `Users` associated with the Service Reminder.
  - `watcher_user_ids` Id[]: The IDs of any `Users` to watch the Service Reminder.
  - `comments_attributes` CommentsAttributes[]
    - `title` string: The title of the comment.
    - `comment` string: The comment text.

## Response `200`

OK

- ServiceReminder, nullable: A Service Reminder
  - `id` integer, required
  - `created_at` string, date-time: The date and time at which this record was created.
  - `updated_at` string, date-time: The date and time at which this record was most recently updated.
  - `active` boolean, required: Indicates whether the Service Reminder is currently active.
  - `vehicle_id` integer, required
  - `service_task_id` integer, nullable, required
  - `service_task_name` string, nullable, required: The name of the `Service Task` associated with the Service Reminder, if applicable.
  - `time_interval` integer, nullable, required: The number of time units according to `time_frequency` between each occurrence of the Service Reminder.
  - `time_frequency` 'day' | 'week' | 'month' | 'year' | 'days' | 'weeks' | 'months' | 'years', nullable, required
  - `next_due_at` string, date-time, nullable, required: The date and time when the Service Reminder is next due. Formatted according to ISO-8601 in `User`'s local time.
  - `due_soon_at` string, date-time, nullable, required: The date and time when the Service Reminder will be considered due soon. Formatted according to ISO-8601 in `User`'s local time.
  - `due_soon_time_threshold_interval` integer, nullable, required: The number of time units according to `due_soon_time_threshold_frequency` between `due_soon_at` occurrences.
  - `due_soon_time_threshold_frequency` 'day' | 'week' | 'month' | 'year' | 'days' | 'weeks' | 'months' | 'years', nullable, required
  - `vehicle_archived_at` string, date-time, nullable, required: The date and time at which the vehicle associated with the Service Reminder was archived, if applicable.
  - `forecasted_next_due_at` string, date-time, nullable, required: The forecasted date and time for the next due service.
  - `forecasted_due_soon_at` string, date-time, nullable, required: The forecasted date and time for the Service Reminder to be due soon.
  - `comments_count` integer, required: The number of `Comments` on the Service Reminder.
  - `starting_interval` boolean, nullable, required: Indicates whether the Service Reminder has a starting interval.
  - `starting_meter_interval` string, nullable, required: The starting meter interval for this Service Reminder.
  - `starting_secondary_meter_interval` string, nullable, required: The starting secondary meter interval for this Service Reminder.
  - `starting_time_interval` integer, nullable, required: The starting time interval according to `starting_time_frequency` for time-based Service Reminders, if applicable.
  - `starting_time_frequency` 'day' | 'week' | 'month' | 'year' | 'days' | 'weeks' | 'months' | 'years', nullable, required
  - `snooze_until` string, date-time, nullable, required: The date and time until which the Service Reminder is snoozed.
  - `service_reminder_status_name` string, nullable, required: The name of the Service Reminder status, if applicable.
  - `secondary_meter` boolean, required: Indicates whether the Service Reminder is associated with a secondary meter.
  - `meter_interval` string, nullable, required: The meter interval of which this Service Reminder takes place.
  - `next_due_meter_value` string, nullable, required: The meter value at which the Service Reminder is next due, if applicable.
  - `due_soon_meter_value` string, nullable, required: The meter value at which the Service Reminder is due soon, if applicable.
  - `due_soon_meter_threshold` string, date-time, nullable, required: The meter value threshold to which this Service Reminder will be due soon.
  - `meter_remaining_until_due` integer, nullable, required: The remaining meter units until the Service Reminder is due.
  - `secondary_meter_remaining_until_due` integer, nullable, required: The remaining secondary meter interval until the Service Reminder is due.
  - `forecasted_primary_due_soon_at` string, date-time, nullable, required: The forecasted date and time for the primary Service Reminder to be due soon.
  - `forecasted_primary_next_due_at` string, date-time, nullable, required: The forecasted date and time for the next primary due Service Reminder.
  - `forecasted_secondary_due_soon_at` string, date-time, nullable, required: The forecasted date and time for the secondary Service Reminder to be due soon.
  - `forecasted_secondary_next_due_at` string, date-time, nullable, required: The forecasted date and time for the next secondary due Service Reminder.
  - `users` object[], required: A list of `Users` associated with the Service Reminder.
    - `id` integer
    - `name` string, nullable
  - `vehicle_name` string, required: The name of the `Vehicle` associated with the Service Reminder.
  - `vehicle_default_image_url` string, nullable, required: The default image URL for the associated vehicle, if available.
  - `attachment_permissions` AttachmentPermissions, nullable
    - `read_photos` boolean: Indicates whether the user has read permission for photos.
    - `manage_photos` boolean: Indicates whether the user has permission to manage (eg. upload, delete) photos.
    - `read_documents` boolean: Indicates whether the user has read permission for documents.
    - `manage_documents` boolean: Indicates whether the user has permission to manage (eg. upload, delete) documents.
  - `latest_occurrence` ServiceEntry, nullable, required: A Service Entry
    - `id` integer
    - `created_at` string, date-time
    - `updated_at` string, date-time
    - `tax_free_labor` boolean: Indicates whether or not to include labor subtotals in tax calculations.
    - `completed_at` string, date-time, nullable, required: The date and time at which the Service Entry was completed.
    - `reference` string, nullable, required: A reference number for this Service Entry.
    - `started_at` string, date-time, nullable, required: The date and time at which the Service Entry was started.
    - `status` 'pending' | 'completed', required: The status of this Service Entry.
    - `custom_fields` CustomFields, nullable, required: *Full details on working with Custom Fields [here](/docs/overview/custom-fields).
    - `general_notes` string, nullable, required: General notes for this Service Entry.
    - `vehicle_id` integer, required
    - `vehicle_name` string, nullable, required: The name of the `Vehicle` associated with this Service Entry.
    - `vendor_id` integer, nullable, required
    - `vendor_name` string, nullable, required: The name of the `Vendor` associated with this Service Entry.
    - `work_order_id` integer, nullable, required
    - `attachment_permissions` AttachmentPermissions, nullable
      - `read_photos` boolean: Indicates whether the user has read permission for photos.
      - `manage_photos` boolean: Indicates whether the user has permission to manage (eg. upload, delete) photos.
      - `read_documents` boolean: Indicates whether the user has read permission for documents.
      - `manage_documents` boolean: Indicates whether the user has permission to manage (eg. upload, delete) documents.
    - `is_sample` boolean, required: Indicates whether or not this Service Entry is a sample. Sample Service Entries are not included in reports.
    - `work_order_number` integer, nullable, required: The number of the `Work Order` this Service Entry is associated with.
    - `date` string, date-time, required: The date of this Service Entry. Formatted according to ISO-8601 in User's local time.
    - `service_entry_line_items` ServiceEntryLineItem[], required
      - `id` integer
      - `created_at` string, date-time: The date and time at which this record was created.
      - `updated_at` string, date-time: The date and time at which this record was most recently updated.
      - `description` string, nullable, required: A description of the service performed for this line item.
      - `type` 'ServiceEntryServiceTaskLineItem' | 'ServiceEntryLaborLineItem' | 'ServiceEntryPartLineItem' | 'ServiceEntryTaxLineItem' | 'ServiceEntryFeeLineItem' | 'ServiceEntryTireLineItem' | 'ServiceEntryFreeTextLineItem', required: Denotes the type of the ServiceEntryLineItem
      - `service_entry_id` integer: The id of the `Service Entry` this line item belongs to.
      - `service_entry_line_item_id` integer, nullable, required: For nested line items. This value denotes the parent `Service Entry Line Item`.
      - `service_reminder_id` integer, nullable, required: If this line item is linked to a Service Reminder, this ID will be set.
      - `service_task` ServiceTask, nullable: A Service Task
        - `id` integer, required
        - `created_at` string, date-time: The date and time at which this record was created.
        - `updated_at` string, date-time: The date and time at which this record was most recently updated.
        - `name` string, required: A name for this Service Task.
        - `description` string, nullable, required: A description of this Service Task.
        - `expected_duration_in_seconds` integer, nullable: The expected duration in seconds this Service Task should take to complete.
        - `archived_at` string, date-time, nullable: The date and time at which this Service Task was archived. `null` if this Service Task is active.
        - `subtasks` object[], required
          - `id` integer, required
          - `created_at` string, date-time: The date and time at which this record was created.
          - `updated_at` string, date-time: The date and time at which this record was most recently updated.
          - `name` string: The name of this subtask.
          - `description` string, nullable: A description of this subtask.
          - `expected_duration_in_seconds` integer, nullable: The expected duration in seconds this subtask should take to complete.
          - `subtasks` unknown[]: The subtasks array at this level will always be empty.
            - unknown
          - `default_vmrs_reason_for_repair` object, nullable
            - `account_id` integer
            - `alias` string, nullable
            - `code` string, nullable
            - `enabled` boolean
            - `id` integer
            - `name` string
            - `repair_type` string, nullable
            - `standard` boolean
            - `standard_name` string, nullable
            - `type` string
            - `vmrs_standard_reason_for_repair` object, nullable
          - `default_vmrs_system_group` object, nullable
            - `account_id` number, nullable
            - `assembly_code` string, nullable
            - `assembly_name` string, nullable
            - `code_type` 'system_group' | 'system' | 'assembly' | 'component'
            - `component_code` string, nullable
            - `component_name` string, nullable
            - `enabled` boolean
            - `id` integer
            - `permissions` object, nullable
              - …
            - `standard` boolean
            - `system_code` string, nullable
            - `system_group` string, nullable
            - `system_group_code` string, nullable
            - `system_name` string, nullable
            - `type` string
            - `vmrs_standard_system_assembly_component` object, nullable
          - `default_vmrs_system` object, nullable
            - `account_id` number, nullable
            - `assembly_code` string, nullable
            - `assembly_name` string, nullable
            - `code_type` 'system_group' | 'system' | 'assembly' | 'component'
            - `component_code` string, nullable
            - `component_name` string, nullable
            - `enabled` boolean
            - `id` integer
            - `permissions` object, nullable
              - …
            - `standard` boolean
            - `system_code` string, nullable
            - `system_group` string, nullable
            - `system_group_code` string, nullable
            - `system_name` string, nullable
            - `type` string
            - `vmrs_standard_system_assembly_component` object, nullable
          - `default_vmrs_assembly` object, nullable
            - `account_id` number, nullable
            - `assembly_code` string, nullable
            - `assembly_name` string, nullable
            - `code_type` 'system_group' | 'system' | 'assembly' | 'component'
            - `component_code` string, nullable
            - `component_name` string, nullable
            - `enabled` boolean
            - `id` integer
            - `permissions` object, nullable
              - …
            - `standard` boolean
            - `system_code` string, nullable
            - `system_group` string, nullable
            - `system_group_code` string, nullable
            - `system_name` string, nullable
            - `type` string
            - `vmrs_standard_system_assembly_component` object, nullable
          - `default_vmrs_component` object, nullable
            - `account_id` number, nullable
            - `assembly_code` string, nullable
            - `assembly_name` string, nullable
            - `code_type` 'system_group' | 'system' | 'assembly' | 'component'
            - `component_code` string, nullable
            - `component_name` string, nullable
            - `enabled` boolean
            - `id` integer
            - `permissions` object, nullable
              - …
            - `standard` boolean
            - `system_code` string, nullable
            - `system_group` string, nullable
            - `system_group_code` string, nullable
            - `system_name` string, nullable
            - `type` string
            - `vmrs_standard_system_assembly_component` object, nullable
        - `usage` integer: Indicates the number of times this Service Task has been used. Available by setting the `include_usage` query parameter to `1`.
        - `default_vmrs_reason_for_repair` object, nullable, required
          - `account_id` integer
          - `alias` string, nullable
          - `code` string, nullable
          - `enabled` boolean
          - `id` integer
          - `name` string
          - `repair_type` string, nullable
          - `standard` boolean
          - `standard_name` string, nullable
          - `type` string
          - `vmrs_standard_reason_for_repair` object, nullable
        - `default_vmrs_system_group` object, nullable, required
          - `account_id` number, nullable
          - `assembly_code` string, nullable
          - `assembly_name` string, nullable
          - `code_type` 'system_group' | 'system' | 'assembly' | 'component'
          - `component_code` string, nullable
          - `component_name` string, nullable
          - `enabled` boolean
          - `id` integer
          - `permissions` object, nullable
            - `destroy` boolean
          - `standard` boolean
          - `system_code` string, nullable
          - `system_group` string, nullable
          - `system_group_code` string, nullable
          - `system_name` string, nullable
          - `type` string
          - `vmrs_standard_system_assembly_component` object, nullable
        - `default_vmrs_system` object, nullable, required
          - `account_id` number, nullable
          - `assembly_code` string, nullable
          - `assembly_name` string, nullable
          - `code_type` 'system_group' | 'system' | 'assembly' | 'component'
          - `component_code` string, nullable
          - `component_name` string, nullable
          - `enabled` boolean
          - `id` integer
          - `permissions` object, nullable
            - `destroy` boolean
          - `standard` boolean
          - `system_code` string, nullable
          - `system_group` string, nullable
          - `system_group_code` string, nullable
          - `system_name` string, nullable
          - `type` string
          - `vmrs_standard_system_assembly_component` object, nullable
        - `default_vmrs_assembly` object, nullable, required
          - `account_id` number, nullable
          - `assembly_code` string, nullable
          - `assembly_name` string, nullable
          - `code_type` 'system_group' | 'system' | 'assembly' | 'component'
          - `component_code` string, nullable
          - `component_name` string, nullable
          - `enabled` boolean
          - `id` integer
          - `permissions` object, nullable
            - `destroy` boolean
          - `standard` boolean
          - `system_code` string, nullable
          - `system_group` string, nullable
          - `system_group_code` string, nullable
          - `system_name` string, nullable
          - `type` string
          - `vmrs_standard_system_assembly_component` object, nullable
        - `default_vmrs_component` object, nullable, required
          - `account_id` number, nullable
          - `assembly_code` string, nullable
          - `assembly_name` string, nullable
          - `code_type` 'system_group' | 'system' | 'assembly' | 'component'
          - `component_code` string, nullable
          - `component_name` string, nullable
          - `enabled` boolean
          - `id` integer
          - `permissions` object, nullable
            - `destroy` boolean
          - `standard` boolean
          - `system_code` string, nullable
          - `system_group` string, nullable
          - `system_group_code` string, nullable
          - `system_name` string, nullable
          - `type` string
          - `vmrs_standard_system_assembly_component` object, nullable
        - `service_task_parts` object[]: Any `Parts` associated with this Service Task. Available by setting the `expand[]` query parameter to `service_task_parts`.
          - `id` integer
          - `quantity` number, float: The quantity of this `Part` related to the Service Task.
          - `part_id` integer: The ID of this `Part` related to the Service Task.
          - `part_archived_at` string, date-time, nullable: The date and time at which the `Part` related to the Service Task was archived, if applicable.
          - `position` integer: The position of this `Part` in the list of Service Task Parts.
      - `issues` Issue[], required: Any `Issues` this line item is linked to.
        - `id` integer, required
        - `created_at` string, date-time: The date and time at which this record was created.
        - `updated_at` string, date-time: The date and time at which this record was most recently updated.
        - `number` string, required: A unique identifier for the Issue.
        - `name` string, required: The name of the Issue.
        - `summary` string, required: A summary of the Issue.
        - `description` string, nullable, required: A longer description of the Issue.
        - `state` 'Open' | 'Closed' | 'Resolved', required: The Issue's current state.
        - `reported_at` string, date-time, nullable, required: The date and time at which the issue was reported.
        - `reported_by_id` integer, nullable, required
        - `reported_by_name` string, nullable, required: The name of the Contact associated with the User who reported this Issue.
        - `fault_id` integer, nullable, required
        - `due_date` string, date, nullable, required: The date on which this Issue should be resolved by. Formatted according to ISO-8601 in `User`'s local time zone.
        - `due_meter_value` string, nullable, required: The meter value at which this Issue should be resolved by.
        - `due_secondary_meter_value` number, float, nullable, required: The secondary meter value at which this Issue should be resolved by.
        - `overdue` boolean, required: Indicates whether the Issue is overdue.
        - `vehicle_id` integer, required
        - `vehicle_name` string, required: The name of the Vehicle associated with this Issue.
        - `is_sample` boolean: Indicates whether this Issue is sample data.
        - `created_by_workflow` boolean, required: Indicates whether this Issue was created by a workflow.
        - `submitted_inspection_form_id` integer, nullable, required
        - `custom_fields` CustomFields, nullable, required: *Full details on working with Custom Fields [here](/docs/overview/custom-fields).
        - `valid_required_custom_fields` boolean, required
        - `dtc_alert_id` integer, nullable, required
        - `assigned_contacts` Contact[], required: An array of assigned Contacts related to the Issue.
          - `id` integer
          - `created_at` string, date-time
          - `updated_at` string, date-time
          - `email` string, nullable: The Contact's email address.
          - `name` string, nullable: The Contact's full name.
          - `first_name` string, nullable: The Contact's first name.
          - `middle_name` string, nullable: The Contact's middle name.
          - `last_name` string, nullable: The Contact's last name.
          - `images_count` integer: The number of images associated with this Contact.
          - `documents_count` integer: The number of documents associated with this Contact.
          - `comments_count` integer: The number of comments associated with this Contact.
          - `group_id` integer, nullable: If this Contact belongs to a [Group](/docs/api/groups), this will be the Fleetio ID of that `Group`.
          - `group_name` string, nullable: If this Contact belongs to a [Group](/docs/api/groups), this will be the `Group`'s name.
          - `group_hierarchy` string, nullable: If this Contact belongs to a [Group](/docs/api/groups), this will be a pipe delimited string representing the `Group` hierarchy. Each `Group` in the list is the parent of the `Groups` which follow.
          - `technician` boolean, nullable: Whether or not the Contact is a Technician.
          - `vehicle_operator` boolean, nullable: Whether or not the Contact is a Vehicle Operator.
          - `employee` boolean, nullable: Whether or not the Contact is an Employee.
          - `birth_date` string, date, nullable: The Contact's birth date.
          - `street_address` string, nullable: The Contact's street address.
          - `street_address_line_2` string, nullable: The Contact's street address line 2.
          - `city` string, nullable: The Contact's city.
          - `region` string, nullable: The Contact's region, state, or province.
          - `postal_code` string, nullable: The Contact's postal code, zip code, or equivalent.
          - `country` string, nullable: The Contact's country.
          - `employee_number` string, nullable: The Contact's employee number.
          - `job_title` string, nullable: The Contact's job title.
          - `license_class` string, nullable: The Contact's driver's license class.
          - `license_number` string, nullable: The Contact's driver's license number.
          - `license_state` string, nullable: The locality which issued the Contact's license.
          - `license_expiration` string, date, nullable: The Contact's driver's license expiration date.
          - `home_phone_number` string, nullable: The Contact's home phone number.
          - `mobile_phone_number` string, nullable: The Contact's mobile phone number.
          - `work_phone_number` string, nullable: The Contact's work phone number.
          - `other_phone_number` string, nullable: Any other phone number for this Contact.
          - `start_date` string, date, nullable: When the Contact started working for the company, if applicable.
          - `leave_date` string, date, nullable: When the Contact left or will leave the company, if applicable.
          - `hourly_labor_rate` number, float, nullable: The Contact's hourly rate.
          - `custom_fields` CustomFields, nullable: *Full details on working with Custom Fields [here](/docs/overview/custom-fields).
          - `attachment_permissions` AttachmentPermissions, nullable
            - `read_photos` boolean: Indicates whether the user has read permission for photos.
            - `manage_photos` boolean: Indicates whether the user has permission to manage (eg. upload, delete) photos.
            - `read_documents` boolean: Indicates whether the user has read permission for documents.
            - `manage_documents` boolean: Indicates whether the user has permission to manage (eg. upload, delete) documents.
          - `default_image_url` string, nullable: The URL of the Contact's default image/profile photo, if any.
          - `user` object, nullable: If the Contact is a Fleetio `User`, those details will be included here.
          - `account_membership_id` integer, nullable
          - `last_api_request` string, date-time, nullable: The last date and time this Contact's associated User made an API request. Null if Contact is not associated with a User.
          - `last_web_access` string, date-time, nullable: The last date and time this Contact's associated User signed into the web application. Null if Contact is not associated with a User.
          - `last_mobile_app_access` string, date-time, nullable: The last date and time this Contact's associated User used the mobile app. Null if Contact is not associated with a User.
        - `labels` object[], required
          - `id` integer
          - `name` string
        - `attachment_permissions` AttachmentPermissions, nullable
          - `read_photos` boolean: Indicates whether the user has read permission for photos.
          - `manage_photos` boolean: Indicates whether the user has permission to manage (eg. upload, delete) photos.
          - `read_documents` boolean: Indicates whether the user has read permission for documents.
          - `manage_documents` boolean: Indicates whether the user has permission to manage (eg. upload, delete) documents.
        - `is_watched` boolean, required: Indicates whether the Issue is watched.
        - `vehicle_image_url` string, nullable, required: The URL to the image of the Vehicle associated with the Issue.
        - `vehicle_image_url_medium` string, nullable, required: The URL to a medium-sized Vehicle image associated with the Issue.
        - `vehicle_image_url_small` string, nullable, required: The URL to a small-sized Vehicle image associated with the Issue.
        - `vehicle_image_url_large` string, nullable, required: The URL to a large-sized Vehicle image associated with the Issue.
        - `watchers_count` integer: The count of watchers related to the Issue.
        - `linked_work_orders` object[], nullable, required: Summative information of linked Work Orders related to the Issue.
          - `id` integer
          - `number` integer: The Work Order number.
          - `issued_at` string, date-time: The date and time at which the Work Order was issued.
        - `source` object, required: Inspection source information.
          - `inspection_form` object
            - `id` integer, nullable
            - `color` string, nullable
            - `title` string, nullable
          - `inspection_submissions_count` integer, nullable: The count of inspection submissions related to the Issue.
          - `last_inspection_submission_at` string, date-time, nullable: The date and time of the last inspection submission related to the Issue.
          - `failed_inspection_item_label` string, nullable: The label associated with a failed inspection item.
        - `comments` Comment[]: A list of the comments made on this record.
          - `id` integer, required
          - `created_at` string, date-time: The date and time at which this record was created.
          - `updated_at` string, date-time: The date and time at which this record was most recently updated.
          - `commentable_type` 'Contact' | 'FleetcorCard' | 'FuelEntry' | 'InventoryJournalEntry' | 'Issue' | 'Part' | 'PurchaseOrder' | 'ServiceEntry' | 'ServiceReminder' | 'SubmittedInspectionItem' | 'Vehicle' | 'VehicleAssignment' | 'Vendor' | 'WexCard' | 'WorkOrder', required: The type of record that the Comment will be left on. Must be associated with a matching `commentable_id`.
          - `commentable_id` integer, required
          - `user_id` integer, required
          - `title` string: The title of the Comment.
          - `comment` string, required: The content of the Comment message body.
          - `user_full_name` string, required: The full name of the `User` who created the Comment.
          - `user_image_url` string, nullable, required: The image url for the `User` who created the Comment.
          - `rich_content` object, nullable, required
          - `html_content` string, nullable, required: The comment message body rendered as HTML.
          - `with_mentions` boolean, required: Indicates if the message body contains @mentions.
        - `comments_count` integer: The number of comments made on this record.
        - `documents` Document[]: A list of the documents attached to this record.
          - `id` integer, required
          - `created_at` string, date-time: The date and time at which this record was created.
          - `updated_at` string, date-time: The date and time at which this record was most recently updated.
          - `name` string, required: The name of the document.
          - `description` string, required: The description of the document.
          - `documentable_id` integer, required
          - `documentable_type` 'ServiceEntry' | 'FuelEntry' | 'Issue' | 'WorkOrder' | 'ExpenseEntry' | 'Vehicle', required
          - `file_name` string, required: The name of the file.
          - `file_mime_type` string, required: The MIME type of the file.
          - `file_size` number, required: The size of the file in bytes.
          - `file_url` string, required: The URL to access the file.
          - `full_file_url` string, required: The full URL to access the file, including any necessary authentication or parameters.
        - `documents_count` integer: The number of documents attached to this record.
        - `images` Image2[]: A list of the images attached to this record.
          - `id` integer, required
          - `created_at` string, date-time: The date and time at which this record was created.
          - `updated_at` string, date-time: The date and time at which this record was most recently updated.
          - `imageable_id` integer
          - `imageable_type` 'ExpenseEntry' | 'WorkOrder' | 'Equipment' | 'IssueResolution' | 'ServiceEntry' | 'Vendor' | 'ServiceProgram' | 'Issue' | 'Contact' | 'Part' | 'Vehicle' | 'FuelEntry' | 'SubmittedInspectionItem'
          - `file_name` string: The name of the image file.
          - `file_mime_type` 'image/jpeg' | 'image/gif' | 'image/jif' | 'image/jfif' | 'image/jfi' | 'image/tiff' | 'image/png' | 'image/jpg' | 'image/jpe' | 'image/pdf' | 'image/webp' | 'image/tif' | 'image/psd' | 'image/raw' | 'image/arw' | 'image/cr2' | 'image/nrw' | 'image/k25' | 'image/bmp' | 'image/dip' | 'image/ai' | 'image/eps' | 'image/heif' | 'image/heic' | 'image/ind' | 'image/indd' | 'image/indt' | 'image/jp2' | 'image/j2k' | 'image/jpf' | 'image/jpx' | 'image/jpm' | 'image/mj2' | 'image/x-png'
          - `file_size` number: The size of the image file in bytes.
          - `file_url` string: The URL to access the image file.
          - `full_url` string: The full URL to access the image file, including any necessary authentication or parameters.
        - `images_count` integer: The number of images attached to this record.
      - `labor_cost` number, float: The total cost of labor for this line item.
      - `parts_cost` number, float: The total cost of parts for this line item.
      - `subtotal` number, float: The pre-tax cost of this line item.
      - `vmrs_reason_for_repair` object, nullable, required
        - `account_id` integer
        - `alias` string, nullable
        - `code` string, nullable
        - `enabled` boolean
        - `id` integer
        - `name` string
        - `repair_type` string, nullable
        - `standard` boolean
        - `standard_name` string, nullable
        - `type` string
        - `vmrs_standard_reason_for_repair` object, nullable
      - `vmrs_system_group` object, nullable, required
        - `account_id` number, nullable
        - `assembly_code` string, nullable
        - `assembly_name` string, nullable
        - `code_type` 'system_group' | 'system' | 'assembly' | 'component'
        - `component_code` string, nullable
        - `component_name` string, nullable
        - `enabled` boolean
        - `id` integer
        - `permissions` object, nullable
          - `destroy` boolean
        - `standard` boolean
        - `system_code` string, nullable
        - `system_group` string, nullable
        - `system_group_code` string, nullable
        - `system_name` string, nullable
        - `type` string
        - `vmrs_standard_system_assembly_component` object, nullable
      - `vmrs_system` object, nullable, required
        - `account_id` number, nullable
        - `assembly_code` string, nullable
        - `assembly_name` string, nullable
        - `code_type` 'system_group' | 'system' | 'assembly' | 'component'
        - `component_code` string, nullable
        - `component_name` string, nullable
        - `enabled` boolean
        - `id` integer
        - `permissions` object, nullable
          - `destroy` boolean
        - `standard` boolean
        - `system_code` string, nullable
        - `system_group` string, nullable
        - `system_group_code` string, nullable
        - `system_name` string, nullable
        - `type` string
        - `vmrs_standard_system_assembly_component` object, nullable
      - `vmrs_assembly` object, nullable, required
        - `account_id` number, nullable
        - `assembly_code` string, nullable
        - `assembly_name` string, nullable
        - `code_type` 'system_group' | 'system' | 'assembly' | 'component'
        - `component_code` string, nullable
        - `component_name` string, nullable
        - `enabled` boolean
        - `id` integer
        - `permissions` object, nullable
          - `destroy` boolean
        - `standard` boolean
        - `system_code` string, nullable
        - `system_group` string, nullable
        - `system_group_code` string, nullable
        - `system_name` string, nullable
        - `type` string
        - `vmrs_standard_system_assembly_component` object, nullable
      - `vmrs_component` object, nullable, required
        - `account_id` number, nullable
        - `assembly_code` string, nullable
        - `assembly_name` string, nullable
        - `code_type` 'system_group' | 'system' | 'assembly' | 'component'
        - `component_code` string, nullable
        - `component_name` string, nullable
        - `enabled` boolean
        - `id` integer
        - `permissions` object, nullable
          - `destroy` boolean
        - `standard` boolean
        - `system_code` string, nullable
        - `system_group` string, nullable
        - `system_group_code` string, nullable
        - `system_name` string, nullable
        - `type` string
        - `vmrs_standard_system_assembly_component` object, nullable
    - `service_tasks` ServiceTask[], required
      - `id` integer, required
      - `created_at` string, date-time: The date and time at which this record was created.
      - `updated_at` string, date-time: The date and time at which this record was most recently updated.
      - `name` string, required: A name for this Service Task.
      - `description` string, nullable, required: A description of this Service Task.
      - `expected_duration_in_seconds` integer, nullable: The expected duration in seconds this Service Task should take to complete.
      - `archived_at` string, date-time, nullable: The date and time at which this Service Task was archived. `null` if this Service Task is active.
      - `subtasks` object[], required
        - `id` integer, required
        - `created_at` string, date-time: The date and time at which this record was created.
        - `updated_at` string, date-time: The date and time at which this record was most recently updated.
        - `name` string: The name of this subtask.
        - `description` string, nullable: A description of this subtask.
        - `expected_duration_in_seconds` integer, nullable: The expected duration in seconds this subtask should take to complete.
        - `subtasks` unknown[]: The subtasks array at this level will always be empty.
          - unknown
        - `default_vmrs_reason_for_repair` object, nullable
          - `account_id` integer
          - `alias` string, nullable
          - `code` string, nullable
          - `enabled` boolean
          - `id` integer
          - `name` string
          - `repair_type` string, nullable
          - `standard` boolean
          - `standard_name` string, nullable
          - `type` string
          - `vmrs_standard_reason_for_repair` object, nullable
        - `default_vmrs_system_group` object, nullable
          - `account_id` number, nullable
          - `assembly_code` string, nullable
          - `assembly_name` string, nullable
          - `code_type` 'system_group' | 'system' | 'assembly' | 'component'
          - `component_code` string, nullable
          - `component_name` string, nullable
          - `enabled` boolean
          - `id` integer
          - `permissions` object, nullable
            - `destroy` boolean
          - `standard` boolean
          - `system_code` string, nullable
          - `system_group` string, nullable
          - `system_group_code` string, nullable
          - `system_name` string, nullable
          - `type` string
          - `vmrs_standard_system_assembly_component` object, nullable
        - `default_vmrs_system` object, nullable
          - `account_id` number, nullable
          - `assembly_code` string, nullable
          - `assembly_name` string, nullable
          - `code_type` 'system_group' | 'system' | 'assembly' | 'component'
          - `component_code` string, nullable
          - `component_name` string, nullable
          - `enabled` boolean
          - `id` integer
          - `permissions` object, nullable
            - `destroy` boolean
          - `standard` boolean
          - `system_code` string, nullable
          - `system_group` string, nullable
          - `system_group_code` string, nullable
          - `system_name` string, nullable
          - `type` string
          - `vmrs_standard_system_assembly_component` object, nullable
        - `default_vmrs_assembly` object, nullable
          - `account_id` number, nullable
          - `assembly_code` string, nullable
          - `assembly_name` string, nullable
          - `code_type` 'system_group' | 'system' | 'assembly' | 'component'
          - `component_code` string, nullable
          - `component_name` string, nullable
          - `enabled` boolean
          - `id` integer
          - `permissions` object, nullable
            - `destroy` boolean
          - `standard` boolean
          - `system_code` string, nullable
          - `system_group` string, nullable
          - `system_group_code` string, nullable
          - `system_name` string, nullable
          - `type` string
          - `vmrs_standard_system_assembly_component` object, nullable
        - `default_vmrs_component` object, nullable
          - `account_id` number, nullable
          - `assembly_code` string, nullable
          - `assembly_name` string, nullable
          - `code_type` 'system_group' | 'system' | 'assembly' | 'component'
          - `component_code` string, nullable
          - `component_name` string, nullable
          - `enabled` boolean
          - `id` integer
          - `permissions` object, nullable
            - `destroy` boolean
          - `standard` boolean
          - `system_code` string, nullable
          - `system_group` string, nullable
          - `system_group_code` string, nullable
          - `system_name` string, nullable
          - `type` string
          - `vmrs_standard_system_assembly_component` object, nullable
      - `usage` integer: Indicates the number of times this Service Task has been used. Available by setting the `include_usage` query parameter to `1`.
      - `default_vmrs_reason_for_repair` object, nullable, required
        - `account_id` integer
        - `alias` string, nullable
        - `code` string, nullable
        - `enabled` boolean
        - `id` integer
        - `name` string
        - `repair_type` string, nullable
        - `standard` boolean
        - `standard_name` string, nullable
        - `type` string
        - `vmrs_standard_reason_for_repair` object, nullable
      - `default_vmrs_system_group` object, nullable, required
        - `account_id` number, nullable
        - `assembly_code` string, nullable
        - `assembly_name` string, nullable
        - `code_type` 'system_group' | 'system' | 'assembly' | 'component'
        - `component_code` string, nullable
        - `component_name` string, nullable
        - `enabled` boolean
        - `id` integer
        - `permissions` object, nullable
          - `destroy` boolean
        - `standard` boolean
        - `system_code` string, nullable
        - `system_group` string, nullable
        - `system_group_code` string, nullable
        - `system_name` string, nullable
        - `type` string
        - `vmrs_standard_system_assembly_component` object, nullable
      - `default_vmrs_system` object, nullable, required
        - `account_id` number, nullable
        - `assembly_code` string, nullable
        - `assembly_name` string, nullable
        - `code_type` 'system_group' | 'system' | 'assembly' | 'component'
        - `component_code` string, nullable
        - `component_name` string, nullable
        - `enabled` boolean
        - `id` integer
        - `permissions` object, nullable
          - `destroy` boolean
        - `standard` boolean
        - `system_code` string, nullable
        - `system_group` string, nullable
        - `system_group_code` string, nullable
        - `system_name` string, nullable
        - `type` string
        - `vmrs_standard_system_assembly_component` object, nullable
      - `default_vmrs_assembly` object, nullable, required
        - `account_id` number, nullable
        - `assembly_code` string, nullable
        - `assembly_name` string, nullable
        - `code_type` 'system_group' | 'system' | 'assembly' | 'component'
        - `component_code` string, nullable
        - `component_name` string, nullable
        - `enabled` boolean
        - `id` integer
        - `permissions` object, nullable
          - `destroy` boolean
        - `standard` boolean
        - `system_code` string, nullable
        - `system_group` string, nullable
        - `system_group_code` string, nullable
        - `system_name` string, nullable
        - `type` string
        - `vmrs_standard_system_assembly_component` object, nullable
      - `default_vmrs_component` object, nullable, required
        - `account_id` number, nullable
        - `assembly_code` string, nullable
        - `assembly_name` string, nullable
        - `code_type` 'system_group' | 'system' | 'assembly' | 'component'
        - `component_code` string, nullable
        - `component_name` string, nullable
        - `enabled` boolean
        - `id` integer
        - `permissions` object, nullable
          - `destroy` boolean
        - `standard` boolean
        - `system_code` string, nullable
        - `system_group` string, nullable
        - `system_group_code` string, nullable
        - `system_name` string, nullable
        - `type` string
        - `vmrs_standard_system_assembly_component` object, nullable
      - `service_task_parts` object[]: Any `Parts` associated with this Service Task. Available by setting the `expand[]` query parameter to `service_task_parts`.
        - `id` integer
        - `quantity` number, float: The quantity of this `Part` related to the Service Task.
        - `part_id` integer: The ID of this `Part` related to the Service Task.
        - `part_archived_at` string, date-time, nullable: The date and time at which the `Part` related to the Service Task was archived, if applicable.
        - `position` integer: The position of this `Part` in the list of Service Task Parts.
    - `issues` Issue[], required
      - `id` integer, required
      - `created_at` string, date-time: The date and time at which this record was created.
      - `updated_at` string, date-time: The date and time at which this record was most recently updated.
      - `number` string, required: A unique identifier for the Issue.
      - `name` string, required: The name of the Issue.
      - `summary` string, required: A summary of the Issue.
      - `description` string, nullable, required: A longer description of the Issue.
      - `state` 'Open' | 'Closed' | 'Resolved', required: The Issue's current state.
      - `reported_at` string, date-time, nullable, required: The date and time at which the issue was reported.
      - `reported_by_id` integer, nullable, required
      - `reported_by_name` string, nullable, required: The name of the Contact associated with the User who reported this Issue.
      - `fault_id` integer, nullable, required
      - `due_date` string, date, nullable, required: The date on which this Issue should be resolved by. Formatted according to ISO-8601 in `User`'s local time zone.
      - `due_meter_value` string, nullable, required: The meter value at which this Issue should be resolved by.
      - `due_secondary_meter_value` number, float, nullable, required: The secondary meter value at which this Issue should be resolved by.
      - `overdue` boolean, required: Indicates whether the Issue is overdue.
      - `vehicle_id` integer, required
      - `vehicle_name` string, required: The name of the Vehicle associated with this Issue.
      - `is_sample` boolean: Indicates whether this Issue is sample data.
      - `created_by_workflow` boolean, required: Indicates whether this Issue was created by a workflow.
      - `submitted_inspection_form_id` integer, nullable, required
      - `custom_fields` CustomFields, nullable, required: *Full details on working with Custom Fields [here](/docs/overview/custom-fields).
      - `valid_required_custom_fields` boolean, required
      - `dtc_alert_id` integer, nullable, required
      - `assigned_contacts` Contact[], required: An array of assigned Contacts related to the Issue.
        - `id` integer
        - `created_at` string, date-time
        - `updated_at` string, date-time
        - `email` string, nullable: The Contact's email address.
        - `name` string, nullable: The Contact's full name.
        - `first_name` string, nullable: The Contact's first name.
        - `middle_name` string, nullable: The Contact's middle name.
        - `last_name` string, nullable: The Contact's last name.
        - `images_count` integer: The number of images associated with this Contact.
        - `documents_count` integer: The number of documents associated with this Contact.
        - `comments_count` integer: The number of comments associated with this Contact.
        - `group_id` integer, nullable: If this Contact belongs to a [Group](/docs/api/groups), this will be the Fleetio ID of that `Group`.
        - `group_name` string, nullable: If this Contact belongs to a [Group](/docs/api/groups), this will be the `Group`'s name.
        - `group_hierarchy` string, nullable: If this Contact belongs to a [Group](/docs/api/groups), this will be a pipe delimited string representing the `Group` hierarchy. Each `Group` in the list is the parent of the `Groups` which follow.
        - `technician` boolean, nullable: Whether or not the Contact is a Technician.
        - `vehicle_operator` boolean, nullable: Whether or not the Contact is a Vehicle Operator.
        - `employee` boolean, nullable: Whether or not the Contact is an Employee.
        - `birth_date` string, date, nullable: The Contact's birth date.
        - `street_address` string, nullable: The Contact's street address.
        - `street_address_line_2` string, nullable: The Contact's street address line 2.
        - `city` string, nullable: The Contact's city.
        - `region` string, nullable: The Contact's region, state, or province.
        - `postal_code` string, nullable: The Contact's postal code, zip code, or equivalent.
        - `country` string, nullable: The Contact's country.
        - `employee_number` string, nullable: The Contact's employee number.
        - `job_title` string, nullable: The Contact's job title.
        - `license_class` string, nullable: The Contact's driver's license class.
        - `license_number` string, nullable: The Contact's driver's license number.
        - `license_state` string, nullable: The locality which issued the Contact's license.
        - `license_expiration` string, date, nullable: The Contact's driver's license expiration date.
        - `home_phone_number` string, nullable: The Contact's home phone number.
        - `mobile_phone_number` string, nullable: The Contact's mobile phone number.
        - `work_phone_number` string, nullable: The Contact's work phone number.
        - `other_phone_number` string, nullable: Any other phone number for this Contact.
        - `start_date` string, date, nullable: When the Contact started working for the company, if applicable.
        - `leave_date` string, date, nullable: When the Contact left or will leave the company, if applicable.
        - `hourly_labor_rate` number, float, nullable: The Contact's hourly rate.
        - `custom_fields` CustomFields, nullable: *Full details on working with Custom Fields [here](/docs/overview/custom-fields).
        - `attachment_permissions` AttachmentPermissions, nullable
          - `read_photos` boolean: Indicates whether the user has read permission for photos.
          - `manage_photos` boolean: Indicates whether the user has permission to manage (eg. upload, delete) photos.
          - `read_documents` boolean: Indicates whether the user has read permission for documents.
          - `manage_documents` boolean: Indicates whether the user has permission to manage (eg. upload, delete) documents.
        - `default_image_url` string, nullable: The URL of the Contact's default image/profile photo, if any.
        - `user` object, nullable: If the Contact is a Fleetio `User`, those details will be included here.
        - `account_membership_id` integer, nullable
        - `last_api_request` string, date-time, nullable: The last date and time this Contact's associated User made an API request. Null if Contact is not associated with a User.
        - `last_web_access` string, date-time, nullable: The last date and time this Contact's associated User signed into the web application. Null if Contact is not associated with a User.
        - `last_mobile_app_access` string, date-time, nullable: The last date and time this Contact's associated User used the mobile app. Null if Contact is not associated with a User.
      - `labels` object[], required
        - `id` integer
        - `name` string
      - `attachment_permissions` AttachmentPermissions, nullable
        - `read_photos` boolean: Indicates whether the user has read permission for photos.
        - `manage_photos` boolean: Indicates whether the user has permission to manage (eg. upload, delete) photos.
        - `read_documents` boolean: Indicates whether the user has read permission for documents.
        - `manage_documents` boolean: Indicates whether the user has permission to manage (eg. upload, delete) documents.
      - `is_watched` boolean, required: Indicates whether the Issue is watched.
      - `vehicle_image_url` string, nullable, required: The URL to the image of the Vehicle associated with the Issue.
      - `vehicle_image_url_medium` string, nullable, required: The URL to a medium-sized Vehicle image associated with the Issue.
      - `vehicle_image_url_small` string, nullable, required: The URL to a small-sized Vehicle image associated with the Issue.
      - `vehicle_image_url_large` string, nullable, required: The URL to a large-sized Vehicle image associated with the Issue.
      - `watchers_count` integer: The count of watchers related to the Issue.
      - `linked_work_orders` object[], nullable, required: Summative information of linked Work Orders related to the Issue.
        - `id` integer
        - `number` integer: The Work Order number.
        - `issued_at` string, date-time: The date and time at which the Work Order was issued.
      - `source` object, required: Inspection source information.
        - `inspection_form` object
          - `id` integer, nullable
          - `color` string, nullable
          - `title` string, nullable
        - `inspection_submissions_count` integer, nullable: The count of inspection submissions related to the Issue.
        - `last_inspection_submission_at` string, date-time, nullable: The date and time of the last inspection submission related to the Issue.
        - `failed_inspection_item_label` string, nullable: The label associated with a failed inspection item.
      - `comments` Comment[]: A list of the comments made on this record.
        - `id` integer, required
        - `created_at` string, date-time: The date and time at which this record was created.
        - `updated_at` string, date-time: The date and time at which this record was most recently updated.
        - `commentable_type` 'Contact' | 'FleetcorCard' | 'FuelEntry' | 'InventoryJournalEntry' | 'Issue' | 'Part' | 'PurchaseOrder' | 'ServiceEntry' | 'ServiceReminder' | 'SubmittedInspectionItem' | 'Vehicle' | 'VehicleAssignment' | 'Vendor' | 'WexCard' | 'WorkOrder', required: The type of record that the Comment will be left on. Must be associated with a matching `commentable_id`.
        - `commentable_id` integer, required
        - `user_id` integer, required
        - `title` string: The title of the Comment.
        - `comment` string, required: The content of the Comment message body.
        - `user_full_name` string, required: The full name of the `User` who created the Comment.
        - `user_image_url` string, nullable, required: The image url for the `User` who created the Comment.
        - `rich_content` object, nullable, required
        - `html_content` string, nullable, required: The comment message body rendered as HTML.
        - `with_mentions` boolean, required: Indicates if the message body contains @mentions.
      - `comments_count` integer: The number of comments made on this record.
      - `documents` Document[]: A list of the documents attached to this record.
        - `id` integer, required
        - `created_at` string, date-time: The date and time at which this record was created.
        - `updated_at` string, date-time: The date and time at which this record was most recently updated.
        - `name` string, required: The name of the document.
        - `description` string, required: The description of the document.
        - `documentable_id` integer, required
        - `documentable_type` 'ServiceEntry' | 'FuelEntry' | 'Issue' | 'WorkOrder' | 'ExpenseEntry' | 'Vehicle', required
        - `file_name` string, required: The name of the file.
        - `file_mime_type` string, required: The MIME type of the file.
        - `file_size` number, required: The size of the file in bytes.
        - `file_url` string, required: The URL to access the file.
        - `full_file_url` string, required: The full URL to access the file, including any necessary authentication or parameters.
      - `documents_count` integer: The number of documents attached to this record.
      - `images` Image2[]: A list of the images attached to this record.
        - `id` integer, required
        - `created_at` string, date-time: The date and time at which this record was created.
        - `updated_at` string, date-time: The date and time at which this record was most recently updated.
        - `imageable_id` integer
        - `imageable_type` 'ExpenseEntry' | 'WorkOrder' | 'Equipment' | 'IssueResolution' | 'ServiceEntry' | 'Vendor' | 'ServiceProgram' | 'Issue' | 'Contact' | 'Part' | 'Vehicle' | 'FuelEntry' | 'SubmittedInspectionItem'
        - `file_name` string: The name of the image file.
        - `file_mime_type` 'image/jpeg' | 'image/gif' | 'image/jif' | 'image/jfif' | 'image/jfi' | 'image/tiff' | 'image/png' | 'image/jpg' | 'image/jpe' | 'image/pdf' | 'image/webp' | 'image/tif' | 'image/psd' | 'image/raw' | 'image/arw' | 'image/cr2' | 'image/nrw' | 'image/k25' | 'image/bmp' | 'image/dip' | 'image/ai' | 'image/eps' | 'image/heif' | 'image/heic' | 'image/ind' | 'image/indd' | 'image/indt' | 'image/jp2' | 'image/j2k' | 'image/jpf' | 'image/jpx' | 'image/jpm' | 'image/mj2' | 'image/x-png'
        - `file_size` number: The size of the image file in bytes.
        - `file_url` string: The URL to access the image file.
        - `full_url` string: The full URL to access the image file, including any necessary authentication or parameters.
      - `images_count` integer: The number of images attached to this record.
    - `meter_entry` VehicleMeterEntry, nullable, required: A Meter Entry
      - `id` integer
      - `created_at` string, date-time
      - `updated_at` string, date-time
      - `auto_voided_at` string, date-time, nullable: The date and time at which this Meter Entry was automatically voided. Formatted according to ISO-8601 in `User`'s local time.
      - `category` 'starting' | 'ending' | 'nightly' | 'manual', nullable: A category to describe the function of this Meter Entry.
      - `meter_type` 'secondary', nullable: Indicates whether or not this Meter is a secondary Meter.
      - `meterable_id` integer, nullable
      - `meterable_type` 'FuelEntry' | 'Issue' | 'PurchaseDetail' | 'ServiceEntry' | 'SubmittedInspectionItem' | 'VehicleAssignment' | 'WorkOrder', nullable: The type of the object with which this Meter Entry is associated.
      - `value` string: The current value of the meter.
      - `vehicle_id` integer, nullable
      - `void` boolean: Indicates whether or not this Meter Entry has been voided.
      - `type` 'GpsMeterEntry', nullable
      - `date` string, date: The date on which this Meter Entry was recorded. Formatted according to ISO-8601.
    - `secondary_meter_entry` VehicleMeterEntry, nullable: A Meter Entry
      - `id` integer
      - `created_at` string, date-time
      - `updated_at` string, date-time
      - `auto_voided_at` string, date-time, nullable: The date and time at which this Meter Entry was automatically voided. Formatted according to ISO-8601 in `User`'s local time.
      - `category` 'starting' | 'ending' | 'nightly' | 'manual', nullable: A category to describe the function of this Meter Entry.
      - `meter_type` 'secondary', nullable: Indicates whether or not this Meter is a secondary Meter.
      - `meterable_id` integer, nullable
      - `meterable_type` 'FuelEntry' | 'Issue' | 'PurchaseDetail' | 'ServiceEntry' | 'SubmittedInspectionItem' | 'VehicleAssignment' | 'WorkOrder', nullable: The type of the object with which this Meter Entry is associated.
      - `value` string: The current value of the meter.
      - `vehicle_id` integer, nullable
      - `void` boolean: Indicates whether or not this Meter Entry has been voided.
      - `type` 'GpsMeterEntry', nullable
      - `date` string, date: The date on which this Meter Entry was recorded. Formatted according to ISO-8601.
    - `vmrs_repair_priority_class` object, nullable, required: The Vehicle Maintenance Reporting Standards (VMRS) Repair Priority Class for this Service Entry.
      - `id` integer: The ID of the VMRS Repair Priority Class.
      - `code` string: The code of the VMRS Repair Priority Class.
      - `name` string: The name of the VMRS Repair Priority Class.
      - `color` string: The color of the VMRS Repair Priority Class.
    - `labels` object[], required
      - `id` integer
      - `name` string
    - `auto_integrate_ro_id` integer, nullable, required
    - `auto_integrate_ro_link` string, nullable: The Auto Integrate `Repair Order` link for this Service Entry.
    - `auto_integrate_repair_order_status` 'approved' | 'auto_approved' | 'awaiting_reconciliation' | 'awaiting_invoice' | 'awaiting_payment' | 'completed' | 'failed_reconciliation' | 'invoiced' | 'needs_approval' | 'needs_reapproval' | 'paid' | 'rejected', nullable, required: The Auto Integrate `Repair Order` status for this Service Entry.
    - `auto_integrate_repair_order_status_color` string, nullable, required: The color applied to the Auto Integrate `Repair Order` status for this Service Entry.
    - `invoice` object, nullable: An MSI Repair Order Invoice (pass expand[]=invoice in query to include in response)
      - `id` integer
      - `created_at` string, date-time: The date and time when the Invoice was created.
      - `po_number` string: The PO number for the Invoice.
      - `updated_at` string, date-time: The date and time when the Invoice was last updated.
    - `discount` number, float, nullable: The discount amount.
    - `discount_type` 'fixed' | 'percentage', nullable: The type of discount applied to this record.
    - `discount_percentage` number, float, nullable: The discount percentage. This field should be present when `discount_type` is set to `percentage`.
    - `fees` number, float: The fees amount. This is the sum of any `ServiceEntryFeeLineItem`s present.
    - `subtotal` number, float: The pre-tax subtotal amount.
    - `parts_subtotal` number, float: The pre-tax subtotal amount for parts.
    - `labor_subtotal` number, float: The pre-tax subtotal amount for labor.
    - `tax_1` number, float, nullable: The primary tax amount.
    - `tax_1_percentage` number, float, nullable: The primary tax percentage.
    - `tax_1_type` string, nullable: The primary tax type.
    - `tax_2` number, float, nullable: The secondary tax amount.
    - `tax_2_percentage` number, float, nullable: The secondary tax percentage.
    - `tax_2_type` string, nullable: The secondary tax type.
    - `parts_markup_type` 'fixed' | 'percentage': The type of parts markup applied to the record Note that this is a readonly value that will default to `percentage` for non-premium plans
    - `parts_markup` number, float: The parts markup amount. Note that this is a readonly value that will default to `0.0` for non-premium plans
    - `parts_markup_percentage` number, float: The parts markup percentage amount. This field should be present when `parts_markup_type` is set to `percentage`. Note that this is a readonly value that will default to `0.0` for non-premium plans
    - `labor_markup_type` 'fixed' | 'percentage': The type of labor markup applied to the record Note that this is a readonly value that will default to `percentage` for non-premium plans
    - `labor_markup` number, float: The labor markup amount. Note that this is a readonly value that will default to `0.0` for non-premium plans
    - `labor_markup_percentage` number, float: The labor markup percentage amount. This field should be present when `labor_markup_type` is set to `percentage`. Note that this is a readonly value that will default to `0.0` for non-premium plans
    - `total_amount` number, float: The total amount.
    - `comments` Comment[], required: A list of the comments made on this record.
      - `id` integer, required
      - `created_at` string, date-time: The date and time at which this record was created.
      - `updated_at` string, date-time: The date and time at which this record was most recently updated.
      - `commentable_type` 'Contact' | 'FleetcorCard' | 'FuelEntry' | 'InventoryJournalEntry' | 'Issue' | 'Part' | 'PurchaseOrder' | 'ServiceEntry' | 'ServiceReminder' | 'SubmittedInspectionItem' | 'Vehicle' | 'VehicleAssignment' | 'Vendor' | 'WexCard' | 'WorkOrder', required: The type of record that the Comment will be left on. Must be associated with a matching `commentable_id`.
      - `commentable_id` integer, required
      - `user_id` integer, required
      - `title` string: The title of the Comment.
      - `comment` string, required: The content of the Comment message body.
      - `user_full_name` string, required: The full name of the `User` who created the Comment.
      - `user_image_url` string, nullable, required: The image url for the `User` who created the Comment.
      - `rich_content` object, nullable, required
      - `html_content` string, nullable, required: The comment message body rendered as HTML.
      - `with_mentions` boolean, required: Indicates if the message body contains @mentions.
    - `comments_count` integer, required: The number of comments made on this record.
    - `labor_time_in_seconds` integer, nullable: The sum, in seconds, of the duration of all labor line items of the Work Order that created this Service Entry, if applicable. This field is only relevant when the Service Entry is created from a Work Order.
    - `documents` Document[]: A list of the documents attached to this record.
      - `id` integer, required
      - `created_at` string, date-time: The date and time at which this record was created.
      - `updated_at` string, date-time: The date and time at which this record was most recently updated.
      - `name` string, required: The name of the document.
      - `description` string, required: The description of the document.
      - `documentable_id` integer, required
      - `documentable_type` 'ServiceEntry' | 'FuelEntry' | 'Issue' | 'WorkOrder' | 'ExpenseEntry' | 'Vehicle', required
      - `file_name` string, required: The name of the file.
      - `file_mime_type` string, required: The MIME type of the file.
      - `file_size` number, required: The size of the file in bytes.
      - `file_url` string, required: The URL to access the file.
      - `full_file_url` string, required: The full URL to access the file, including any necessary authentication or parameters.
    - `documents_count` integer, required: The number of documents attached to this record.
    - `images` Image2[], required: A list of the images attached to this record.
      - `id` integer, required
      - `created_at` string, date-time: The date and time at which this record was created.
      - `updated_at` string, date-time: The date and time at which this record was most recently updated.
      - `imageable_id` integer
      - `imageable_type` 'ExpenseEntry' | 'WorkOrder' | 'Equipment' | 'IssueResolution' | 'ServiceEntry' | 'Vendor' | 'ServiceProgram' | 'Issue' | 'Contact' | 'Part' | 'Vehicle' | 'FuelEntry' | 'SubmittedInspectionItem'
      - `file_name` string: The name of the image file.
      - `file_mime_type` 'image/jpeg' | 'image/gif' | 'image/jif' | 'image/jfif' | 'image/jfi' | 'image/tiff' | 'image/png' | 'image/jpg' | 'image/jpe' | 'image/pdf' | 'image/webp' | 'image/tif' | 'image/psd' | 'image/raw' | 'image/arw' | 'image/cr2' | 'image/nrw' | 'image/k25' | 'image/bmp' | 'image/dip' | 'image/ai' | 'image/eps' | 'image/heif' | 'image/heic' | 'image/ind' | 'image/indd' | 'image/indt' | 'image/jp2' | 'image/j2k' | 'image/jpf' | 'image/jpx' | 'image/jpm' | 'image/mj2' | 'image/x-png'
      - `file_size` number: The size of the image file in bytes.
      - `file_url` string: The URL to access the image file.
      - `full_url` string: The full URL to access the image file, including any necessary authentication or parameters.
    - `images_count` integer, required: The number of images attached to this record.
  - `service_program_line_item` ServiceProgramLineItem, nullable, required
    - `id` integer
    - `created_at` string, date-time
    - `updated_at` string, date-time
    - `time_interval` integer: The number of time units according to `time_frequency` between each occurrence of the `Service Task`(s) of this Service Program line item.
    - `time_frequency` 'day' | 'week' | 'month' | 'year' | 'days' | 'weeks' | 'months' | 'years', nullable
    - `meter_interval` number, float: The meter interval of which this Service Program line item takes place.
    - `secondary_meter_interval` number, float, nullable: The secondary meter interval of which this Service Program line item takes place.
    - `due_soon_time_threshold_interval` integer, nullable: The number of time units according to `due_soon_time_threshold_frequency` between `due_soon_at` occurrences.
    - `due_soon_time_threshold_frequency` 'day' | 'week' | 'month' | 'year' | 'days' | 'weeks' | 'months' | 'years', nullable
    - `due_soon_meter_threshold` number, float, nullable: The meter value threshold to which this Service Program line item will be due soon.
    - `due_soon_secondary_meter_threshold` number, float, nullable: The secondary meter value threshold to which this Service Program line item will be due soon.
    - `service_tasks` ServiceProgramLineItemServiceTask[]: Any `Service Tasks` associated with this Service Program line item.
      - `id` integer, required
      - `created_at` string, date-time: The date and time at which this record was created.
      - `updated_at` string, date-time: The date and time at which this record was most recently updated.
      - `name` string: The name of this Service Task.
      - `description` string, nullable: A description of this Service Task.
      - `expected_duration_in_seconds` integer, nullable: The expected time to complete this Service Task in seconds.
      - `subtasks` ServiceProgramLineItemServiceTask[]: The subtasks array within a parent subtasks array will always be empty.
      - `default_vmrs_reason_for_repair` object, nullable
        - `id` integer
        - `code` string: The VMRS code for this reason for repair.
        - `name` string: The name of this reason for repair.
        - `repair_type` string: The repair type of this reason for repair.
        - `enabled` boolean: Whether or not this reason for repair is enabled.
      - `default_vmrs_system_group` object, nullable
        - `id` integer
        - `system_group_code` string: The system group code of this system group.
        - `system_group_name` string: The name of this system group.
        - `system_code` string: The system code of this system group.
        - `system_name` string: The name of this system.
        - `assembly_code` string: The assembly code of this system group.
        - `assembly_name` string: The assembly name related to this system group.
        - `component_code` string: The component code of this system group.
        - `component_name` string: The component name related to this system group.
        - `enabled` boolean: Whether or not this system group is enabled.
      - `default_vmrs_system` object, nullable
        - `id` integer
        - `system_group_code` string: The system group code of the default VMRS system.
        - `system_group_name` string: The name of the default VMRS system group.
        - `system_code` string: The system code of the default VMRS system.
        - `system_name` string: The name of the default VMRS system.
        - `assembly_code` string: The assembly code of the default VMRS system.
        - `assembly_name` string: The name of the default VMRS assembly.
        - `component_code` string: The component code of the default VMRS system.
        - `component_name` string: The name of the default VMRS component.
        - `enabled` boolean: Whether or not the default VMRS system is enabled.
      - `default_vmrs_assembly` object, nullable
        - `id` integer
        - `system_group_code` string: The system group code of the default VMRS assembly.
        - `system_group_name` string: The name of the default VMRS system group.
        - `system_code` string: The system code of the default VMRS assembly.
        - `system_name` string: The name of the default VMRS system.
        - `assembly_code` string: The assembly code of the default VMRS assembly.
        - `assembly_name` string: The name of the default VMRS assembly.
        - `component_code` string: The component code of the default VMRS assembly.
        - `component_name` string: The name of the default VMRS component.
        - `enabled` boolean: Whether or not the default VMRS assembly is enabled.
      - `default_vmrs_component` object, nullable
        - `id` integer
        - `system_group_code` string: The system group code of the default VMRS component.
        - `system_group_name` string: The name of the default VMRS system group.
        - `system_code` string: The system code of the default VMRS component.
        - `system_name` string: The name of the default VMRS system.
        - `assembly_code` string: The assembly code of the default VMRS component.
        - `assembly_name` string: The name of the default VMRS assembly.
        - `component_code` string: The component code of the default VMRS component.
        - `component_name` string: The name of the default VMRS component.
    - `service_program` object, nullable: Basic information about the parent Service Program.
      - `id` integer, required
      - `created_at` string, date-time: The date and time at which this record was created.
      - `updated_at` string, date-time: The date and time at which this record was most recently updated.
      - `name` unknown
  - `comments` Comment[], required
    - `id` integer, required
    - `created_at` string, date-time: The date and time at which this record was created.
    - `updated_at` string, date-time: The date and time at which this record was most recently updated.
    - `commentable_type` 'Contact' | 'FleetcorCard' | 'FuelEntry' | 'InventoryJournalEntry' | 'Issue' | 'Part' | 'PurchaseOrder' | 'ServiceEntry' | 'ServiceReminder' | 'SubmittedInspectionItem' | 'Vehicle' | 'VehicleAssignment' | 'Vendor' | 'WexCard' | 'WorkOrder', required: The type of record that the Comment will be left on. Must be associated with a matching `commentable_id`.
    - `commentable_id` integer, required
    - `user_id` integer, required
    - `title` string: The title of the Comment.
    - `comment` string, required: The content of the Comment message body.
    - `user_full_name` string, required: The full name of the `User` who created the Comment.
    - `user_image_url` string, nullable, required: The image url for the `User` who created the Comment.
    - `rich_content` object, nullable, required
    - `html_content` string, nullable, required: The comment message body rendered as HTML.
    - `with_mentions` boolean, required: Indicates if the message body contains @mentions.
  - `watchers_count` integer, required: The count of watchers associated with the record.
  - `is_watched` boolean, required: Indicates whether the record is being watched.

## Other responses

- `401`: Request could not be authenticated
- `403`: Insufficient permission to perform this operation
- `404`: The requested resource could not be located
- `422`: Unprocessable Entity
- `500`: Something unexpected happened

## Changes

- **2026-11-06** `49558d744bd7`: 2 breaking, 3 warning, 5 info
  - the response property `allOf[subschema #2]/latest_occurrence/allOf[subschema #1]/invoice` became nullable for the status `200`
  - the `allOf[subschema #2]/latest_occurrence/allOf[subschema #1]/invoice` response's property type changed from no type to `object` for status `200`
  - the `comments_attributes/items/comment` request property's maxLength was set to `100000`
  - added the new `awaiting_invoice` enum value to the `allOf[subschema #2]/latest_occurrence/allOf[subschema #1]/auto_integrate_repair_order_status` response property for the response status `200`
  - …6 more
- **2026-02-13** `1172c0b6ab85`: 1 info
  - added the optional property `allOf[subschema #2]/latest_occurrence/allOf[subschema #1]/service_entry_line_items/items/service_entry_id` to the response with the `200` status
- …earlier changes not shown

[Operation history](https://skmtc.dev/fleetio/apis/fleetio-developer-api/changes/service_reminders/:id/patch.md)

---

[API](https://skmtc.dev/fleetio/apis/fleetio-developer-api.md) - [All operations](https://skmtc.dev/fleetio/apis/fleetio-developer-api/llms.txt) - [OpenAPI document](https://skmtc.dev/fleetio/apis/fleetio-developer-api/revisions/49558d744bd7?raw)
