---
title: "🔒 Получение мета-информации для подсказки заявления на отпуск (needStatement, plannedSendDate)."
method: GET
path: "/team/timeoff/statement-meta"
tags: ["Team: Timeoff"]
---

# 🔒 Получение мета-информации для подсказки заявления на отпуск (needStatement, plannedSendDate).

`GET /team/timeoff/statement-meta`

## Request

- Base URL: `http://localhost`
- URL: `http://localhost/team/timeoff/statement-meta`
- Auth: one of:
  - API key in header `sid` and API key in header `rts` and API key in header `sig`
  - HTTP bearer

Получение мета-информации для подсказки заявления на отпуск (needStatement, plannedSendDate).

**Access:** `authorized` (10 ) · **Scope:** `read`

**Allows:** `user:timeoff` (все обязательны; проверка в команде по ресурсу из запроса)

### TypeScript (copy-paste)

**`GET /team/timeoff/statement-meta`**

<details open><summary><b>Params</b></summary>

```typescript
export interface TeamTimeoffStatementMetaParams {
  userID: string
  type: team_timeoff_start_work_day_type
  paid: boolean
  /** Day key (YYYYMMDD or internal day index) */
  startDayKey: number
}
```

</details>

<details open><summary><b>Response</b></summary>

```typescript
export type TeamTimeoffStatementMetaResponse = IServerResponse<Record<string, any>>

export interface IServerResponse<T = any> {
  code: number
  data: T
  srvTS: number
  rkey: string
}
```

</details>

> Полный файл типов: [`/docs/types`](/docs/types) · raw: [`/docs/api-types.ts`](/docs/api-types.ts)

## Query parameters

- `userID` string, uuid, required
- `type` 'vacation' | 'sick', required: `vacation` = "vacation", `sick` = "sick"
- `paid` boolean, required
- `startDayKey` integer, required: Day key (YYYYMMDD or internal day index)

## Headers

- `devID` string, uuid, required
- `tz` string, required
- `app` string, required
- `appVer` string, required
- `rKey` string

## Response `200`

OK — `IServerResponse<Record<string, any>>`

- object
  - `code` integer, required
  - `data` object, required: Response payload (нет ResponseData / doc.schema)
  - `srvTS` integer, required: Server timestamp (ms)
  - `rkey` string, required: Request key

## Other responses

- `400`: BadRequest / Validation — неверные params/body/headers
- `401`: Unauthorized: Active user session required
- `403`: AccessNotAllowed: Privilege user:timeoff required
- `406`: TimeResync — расхождение rts с сервером

---

[API](https://skmtc.dev/kosmodrom/apis/kosmodrom-backend-api.md) · [All operations](https://skmtc.dev/kosmodrom/apis/kosmodrom-backend-api/llms.txt) · [OpenAPI document](https://skmtc.dev/kosmodrom/apis/kosmodrom-backend-api/revisions/a143b51ba29a?raw)
