---
title: "Add Applications"
method: POST
path: "/hr/approvals"
---

# Add Applications

`POST /hr/approvals`

## Headers

- `api-token` string
- `x-api-key` string

## Request body

- object
  - `gid` string, required — Unique employee or user ID used to apply permissions or requests
  - `type` string, required — Type of application request.(1 – Leave 2 – Permission 4 – Half Day Leave 5 – On Duty 6 – Late Check-in 7 – No Checkout 10 – Reimbursement 11 – Expense)
  - `ondutytype` string — Mandatory only when type = 5.(1 – Partial On Duty 2 – Full Day On Duty)
  - `date` string, date, required — Application start date and time in timestamp format.
  - `enddate` string, date, required — Application end date and time in timestamp format.
  - `amount` string — Mandatory when type = 10 (Reimbursement) or type = 11 (Expense). Specifies the requested amount
  - `documents` object[] — Supporting document attachments. Mandatory for reimbursement requests.
    - `status` string
    - `message` string
    - `dl` string
    - `original_fn` string
    - `fn` string
    - `u` string
  - `operation` string — Optional field used only when the application needs to be auto-approved.

## Response `200`

200

- object
  - `status` integer
  - `msg` string
  - `data` string

## Other responses

- `400` — 400
- `401` — 401
- `500` — 500
- `502` — 502
- `503` — 503

---

[API](https://skmtc.net/ledgers/apis/authentication.md) · [All operations](https://skmtc.net/ledgers/apis/authentication/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/ledgers/authentication/versions/605f28ef08ef/schema)
