Create Service Reminder
POSThttps://secure.fleetio.com/api/v1/service_reminders
Creates a new Service Reminder
Request
- application/json
Body
Possible values: >= 1
The meter interval of which this Service Reminder should occur.
The secondary meter interval of which this Service Reminder should occur.
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
.
false
The number of time units according to time_frequency
between each occurrence
of the Service Reminder.
Possible values: [days
, weeks
, months
, years
]
Indicates whether the Service Reminder is overridden.
The meter value at which the Service Reminder is next due, if applicable.
The secondary meter value at which the Service Reminder is next due, if applicable.
We recommend using ISO-8601 formatted dates to avoid ambiguity.
2023-03-14T13:46:27-06:00
The meter value threshold to which this Service Reminder will be due soon.
The secondary meter value threshold to which this Service Reminder will be due soon.
Indicates whether the Service Reminder is currently active.
The number of time units according to due_soon_time_threshold_frequency
between due_soon_at
occurrences.
Possible values: [days
, weeks
, months
, years
]
Possible values: >= 1
Indicates whether the Service Reminder has a starting interval.
The starting meter interval for this Service Reminder.
The starting secondary meter interval for this Service Reminder.
The starting time interval according to starting_time_frequency
for time-based Service Reminders, if applicable.
Possible values: [days
, weeks
, months
, years
]
The date and time until which the Service Reminder will be snoozed. We recommend using ISO-8601 formatted dates to avoid ambiguity.
2023-03-14T13:46:27-06:00
The IDs of any Users
associated with the Service Reminder.
Possible values: >= 1
The IDs of any Users
to watch the Service Reminder.
Possible values: >= 1
comments_attributes object[]
Responses
- 201
- 401
- 403
- 422
- 500
OK
Response Headers
- application/json
- Schema
- Example (auto)
Schema
Possible values: >= 1
The date and time at which this record was created.
2023-03-14T13:46:27-06:00
The date and time at which this record was most recently updated.
2023-03-14T13:46:27-06:00
Indicates whether the Service Reminder is currently active.
Possible values: >= 1
Possible values: >= 1
The name of the Service Task
associated with the Service Reminder, if applicable.
The number of time units according to time_frequency
between each occurrence
of the Service Reminder.
Possible values: [day
, week
, month
, year
, days
, weeks
, months
, years
]
The date and time when the Service Reminder is next due.
Formatted according to ISO-8601 in User
's local time.
2023-03-14T13:46:27-06:00
The date and time when the Service Reminder will be considered due soon.
Formatted according to ISO-8601 in User
's local time.
2023-03-14T13:46:27-06:00
The number of time units according to due_soon_time_threshold_frequency
between due_soon_at
occurrences.
Possible values: [day
, week
, month
, year
, days
, weeks
, months
, years
]
The date and time at which the vehicle associated with the Service Reminder was archived, if applicable.
2023-03-14T13:46:27-06:00
The forecasted date and time for the next due service.
2023-03-14T13:46:27-06:00
The forecasted date and time for the Service Reminder to be due soon.
2023-03-14T13:46:27-06:00
The number of Comments
on the Service Reminder.
Indicates whether the Service Reminder has a starting interval.
The starting meter interval for this Service Reminder.
The starting secondary meter interval for this Service Reminder.
The starting time interval according to starting_time_frequency
for time-based Service Reminders, if applicable.
Possible values: [day
, week
, month
, year
, days
, weeks
, months
, years
]
The date and time until which the Service Reminder is snoozed.
2023-03-14T13:46:27-06:00
The name of the Service Reminder status, if applicable.
Indicates whether the Service Reminder is associated with a secondary meter.
The meter interval of which this Service Reminder takes place.
The meter value at which the Service Reminder is next due, if applicable.
The meter value at which the Service Reminder is due soon, if applicable.
The meter value threshold to which this Service Reminder will be due soon.
2023-03-14T13:46:27-06:00
The remaining meter units until the Service Reminder is due.
The remaining secondary meter interval until the Service Reminder is due.
The forecasted date and time for the primary Service Reminder to be due soon.
2023-03-14T13:46:27-06:00
The forecasted date and time for the next primary due Service Reminder.
2023-03-14T13:46:27-06:00
The forecasted date and time for the secondary Service Reminder to be due soon.
2023-03-14T13:46:27-06:00
The forecasted date and time for the next secondary due Service Reminder.
2023-03-14T13:46:27-06:00
users object[]required
The name of the Vehicle
associated with the Service Reminder.
The default image URL for the associated vehicle, if available.
attachment_permissions objectnullable
latest_occurrence objectnullablerequired
service_program_line_item objectnullablerequired
comments object[]required
The count of watchers associated with the record.
Indicates whether the record is being watched.
{
"id": 0,
"created_at": "2023-03-14T13:46:27-06:00",
"updated_at": "2023-03-14T13:46:27-06:00",
"active": true,
"vehicle_id": 0,
"service_task_id": 0,
"service_task_name": "string",
"time_interval": 0,
"time_frequency": "day",
"next_due_at": "2023-03-14T13:46:27-06:00",
"due_soon_at": "2023-03-14T13:46:27-06:00",
"due_soon_time_threshold_interval": 0,
"due_soon_time_threshold_frequency": "day",
"vehicle_archived_at": "2023-03-14T13:46:27-06:00",
"forecasted_next_due_at": "2023-03-14T13:46:27-06:00",
"forecasted_due_soon_at": "2023-03-14T13:46:27-06:00",
"comments_count": 0,
"starting_interval": true,
"starting_meter_interval": "string",
"starting_secondary_meter_interval": "string",
"starting_time_interval": 0,
"starting_time_frequency": "day",
"snooze_until": "2023-03-14T13:46:27-06:00",
"service_reminder_status_name": "string",
"secondary_meter": true,
"meter_interval": "string",
"next_due_meter_value": "string",
"due_soon_meter_value": "string",
"due_soon_meter_threshold": "2023-03-14T13:46:27-06:00",
"meter_remaining_until_due": 0,
"secondary_meter_remaining_until_due": 0,
"forecasted_primary_due_soon_at": "2023-03-14T13:46:27-06:00",
"forecasted_primary_next_due_at": "2023-03-14T13:46:27-06:00",
"forecasted_secondary_due_soon_at": "2023-03-14T13:46:27-06:00",
"forecasted_secondary_next_due_at": "2023-03-14T13:46:27-06:00",
"users": [
{
"id": 0,
"name": "string"
}
],
"vehicle_name": "string",
"vehicle_default_image_url": "string",
"attachment_permissions": {
"read_photos": true,
"manage_photos": true,
"read_documents": true,
"manage_documents": true
},
"latest_occurrence": {
"id": 0,
"created_at": "2024-07-29T15:51:28.071Z",
"updated_at": "2024-07-29T15:51:28.071Z",
"tax_free_labor": true,
"completed_at": "2023-03-14T13:46:27-06:00",
"reference": "string",
"started_at": "2023-03-14T13:46:27-06:00",
"status": "pending",
"custom_fields": {},
"general_notes": "string",
"vehicle_id": 0,
"vehicle_name": "string",
"vendor_id": 0,
"vendor_name": "string",
"work_order_id": 0,
"attachment_permissions": {
"read_photos": true,
"manage_photos": true,
"read_documents": true,
"manage_documents": true
},
"is_sample": true,
"work_order_number": 0,
"date": "2023-03-14T13:46:27-06:00",
"service_entry_line_items": [
{
"id": 0,
"created_at": "2023-03-14T13:46:27-06:00",
"updated_at": "2023-03-14T13:46:27-06:00",
"description": "string",
"type": "ServiceEntryServiceTaskLineItem",
"service_entry_line_item_id": 0,
"service_reminder_id": 0,
"service_task": {
"id": 0,
"created_at": "2023-03-14T13:46:27-06:00",
"updated_at": "2023-03-14T13:46:27-06:00",
"name": "string",
"description": "string",
"expected_duration_in_seconds": 0,
"archived_at": "2024-07-29T15:51:28.071Z",
"subtasks": [
{
"id": 0,
"created_at": "2023-03-14T13:46:27-06:00",
"updated_at": "2023-03-14T13:46:27-06:00",
"name": "string",
"description": "string",
"expected_duration_in_seconds": 0,
"subtasks": [
null
],
"default_vmrs_reason_for_repair": {
"account_id": 0,
"alias": "string",
"code": "string",
"enabled": true,
"id": 0,
"name": "string",
"repair_type": "string",
"standard": true,
"standard_name": "string",
"type": "string",
"vmrs_standard_reason_for_repair": {}
},
"default_vmrs_system_group": {
"account_id": 0,
"assembly_code": "string",
"assembly_name": "string",
"code_type": "system_group",
"component_code": "string",
"component_name": "string",
"enabled": true,
"id": 0,
"permissions": {
"destroy": true
},
"standard": true,
"system_code": "string",
"system_group": "string",
"system_group_code": "string",
"system_name": "string",
"type": "string",
"vmrs_standard_system_assembly_component": {}
},
"default_vmrs_system": {
"account_id": 0,
"assembly_code": "string",
"assembly_name": "string",
"code_type": "system_group",
"component_code": "string",
"component_name": "string",
"enabled": true,
"id": 0,
"permissions": {
"destroy": true
},
"standard": true,
"system_code": "string",
"system_group": "string",
"system_group_code": "string",
"system_name": "string",
"type": "string",
"vmrs_standard_system_assembly_component": {}
},
"default_vmrs_assembly": {
"account_id": 0,
"assembly_code": "string",
"assembly_name": "string",
"code_type": "system_group",
"component_code": "string",
"component_name": "string",
"enabled": true,
"id": 0,
"permissions": {
"destroy": true
},
"standard": true,
"system_code": "string",
"system_group": "string",
"system_group_code": "string",
"system_name": "string",
"type": "string",
"vmrs_standard_system_assembly_component": {}
},
"default_vmrs_component": {
"account_id": 0,
"assembly_code": "string",
"assembly_name": "string",
"code_type": "system_group",
"component_code": "string",
"component_name": "string",
"enabled": true,
"id": 0,
"permissions": {
"destroy": true
},
"standard": true,
"system_code": "string",
"system_group": "string",
"system_group_code": "string",
"system_name": "string",
"type": "string",
"vmrs_standard_system_assembly_component": {}
}
}
],
"usage": 0,
"default_vmrs_reason_for_repair": {
"account_id": 0,
"alias": "string",
"code": "string",
"enabled": true,
"id": 0,
"name": "string",
"repair_type": "string",
"standard": true,
"standard_name": "string",
"type": "string",
"vmrs_standard_reason_for_repair": {}
},
"default_vmrs_system_group": {
"account_id": 0,
"assembly_code": "string",
"assembly_name": "string",
"code_type": "system_group",
"component_code": "string",
"component_name": "string",
"enabled": true,
"id": 0,
"permissions": {
"destroy": true
},
"standard": true,
"system_code": "string",
"system_group": "string",
"system_group_code": "string",
"system_name": "string",
"type": "string",
"vmrs_standard_system_assembly_component": {}
},
"default_vmrs_system": {
"account_id": 0,
"assembly_code": "string",
"assembly_name": "string",
"code_type": "system_group",
"component_code": "string",
"component_name": "string",
"enabled": true,
"id": 0,
"permissions": {
"destroy": true
},
"standard": true,
"system_code": "string",
"system_group": "string",
"system_group_code": "string",
"system_name": "string",
"type": "string",
"vmrs_standard_system_assembly_component": {}
},
"default_vmrs_assembly": {
"account_id": 0,
"assembly_code": "string",
"assembly_name": "string",
"code_type": "system_group",
"component_code": "string",
"component_name": "string",
"enabled": true,
"id": 0,
"permissions": {
"destroy": true
},
"standard": true,
"system_code": "string",
"system_group": "string",
"system_group_code": "string",
"system_name": "string",
"type": "string",
"vmrs_standard_system_assembly_component": {}
},
"default_vmrs_component": {
"account_id": 0,
"assembly_code": "string",
"assembly_name": "string",
"code_type": "system_group",
"component_code": "string",
"component_name": "string",
"enabled": true,
"id": 0,
"permissions": {
"destroy": true
},
"standard": true,
"system_code": "string",
"system_group": "string",
"system_group_code": "string",
"system_name": "string",
"type": "string",
"vmrs_standard_system_assembly_component": {}
},
"service_task_parts": [
{
"id": 0,
"quantity": 0,
"part_id": 0,
"part_archived_at": "2024-07-29T15:51:28.071Z",
"position": 0
}
]
},
"issues": [
{
"id": 0,
"created_at": "2023-03-14T13:46:27-06:00",
"updated_at": "2023-03-14T13:46:27-06:00",
"number": "string",
"name": "string",
"summary": "string",
"description": "string",
"state": "Open",
"reported_at": "2023-03-14T13:46:27-06:00",
"reported_by_id": 0,
"reported_by_name": "string",
"fault_id": 0,
"due_date": "2023-03-14",
"due_meter_value": "string",
"due_secondary_meter_value": 0,
"overdue": true,
"vehicle_id": 0,
"vehicle_name": "string",
"is_sample": true,
"created_by_workflow": true,
"submitted_inspection_form_id": 0,
"custom_fields": {},
"valid_required_custom_fields": true,
"dtc_alert_id": 0,
"assigned_contacts": [
{
"id": 0,
"created_at": "2024-07-29T15:51:28.071Z",
"updated_at": "2024-07-29T15:51:28.071Z",
"email": "string",
"name": "string",
"first_name": "string",
"middle_name": "string",
"last_name": "string",
"images_count": 0,
"documents_count": 0,
"comments_count": 0,
"group_id": 0,
"group_name": "string",
"group_hierarchy": "Group 1|Group 2|Group 3",
"technician": true,
"vehicle_operator": true,
"employee": true,
"birth_date": "2023-03-14",
"street_address": "123 Main St",
"street_address_line_2": "Apt 1",
"city": "string",
"region": "string",
"postal_code": "string",
"country": "string",
"employee_number": "string",
"job_title": "string",
"license_class": "string",
"license_number": "string",
"license_state": "string",
"license_expiration": "2023-03-14",
"home_phone_number": "string",
"mobile_phone_number": "string",
"work_phone_number": "string",
"other_phone_number": "string",
"start_date": "2024-07-29",
"leave_date": "2024-07-29",
"hourly_labor_rate": 0,
"custom_fields": {},
"attachment_permissions": {
"read_photos": true,
"manage_photos": true,
"read_documents": true,
"manage_documents": true
},
"default_image_url": "string",
"user": {},
"account_membership_id": 0,
"last_api_request": "2024-07-29T15:51:28.071Z",
"last_web_access": "2024-07-29T15:51:28.071Z",
"last_mobile_app_access": "2024-07-29T15:51:28.071Z"
}
],
"labels": [
{
"id": 0,
"name": "string"
}
],
"attachment_permissions": {
"read_photos": true,
"manage_photos": true,
"read_documents": true,
"manage_documents": true
},
"is_watched": false,
"vehicle_image_url": "string",
"vehicle_image_url_medium": "string",
"vehicle_image_url_small": "string",
"vehicle_image_url_large": "string",
"watchers_count": 0,
"linked_work_orders": [
{
"id": 0,
"number": 0,
"issued_at": "2024-07-29T15:51:28.071Z"
}
],
"source": {
"inspection_form": {
"id": 0,
"color": "string",
"title": "string"
},
"inspection_submissions_count": 0,
"last_inspection_submission_at": "2024-07-29T15:51:28.071Z",
"failed_inspection_item_label": "string"
},
"comments": [
{
"id": 0,
"created_at": "2023-03-14T13:46:27-06:00",
"updated_at": "2023-03-14T13:46:27-06:00",
"commentable_type": "Contact",
"commentable_id": 0,
"user_id": 0,
"comment": "string",
"user_full_name": "string",
"user_image_url": "string",
"rich_content": {},
"html_content": "string",
"with_mentions": true
}
],
"comments_count": 0,
"documents": [
{
"id": 0,
"created_at": "2023-03-14T13:46:27-06:00",
"updated_at": "2023-03-14T13:46:27-06:00",
"name": "string",
"description": "string",
"documentable_id": 0,
"documentable_type": "ServiceEntry",
"file_name": "string",
"file_mime_type": "string",
"file_size": 0,
"file_url": "string",
"full_file_url": "string"
}
],
"documents_count": 0,
"images": [
{
"id": 0,
"created_at": "2023-03-14T13:46:27-06:00",
"updated_at": "2023-03-14T13:46:27-06:00",
"imageable_id": 0,
"imageable_type": "ExpenseEntry",
"file_name": "string",
"file_mime_type": "image/jpeg",
"file_size": 0,
"file_url": "string",
"full_url": "string"
}
],
"images_count": 0
}
],
"labor_cost": 0,
"parts_cost": 0,
"subtotal": 0,
"vmrs_reason_for_repair": {
"account_id": 0,
"alias": "string",
"code": "string",
"enabled": true,
"id": 0,
"name": "string",
"repair_type": "string",
"standard": true,
"standard_name": "string",
"type": "string",
"vmrs_standard_reason_for_repair": {}
},
"vmrs_system_group": {
"account_id": 0,
"assembly_code": "string",
"assembly_name": "string",
"code_type": "system_group",
"component_code": "string",
"component_name": "string",
"enabled": true,
"id": 0,
"permissions": {
"destroy": true
},
"standard": true,
"system_code": "string",
"system_group": "string",
"system_group_code": "string",
"system_name": "string",
"type": "string",
"vmrs_standard_system_assembly_component": {}
},
"vmrs_system": {
"account_id": 0,
"assembly_code": "string",
"assembly_name": "string",
"code_type": "system_group",
"component_code": "string",
"component_name": "string",
"enabled": true,
"id": 0,
"permissions": {
"destroy": true
},
"standard": true,
"system_code": "string",
"system_group": "string",
"system_group_code": "string",
"system_name": "string",
"type": "string",
"vmrs_standard_system_assembly_component": {}
},
"vmrs_assembly": {
"account_id": 0,
"assembly_code": "string",
"assembly_name": "string",
"code_type": "system_group",
"component_code": "string",
"component_name": "string",
"enabled": true,
"id": 0,
"permissions": {
"destroy": true
},
"standard": true,
"system_code": "string",
"system_group": "string",
"system_group_code": "string",
"system_name": "string",
"type": "string",
"vmrs_standard_system_assembly_component": {}
},
"vmrs_component": {
"account_id": 0,
"assembly_code": "string",
"assembly_name": "string",
"code_type": "system_group",
"component_code": "string",
"component_name": "string",
"enabled": true,
"id": 0,
"permissions": {
"destroy": true
},
"standard": true,
"system_code": "string",
"system_group": "string",
"system_group_code": "string",
"system_name": "string",
"type": "string",
"vmrs_standard_system_assembly_component": {}
}
}
],
"service_tasks": [
{
"id": 0,
"created_at": "2023-03-14T13:46:27-06:00",
"updated_at": "2023-03-14T13:46:27-06:00",
"name": "string",
"description": "string",
"expected_duration_in_seconds": 0,
"archived_at": "2024-07-29T15:51:28.071Z",
"subtasks": [
{
"id": 0,
"created_at": "2023-03-14T13:46:27-06:00",
"updated_at": "2023-03-14T13:46:27-06:00",
"name": "string",
"description": "string",
"expected_duration_in_seconds": 0,
"subtasks": [
null
],
"default_vmrs_reason_for_repair": {
"account_id": 0,
"alias": "string",
"code": "string",
"enabled": true,
"id": 0,
"name": "string",
"repair_type": "string",
"standard": true,
"standard_name": "string",
"type": "string",
"vmrs_standard_reason_for_repair": {}
},
"default_vmrs_system_group": {
"account_id": 0,
"assembly_code": "string",
"assembly_name": "string",
"code_type": "system_group",
"component_code": "string",
"component_name": "string",
"enabled": true,
"id": 0,
"permissions": {
"destroy": true
},
"standard": true,
"system_code": "string",
"system_group": "string",
"system_group_code": "string",
"system_name": "string",
"type": "string",
"vmrs_standard_system_assembly_component": {}
},
"default_vmrs_system": {
"account_id": 0,
"assembly_code": "string",
"assembly_name": "string",
"code_type": "system_group",
"component_code": "string",
"component_name": "string",
"enabled": true,
"id": 0,
"permissions": {
"destroy": true
},
"standard": true,
"system_code": "string",
"system_group": "string",
"system_group_code": "string",
"system_name": "string",
"type": "string",
"vmrs_standard_system_assembly_component": {}
},
"default_vmrs_assembly": {
"account_id": 0,
"assembly_code": "string",
"assembly_name": "string",
"code_type": "system_group",
"component_code": "string",
"component_name": "string",
"enabled": true,
"id": 0,
"permissions": {
"destroy": true
},
"standard": true,
"system_code": "string",
"system_group": "string",
"system_group_code": "string",
"system_name": "string",
"type": "string",
"vmrs_standard_system_assembly_component": {}
},
"default_vmrs_component": {
"account_id": 0,
"assembly_code": "string",
"assembly_name": "string",
"code_type": "system_group",
"component_code": "string",
"component_name": "string",
"enabled": true,
"id": 0,
"permissions": {
"destroy": true
},
"standard": true,
"system_code": "string",
"system_group": "string",
"system_group_code": "string",
"system_name": "string",
"type": "string",
"vmrs_standard_system_assembly_component": {}
}
}
],
"usage": 0,
"default_vmrs_reason_for_repair": {
"account_id": 0,
"alias": "string",
"code": "string",
"enabled": true,
"id": 0,
"name": "string",
"repair_type": "string",
"standard": true,
"standard_name": "string",
"type": "string",
"vmrs_standard_reason_for_repair": {}
},
"default_vmrs_system_group": {
"account_id": 0,
"assembly_code": "string",
"assembly_name": "string",
"code_type": "system_group",
"component_code": "string",
"component_name": "string",
"enabled": true,
"id": 0,
"permissions": {
"destroy": true
},
"standard": true,
"system_code": "string",
"system_group": "string",
"system_group_code": "string",
"system_name": "string",
"type": "string",
"vmrs_standard_system_assembly_component": {}
},
"default_vmrs_system": {
"account_id": 0,
"assembly_code": "string",
"assembly_name": "string",
"code_type": "system_group",
"component_code": "string",
"component_name": "string",
"enabled": true,
"id": 0,
"permissions": {
"destroy": true
},
"standard": true,
"system_code": "string",
"system_group": "string",
"system_group_code": "string",
"system_name": "string",
"type": "string",
"vmrs_standard_system_assembly_component": {}
},
"default_vmrs_assembly": {
"account_id": 0,
"assembly_code": "string",
"assembly_name": "string",
"code_type": "system_group",
"component_code": "string",
"component_name": "string",
"enabled": true,
"id": 0,
"permissions": {
"destroy": true
},
"standard": true,
"system_code": "string",
"system_group": "string",
"system_group_code": "string",
"system_name": "string",
"type": "string",
"vmrs_standard_system_assembly_component": {}
},
"default_vmrs_component": {
"account_id": 0,
"assembly_code": "string",
"assembly_name": "string",
"code_type": "system_group",
"component_code": "string",
"component_name": "string",
"enabled": true,
"id": 0,
"permissions": {
"destroy": true
},
"standard": true,
"system_code": "string",
"system_group": "string",
"system_group_code": "string",
"system_name": "string",
"type": "string",
"vmrs_standard_system_assembly_component": {}
},
"service_task_parts": [
{
"id": 0,
"quantity": 0,
"part_id": 0,
"part_archived_at": "2024-07-29T15:51:28.071Z",
"position": 0
}
]
}
],
"issues": [
{
"id": 0,
"created_at": "2023-03-14T13:46:27-06:00",
"updated_at": "2023-03-14T13:46:27-06:00",
"number": "string",
"name": "string",
"summary": "string",
"description": "string",
"state": "Open",
"reported_at": "2023-03-14T13:46:27-06:00",
"reported_by_id": 0,
"reported_by_name": "string",
"fault_id": 0,
"due_date": "2023-03-14",
"due_meter_value": "string",
"due_secondary_meter_value": 0,
"overdue": true,
"vehicle_id": 0,
"vehicle_name": "string",
"is_sample": true,
"created_by_workflow": true,
"submitted_inspection_form_id": 0,
"custom_fields": {},
"valid_required_custom_fields": true,
"dtc_alert_id": 0,
"assigned_contacts": [
{
"id": 0,
"created_at": "2024-07-29T15:51:28.071Z",
"updated_at": "2024-07-29T15:51:28.071Z",
"email": "string",
"name": "string",
"first_name": "string",
"middle_name": "string",
"last_name": "string",
"images_count": 0,
"documents_count": 0,
"comments_count": 0,
"group_id": 0,
"group_name": "string",
"group_hierarchy": "Group 1|Group 2|Group 3",
"technician": true,
"vehicle_operator": true,
"employee": true,
"birth_date": "2023-03-14",
"street_address": "123 Main St",
"street_address_line_2": "Apt 1",
"city": "string",
"region": "string",
"postal_code": "string",
"country": "string",
"employee_number": "string",
"job_title": "string",
"license_class": "string",
"license_number": "string",
"license_state": "string",
"license_expiration": "2023-03-14",
"home_phone_number": "string",
"mobile_phone_number": "string",
"work_phone_number": "string",
"other_phone_number": "string",
"start_date": "2024-07-29",
"leave_date": "2024-07-29",
"hourly_labor_rate": 0,
"custom_fields": {},
"attachment_permissions": {
"read_photos": true,
"manage_photos": true,
"read_documents": true,
"manage_documents": true
},
"default_image_url": "string",
"user": {},
"account_membership_id": 0,
"last_api_request": "2024-07-29T15:51:28.071Z",
"last_web_access": "2024-07-29T15:51:28.071Z",
"last_mobile_app_access": "2024-07-29T15:51:28.071Z"
}
],
"labels": [
{
"id": 0,
"name": "string"
}
],
"attachment_permissions": {
"read_photos": true,
"manage_photos": true,
"read_documents": true,
"manage_documents": true
},
"is_watched": false,
"vehicle_image_url": "string",
"vehicle_image_url_medium": "string",
"vehicle_image_url_small": "string",
"vehicle_image_url_large": "string",
"watchers_count": 0,
"linked_work_orders": [
{
"id": 0,
"number": 0,
"issued_at": "2024-07-29T15:51:28.071Z"
}
],
"source": {
"inspection_form": {
"id": 0,
"color": "string",
"title": "string"
},
"inspection_submissions_count": 0,
"last_inspection_submission_at": "2024-07-29T15:51:28.071Z",
"failed_inspection_item_label": "string"
},
"comments": [
{
"id": 0,
"created_at": "2023-03-14T13:46:27-06:00",
"updated_at": "2023-03-14T13:46:27-06:00",
"commentable_type": "Contact",
"commentable_id": 0,
"user_id": 0,
"comment": "string",
"user_full_name": "string",
"user_image_url": "string",
"rich_content": {},
"html_content": "string",
"with_mentions": true
}
],
"comments_count": 0,
"documents": [
{
"id": 0,
"created_at": "2023-03-14T13:46:27-06:00",
"updated_at": "2023-03-14T13:46:27-06:00",
"name": "string",
"description": "string",
"documentable_id": 0,
"documentable_type": "ServiceEntry",
"file_name": "string",
"file_mime_type": "string",
"file_size": 0,
"file_url": "string",
"full_file_url": "string"
}
],
"documents_count": 0,
"images": [
{
"id": 0,
"created_at": "2023-03-14T13:46:27-06:00",
"updated_at": "2023-03-14T13:46:27-06:00",
"imageable_id": 0,
"imageable_type": "ExpenseEntry",
"file_name": "string",
"file_mime_type": "image/jpeg",
"file_size": 0,
"file_url": "string",
"full_url": "string"
}
],
"images_count": 0
}
],
"meter_entry": {
"id": 0,
"created_at": "2024-07-29T15:51:28.071Z",
"updated_at": "2024-07-29T15:51:28.071Z",
"auto_voided_at": "2023-03-14T13:46:27-06:00",
"category": "starting",
"meter_type": "secondary",
"meterable_id": 0,
"meterable_type": "FuelEntry",
"value": "string",
"vehicle_id": 0,
"void": false,
"type": "GpsMeterEntry",
"date": "2023-03-14"
},
"secondary_meter_entry": {
"id": 0,
"created_at": "2024-07-29T15:51:28.071Z",
"updated_at": "2024-07-29T15:51:28.071Z",
"auto_voided_at": "2023-03-14T13:46:27-06:00",
"category": "starting",
"meter_type": "secondary",
"meterable_id": 0,
"meterable_type": "FuelEntry",
"value": "string",
"vehicle_id": 0,
"void": false,
"type": "GpsMeterEntry",
"date": "2023-03-14"
},
"vmrs_repair_priority_class": {
"id": 0,
"code": "string",
"name": "string",
"color": "string"
},
"labels": [
{
"id": 0,
"name": "string"
}
],
"auto_integrate_ro_id": 0,
"auto_integrate_ro_link": "string",
"auto_integrate_repair_order_status": "approved",
"auto_integrate_repair_order_status_color": "string",
"invoice": {
"id": 0,
"created_at": "2024-07-29T15:51:28.071Z",
"po_number": "string",
"updated_at": "2024-07-29T15:51:28.071Z"
},
"discount": 0,
"discount_type": "percentage",
"discount_percentage": 0,
"fees": 0,
"subtotal": 0,
"parts_subtotal": 0,
"labor_subtotal": 0,
"tax_1": 0,
"tax_1_percentage": 0,
"tax_1_type": "string",
"tax_2": 0,
"tax_2_percentage": 0,
"tax_2_type": "string",
"parts_markup_type": "fixed",
"parts_markup": 1.23,
"parts_markup_percentage": 1.23,
"labor_markup_type": "fixed",
"labor_markup": 1.23,
"labor_markup_percentage": 1.23,
"total_amount": 0,
"comments": [
{
"id": 0,
"created_at": "2023-03-14T13:46:27-06:00",
"updated_at": "2023-03-14T13:46:27-06:00",
"commentable_type": "Contact",
"commentable_id": 0,
"user_id": 0,
"comment": "string",
"user_full_name": "string",
"user_image_url": "string",
"rich_content": {},
"html_content": "string",
"with_mentions": true
}
],
"comments_count": 0,
"labor_time_in_seconds": 0,
"documents": [
{
"id": 0,
"created_at": "2023-03-14T13:46:27-06:00",
"updated_at": "2023-03-14T13:46:27-06:00",
"name": "string",
"description": "string",
"documentable_id": 0,
"documentable_type": "ServiceEntry",
"file_name": "string",
"file_mime_type": "string",
"file_size": 0,
"file_url": "string",
"full_file_url": "string"
}
],
"documents_count": 0,
"images": [
{
"id": 0,
"created_at": "2023-03-14T13:46:27-06:00",
"updated_at": "2023-03-14T13:46:27-06:00",
"imageable_id": 0,
"imageable_type": "ExpenseEntry",
"file_name": "string",
"file_mime_type": "image/jpeg",
"file_size": 0,
"file_url": "string",
"full_url": "string"
}
],
"images_count": 0
},
"service_program_line_item": {
"id": 0,
"created_at": "2024-07-29T15:51:28.071Z",
"updated_at": "2024-07-29T15:51:28.071Z",
"time_interval": 0,
"time_frequency": "day",
"meter_interval": 0,
"secondary_meter_interval": 0,
"due_soon_time_threshold_interval": 0,
"due_soon_time_threshold_frequency": "day",
"due_soon_meter_threshold": 0,
"due_soon_secondary_meter_threshold": 0,
"service_tasks": [
{
"id": 0,
"created_at": "2023-03-14T13:46:27-06:00",
"updated_at": "2023-03-14T13:46:27-06:00",
"name": "string",
"description": "string",
"expected_duration_in_seconds": 0,
"subtasks": [
null
],
"default_vmrs_reason_for_repair": {
"id": 0,
"code": "string",
"name": "string",
"repair_type": "string",
"enabled": true
},
"default_vmrs_system_group": {
"id": 0,
"system_group_code": "string",
"system_group_name": "string",
"system_code": "string",
"system_name": "string",
"assembly_code": "string",
"assembly_name": "string",
"component_code": "string",
"component_name": "string",
"enabled": true
},
"default_vmrs_system": {
"id": 0,
"system_group_code": "string",
"system_group_name": "string",
"system_code": "string",
"system_name": "string",
"assembly_code": "string",
"assembly_name": "string",
"component_code": "string",
"component_name": "string",
"enabled": true
},
"default_vmrs_assembly": {
"id": 0,
"system_group_code": "string",
"system_group_name": "string",
"system_code": "string",
"system_name": "string",
"assembly_code": "string",
"assembly_name": "string",
"component_code": "string",
"component_name": "string",
"enabled": true
},
"default_vmrs_component": {
"id": 0,
"system_group_code": "string",
"system_group_name": "string",
"system_code": "string",
"system_name": "string",
"assembly_code": "string",
"assembly_name": "string",
"component_code": "string",
"component_name": "string"
}
}
],
"service_program": {
"id": 0,
"created_at": "2023-03-14T13:46:27-06:00",
"updated_at": "2023-03-14T13:46:27-06:00"
}
},
"comments": [
{
"id": 0,
"created_at": "2023-03-14T13:46:27-06:00",
"updated_at": "2023-03-14T13:46:27-06:00",
"commentable_type": "Contact",
"commentable_id": 0,
"user_id": 0,
"comment": "string",
"user_full_name": "string",
"user_image_url": "string",
"rich_content": {},
"html_content": "string",
"with_mentions": true
}
],
"watchers_count": 0,
"is_watched": true
}
Request could not be authenticated
- application/json
- Schema
- Example (auto)
Schema
Possible values: >= 400
and <= 599
A short, human-readable summary of the problem type. It SHOULD NOT change from occurrence to occurrence of the problem, except for purposes of localization.
A human-readable explanation specific to this occurrence of the problem.
A URI reference that identifies the specific occurrence of the problem. It may or may not yield further information if dereferenced.
{
"status": 0,
"title": "string",
"detail": "string",
"instance": "string"
}
Insufficient permission to perform this operation
- application/json
- Schema
- Example (auto)
Schema
Possible values: >= 400
and <= 599
A short, human-readable summary of the problem type. It SHOULD NOT change from occurrence to occurrence of the problem, except for purposes of localization.
A human-readable explanation specific to this occurrence of the problem.
A URI reference that identifies the specific occurrence of the problem. It may or may not yield further information if dereferenced.
{
"status": 0,
"title": "string",
"detail": "string",
"instance": "string"
}
Unprocessable Entity
- application/json
- Schema
- Example (auto)
- Example
Schema
errors object
{
"errors": {}
}
{
"errors": {
"field1": [
"error1",
"error2"
],
"field2": [
"error3"
]
}
}
Something unexpected happened
- application/json
- Schema
- Example (auto)
Schema
Possible values: >= 400
and <= 599
A short, human-readable summary of the problem type. It SHOULD NOT change from occurrence to occurrence of the problem, except for purposes of localization.
A human-readable explanation specific to this occurrence of the problem.
A URI reference that identifies the specific occurrence of the problem. It may or may not yield further information if dereferenced.
{
"status": 0,
"title": "string",
"detail": "string",
"instance": "string"
}
Authorization: Authorization
name: Authorizationtype: apiKeyin: headerdescription: Prefix the value with "Token", for example: "Token 76cbe06c49a64". You can generate a new API key [here](https://secure.fleetio.com/api_keys).
name: Account-Tokentype: apiKeyin: headerdescription: You can find your Account-Token [here](https://secure.fleetio.com/api_keys)
- curl
- ruby
- python
- csharp
- go
- java
- nodejs
- php
- CURL
curl -L 'https://secure.fleetio.com/api/v1/service_reminders' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authorization: Token <Authorization>' \
-H 'Account-Token: <Authorization>' \
-d '{
"service_task_id": 0,
"meter_interval": 0,
"secondary_meter_interval": 0,
"secondary_meter": false,
"time_interval": 0,
"time_frequency": "days",
"overridden": true,
"next_due_meter_value": 0,
"next_due_secondary_meter_value": 0,
"next_due_at": "2023-03-14T13:46:27-06:00",
"due_soon_meter_threshold": 0,
"due_soon_secondary_meter_threshold": 0,
"active": true,
"due_soon_time_threshold_interval": 0,
"due_soon_time_threshold_frequency": "days",
"vehicle_id": 0,
"starting_interval": true,
"starting_meter_interval": 0,
"starting_secondary_meter_interval": 0,
"starting_time_interval": 0,
"starting_time_frequency": "days",
"snooze_until": "2023-03-14T13:46:27-06:00",
"user_ids": [
0
],
"watcher_user_ids": [
0
],
"comments_attributes": [
{
"title": "string",
"comment": "string"
}
]
}'