Femas HR
API Document
API SPEC
API Document
API SPEC
  1. 差勤
  • 根目錄
    • 身分權限認證
      • 用戶登入
    • 資料讀取
      • 人事
        • 取得人員資料
        • 取得人員異動資料
        • 取得公司資料
        • 取得部門資料
        • 取得部門異動資料
        • 取得職稱資料
        • 取得職等資料
        • 取得職級資料
        • 取得員工類別資料
        • 取得學歷類別資料
        • 取得國別資料
        • 取得系統員工大頭照片
      • 差勤
        • 取得差假資料
          POST
        • 取得加班資料
          POST
        • 取得差勤資訊
          POST
        • 取得假日行事曆資料
          POST
      • 排班
        • 取得排班資訊
      • 薪資
        • 取得成本中心資料
        • 取得員工薪資發放方式
        • 取得員工薪資基本資料
        • 取得員工薪資明細表
        • 取得傳票資料
    • 資料寫入
      • 人事
        • 人員新進作業
        • 調派人員作業
        • 離退人員作業
        • 留停人員作業
        • 人員復職回任作業
        • 人員資料批次更新作業
        • 員工眷屬批量維護作業
        • 部門批量維護作業
      • 薪資
        • 成本中心批量維護作業
API Document
API SPEC
API Document
API SPEC
  1. 差勤

取得差勤資訊

POST
https://mock.apidog.com/m1/1073975-0-default/fsapi/V3/su_att_records.json
資料讀取差勤
配合授權管理員使用,建議配合查詢條件避免一次取回太多資料

請求

標頭參數

主體參數application/json

範例
{
    "userSn": "S23725,W70330",
    "departmentSn": "Y71,N75",
    "startDate": "2026-10-25",
    "endDate": "2026-11-11",
    "leave_hours_enable": "Y,N,C,D",
    "ot_hours_enable": "Y,N,C,D",
    "modified": "2020-08-18",
    "limit": 400,
    "offset": 101
}

請求程式碼範例

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
請求請求範例
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://mock.apidog.com/m1/1073975-0-default/fsapi/V3/su_att_records.json' \
--header 'Authorization: ***********************************' \
--header 'Content-Type: application/json' \
--data-raw '{
    "userSn": "S23725,W70330",
    "departmentSn": "Y71,N75",
    "startDate": "2026-10-25",
    "endDate": "2026-11-11",
    "leave_hours_enable": "Y,N,C,D",
    "ot_hours_enable": "Y,N,C,D",
    "modified": "2020-08-18",
    "limit": 400,
    "offset": 101
}'

回應

🟢200成功
*/*
success
主體

範例
{
    "response": {
        "status": "success",
        "err_msg": "",
        "limit": 401,
        "offset": 300,
        "datas_count": 1932,
        "datas": [
            {
                "user_name": "master",
                "user_sn": "master",
                "department_name": "FSSNFO",
                "department_sn": "FSSNFO",
                "att_date": "2020-12-12",
                "holiday_type": "",
                "shift": "正常班2",
                "all_unusual": "",
                "eff_att_time": "0.00",
                "real_eff_att_time": "0.00",
                "first_in_midnight": "",
                "first_in": "07:51",
                "first_out_midnight": "",
                "first_out": "12:04",
                "late_time": "0",
                "absent_time": "0",
                "earlyoff_time": "0",
                "clock_time": "4",
                "leave_records": "年假(13:00-17:00)",
                "ot_records": "",
                "att_apply_records": "",
                "custom_01": "4",
                "custom_02": "0",
                "custom_03": "0",
                "custom_04": "0",
                "created": "2020-12-11 00:01:01",
                "modified": "2020-12-11 10:40:23"
            }
        ]
    }
}
🟠401未認證
修改時間 2025-10-12 05:24:51
上一頁
取得加班資料
下一頁
取得假日行事曆資料
Built with