Team: Payments

🔒 #26532 Выплаты и части премии: за месяц (страница выплат) или все выплаты сотрудника (профиль).

#26532 Выплаты и части премии: за месяц (страница выплат) или все выплаты сотрудника (профиль).

Access: authorized (10 ) · Scope: read

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

TypeScript (copy-paste)

GET /team/payment/list

<details open><summary><b>Params</b></summary>
export interface TeamPaymentListParams {
  /** Day key (YYYYMMDD or internal day index) */
  monthDK?: number | null
  userID?: string | null
  type?: Payment_Type | null
  paid?: boolean | null
  orgID?: string | null
  noOrg?: boolean | null
  employmentType?: Payment_employmentType | null
}
</details> <details open><summary><b>Response</b></summary>
export type TeamPaymentListResponse = IServerResponse<Resp_team_payment_list>

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

Полный файл типов: /docs/types · raw: /docs/api-types.ts

get/team/payment/list

Request

  • Base URL: http://localhost
  • URL: http://localhost/team/payment/list
  • Auth: one of:
    • API key in header sid and API key in header rts and API key in header sig
    • HTTP bearer

Query parameters

monthDKinteger nullable

Day key (YYYYMMDD or internal day index)

Можно передать header monthDK (сервер мержит headers+query)

userIDstring uuid nullable

Можно передать header userID (сервер мержит headers+query)

type0 | 10 | 15 | 20 | 30 | 40 | 50 | 100 | -100

iteration = 0, vacation = 10, compensation = 15, sick = 20, salary_advance = 30, salary_final = 40, award = 50, bonus = 100, deduction = -100

Можно передать header type (сервер мержит headers+query)

paidboolean nullable

Можно передать header paid (сервер мержит headers+query)

orgIDstring uuid nullable

Можно передать header orgID (сервер мержит headers+query)

noOrgboolean nullable

Можно передать header noOrg (сервер мержит headers+query)

employmentType'none' | 'ru_tk' | 'ru_gpd' | 'ru_ip' | 'ru_sam'

none = "none", ruTK = "ru_tk", ruGPD = "ru_gpd", ruIP = "ru_ip", ruSam = "ru_sam"

Можно передать header employmentType (сервер мержит headers+query)

Headers

devIDstring uuid required

UUID устройства клиента

tzstring required
Example:Europe/Moscow

Таймзона клиента (IANA или offset)

appstring required
Example:kosmodrom-web

Имя клиентского приложения

appVerstring required
Example:1.0.0

Версия клиента

rKeystring

Уникальный ключ запроса для логов/саппорта

Response

OK — IServerResponse<Resp_team_payment_list>

codeinteger required
srvTSinteger required

Server timestamp (ms)

rkeystring required

Request key

Example response

{
  "code": 200
}

Changes

No recorded changes to this operation across all 1 revision of this API.