---
title: "Adds an On Duty request"
method: POST
path: "/time/od"
tags: ["OnDuty"]
---

# Adds an On Duty request

`POST /time/od`

Adds an On Duty request.

## Request body

- KekaAPIModelAttendanceODRequestDto
  - `employeeId` string, nullable
  - `fromDate` string, date-time
  - `toDate` string, date-time
  - `fromSession` 0 | 1 | 2 | 3 | 4 | 5 | 6
  - `toSession` 0 | 1 | 2 | 3 | 4 | 5 | 6
  - `note` string, nullable

## Response `200`

OK

- BooleanResponse — class represents response.
  - `succeeded` boolean — Gets or sets a value indicating whether this Keka.API.Web.Core.Response`1 is succeeded.
  - `message` string, nullable — Gets or sets the message.
  - `errors` string[], nullable — Gets or sets the errors.
  - `data` boolean — Gets or sets the data.

## Other responses

- `401` — Unauthorized
- `403` — Forbidden

---

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