---
title: "Creates Hours Of Service Violation"
method: POST
path: "/v1/resourceowner/hoursofserviceviolations"
tags: ["ResourceOwnerHoursOfServiceViolations"]
---

# Creates Hours Of Service Violation

`POST /v1/resourceowner/hoursofserviceviolations`

## Request body

- HoursOfServiceViolationCreateModel
  - `HoursOfServiceLogId` integer
  - `ViolationType` integer
  - `RequiredActionType` integer
  - `StartDateTime` string, date-time — UTC
  - `EndDateTime` string, date-time — UTC

## Response `200`

A link in the header is returned to the newly resource

---

[API](https://skmtc.net/automile/apis/automile-api.md) · [All operations](https://skmtc.net/automile/apis/automile-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/automile/automile-api/revisions/bd42075f6b02/schema)
