🔒 #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
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
Day key (YYYYMMDD or internal day index)
Можно передать header monthDK (сервер мержит headers+query)
Можно передать header userID (сервер мержит headers+query)
iteration = 0, vacation = 10, compensation = 15, sick = 20, salary_advance = 30, salary_final = 40, award = 50, bonus = 100, deduction = -100
Можно передать header type (сервер мержит headers+query)
Можно передать header paid (сервер мержит headers+query)
Можно передать header orgID (сервер мержит headers+query)
Можно передать header noOrg (сервер мержит headers+query)
none = "none", ruTK = "ru_tk", ruGPD = "ru_gpd", ruIP = "ru_ip", ruSam = "ru_sam"
Можно передать header employmentType (сервер мержит headers+query)
Headers
UUID устройства клиента
Таймзона клиента (IANA или offset)
Имя клиентского приложения
Версия клиента
Уникальный ключ запроса для логов/саппорта
Response
OK — IServerResponse<Resp_team_payment_list>
Example response
{
"code": 200
}Changes
No recorded changes to this operation across all 1 revision of this API.