{
"dayType": "normal",
"startDate": "2024-01-01",
"endDate": "2024-12-31"
}curl --location --request POST 'https://mock.apidog.com/m1/1073975-0-default/fsapi/V3/su_ot_records.json' \
--header 'Authorization: ***********************************' \
--header 'Content-Type: application/json' \
--data-raw '{
"dayType": "normal",
"startDate": "2024-01-01",
"endDate": "2024-12-31"
}'{
"response": {
"status": "success",
"err_msg": "",
"limit": 100,
"offset": 0,
"datas_count": "2",
"datas": [
{
"id": "1001",
"user_sn": "E10001",
"department_sn": "D001",
"ot_date": "2024-10-15",
"start_date": "2024-10-15 18:00:00",
"end_date": "2024-10-15 21:00:00",
"expired_date": "2025-04-15",
"reason": "配合專案上線需求,進行系統部署與測試作業",
"enable": "Y",
"hours": "3",
"admit_hours": "3",
"type": "1",
"use_type": "paid",
"shift_code": "N01",
"dayType": "workday",
"created": "2024-10-14 10:00:00",
"modified": "2024-10-14 16:30:00",
"apply_id": "OT202410001"
},
{
"id": "1002",
"user_sn": "E10003",
"department_sn": "D002",
"ot_date": "2024-10-20",
"start_date": "2024-10-20 09:00:00",
"end_date": "2024-10-20 17:00:00",
"expired_date": "2025-04-20",
"reason": "配合年度盤點作業,假日加班進行庫存清點",
"enable": "Y",
"hours": "8",
"admit_hours": "8",
"type": "2",
"use_type": "leave",
"shift_code": "H01",
"dayType": "holiday",
"created": "2024-10-18 09:30:00",
"modified": "2024-10-19 14:15:00",
"apply_id": "OT202410002"
}
]
}
}