🔒 #26564 Коррекции премии сотрудника за диапазон дней (итерацию): по дням, диапазонам и ворклогам диапазона. Для списка в персональной выработке.
#26564 Коррекции премии сотрудника за диапазон дней (итерацию): по дням, диапазонам и ворклогам диапазона. Для списка в персональной выработке.
Access: authorized (10 ) · Scope: read
Allows: user:payments, user:bonus (все обязательны; проверка в команде по ресурсу из запроса)
TypeScript (copy-paste)
GET /costs/user-corrections
<details open><summary><b>Params</b></summary>export interface CostsUserCorrectionsParams {
userID: string
/** Day key (YYYYMMDD or internal day index) */
startDk: number
/** Day key (YYYYMMDD or internal day index) */
endDk: number
}
</details>
<details open><summary><b>Response</b></summary>
export type CostsUserCorrectionsResponse = IServerResponse<Resp_costs_user-corrections>
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/costs/user-corrections
- Auth: one of:
- API key in header sid and API key in header rts and API key in header sig
- HTTP bearer
Query parameters
Можно передать header userID (сервер мержит headers+query)
Day key (YYYYMMDD or internal day index)
Можно передать header startDk (сервер мержит headers+query)
Day key (YYYYMMDD or internal day index)
Можно передать header endDk (сервер мержит headers+query)
Headers
UUID устройства клиента
Таймзона клиента (IANA или offset)
Имя клиентского приложения
Версия клиента
Уникальный ключ запроса для логов/саппорта
Response
OK — IServerResponse<Resp_costs_user-corrections>
Example response
{
"code": 200
}Changes
No recorded changes to this operation across all 1 revision of this API.