Automileab Resource Owner Hours Of Service Violations API
The ResourceOwnerHoursOfServiceViolations API from Automileab — 1 operation(s) for resourceownerhoursofserviceviolations.
The ResourceOwnerHoursOfServiceViolations API from Automileab — 1 operation(s) for resourceownerhoursofserviceviolations.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/automileab:automileab-resourceownerhoursofserviceviolations-api"
curl "https://apis.io/api/v1/apis?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: Automile Resource Owner Hours Of Service Violations API
version: v1
tags:
- name: ResourceOwnerHoursOfServiceViolations
paths:
/v1/resourceowner/hoursofserviceviolations:
get:
tags:
- ResourceOwnerHoursOfServiceViolations
summary: Get the Hours of Service Violations
operationId: HoursOfServiceGetViolations
parameters:
- in: query
name: fromDate
description: Query on from date
schema:
type: string
format: date-time
- in: query
name: toDate
description: Query on to date
schema:
type: string
format: date-time
- in: query
name: hourOfServiceViolationId
description: Query on to id
schema:
type: integer
format: int32
- in: query
name: contactId
description: Get statuses for a contact
schema:
type: integer
format: int32
- in: query
name: vehicleId
description: Get statuses for a vehicle
schema:
type: integer
format: int32
- in: query
name: notes
description: Query on notes
schema:
type: string
responses:
'200':
description: The settings is returned, null if no settings exist
content:
text/plain:
schema:
type: array
items:
$ref: '#/components/schemas/HoursOfServiceDutyStatusModel'
application/json:
schema:
type: array
items:
$ref: '#/components/schemas/HoursOfServiceDutyStatusModel'
text/json:
schema:
type: array
items:
$ref: '#/components/schemas/HoursOfServiceDutyStatusModel'
security:
- oauth2: []
post:
tags:
- ResourceOwnerHoursOfServiceViolations
summary: Creates Hours Of Service Violation
operationId: HoursOfSerivceCreateViolation
responses:
'200':
description: A link in the header is returned to the newly resource
security:
- oauth2: []
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/HoursOfServiceViolationCreateModel'
text/json:
schema:
$ref: '#/components/schemas/HoursOfServiceViolationCreateModel'
application/*+json:
schema:
$ref: '#/components/schemas/HoursOfServiceViolationCreateModel'
description: The settings model
components:
schemas:
TimeSpan:
type: object
properties:
Ticks:
format: int64
type: integer
Days:
format: int32
type: integer
readOnly: true
Hours:
format: int32
type: integer
readOnly: true
Milliseconds:
format: int32
type: integer
readOnly: true
Microseconds:
format: int32
type: integer
readOnly: true
Nanoseconds:
format: int32
type: integer
readOnly: true
Minutes:
format: int32
type: integer
readOnly: true
Seconds:
format: int32
type: integer
readOnly: true
TotalDays:
format: double
type: number
readOnly: true
TotalHours:
format: double
type: number
readOnly: true
TotalMilliseconds:
format: double
type: number
readOnly: true
TotalMicroseconds:
format: double
type: number
readOnly: true
TotalNanoseconds:
format: double
type: number
readOnly: true
TotalMinutes:
format: double
type: number
readOnly: true
TotalSeconds:
format: double
type: number
readOnly: true
additionalProperties: false
HoursOfServiceDutyStatusModel:
type: object
properties:
HoursOfServiceLogId:
format: int32
type: integer
VehicleId:
format: int32
type: integer
DutyStatusType:
format: int32
enum:
- 0
- 1
- 2
- 3
type: integer
FromDateTime:
format: date-time
description: From date UTC
type: string
ToDateTime:
format: date-time
description: To date UTC
type: string
Notes:
type: string
Location:
type: string
CycleRuleType:
format: int32
enum:
- 0
- 1
- 2
- 3
- 4
- 5
- 6
- 7
type: integer
WorkDayStartTime:
$ref: '#/components/schemas/TimeSpan'
DistanceInKm:
format: double
type: number
CreatedDateTime:
format: date-time
description: Created UTC
type: string
ModifiedDateTime:
format: date-time
description: Modified UTC
type: string
ExternalId:
format: uuid
type: string
IsDeleted:
type: boolean
additionalProperties: false
HoursOfServiceViolationCreateModel:
type: object
properties:
HoursOfServiceLogId:
format: int32
type: integer
ViolationType:
format: int32
type: integer
RequiredActionType:
format: int32
type: integer
StartDateTime:
format: date-time
description: UTC
type: string
EndDateTime:
format: date-time
description: UTC
type: string
additionalProperties: false
securitySchemes:
oauth2:
type: oauth2
flows:
implicit:
scopes:
read: Read access to protected resources
write: Write access to protected resources
authorizationUrl: https://api.automile.com/login/
description: OAuth2 Implicit Grant