Skip to content
能力中心
产品中心
应用市场
WebOffice
开发者后台

获取考勤组详情

获取打卡考勤组详情

标签打卡考勤组

请求说明

字段
请求地址
https://openapi.wps.cn/v7/attendance/groups/{group_id}
HTTP 方法
GET
接口描述
获取考勤组详情
签名方式
KSO-1
限频策略
权限要求
查询打卡考勤组(应用授权) kso.attendance_group.read

路径参数 (Path)

属性名类型是否必填描述可选值
group_id
string考勤组ID-

响应体(Response)

HTTP状态码: 200
响应体格式: application/json

没有可用的数据

响应体示例

json
{
  "data": {
    "allow_external": true,
    "allow_photo_punch_on_location_fail": true,
    "allow_remedy": true,
    "attendance_address_settings": [
      {
        "id": "string",
        "lat": "string",
        "lng": "string",
        "location_name": "string",
        "location_title": "string",
        "scope": "100"
      }
    ],
    "attendance_wifi_settings": [
      {
        "addr": "string",
        "id": "string",
        "ssid": "string"
      }
    ],
    "auto_holiday": true,
    "ctime": 0,
    "depts": [
      "string"
    ],
    "effect_time": 0,
    "external_settings": {
      "allow_location_adjustment": true,
      "location_adjustment_range": "50",
      "must_approval": true,
      "must_photo": true,
      "must_remark": true
    },
    "flexible_time_rules": [
      {
        "in_time_come_late": 0,
        "out_time_leave_early": 0
      }
    ],
    "free_punch_settings": {
      "free_start_time": "string",
      "workday_no_punch_as_lack": true
    },
    "is_enable": true,
    "is_enable_address": true,
    "is_enable_prevent_cheat": true,
    "is_enable_wifi": true,
    "is_enabled_flexible_punch": true,
    "is_enabled_rest_time": true,
    "master_admins": [
      "string"
    ],
    "mtime": 0,
    "name": "string",
    "no_attendance_users": [
      "string"
    ],
    "prevent_cheat_settings": {
      "intercept_cheat_app": true,
      "intercept_proxy_punch": true,
      "suspected_cheat_handle": "record"
    },
    "punch_time_rules": [
      {
        "in_time": "string",
        "in_time_after": 0,
        "in_time_before": 0,
        "out_time": "string",
        "out_time_after": 0,
        "out_time_before": 0
      }
    ],
    "remedy_settings": {
      "days_limit": 0,
      "is_count_limit": true,
      "is_time_limit": true,
      "monthly_count": 0,
      "monthly_reset_day": 0
    },
    "rest_time_rules": [
      {
        "end_time": "string",
        "start_time": "string"
      }
    ],
    "rule_type": "fixed",
    "sub_admin_permissions": {
      "set_group_member": true,
      "set_member_scopes": [
        {
          "company_id": "string",
          "dept_id": "string",
          "type": "user",
          "user_id": "string"
        }
      ],
      "set_punch_address": true,
      "set_punch_others_cfg": true,
      "set_punch_time": true,
      "view_export_statistics": true
    },
    "sub_admins": [
      "string"
    ],
    "users": [
      "string"
    ],
    "workdays": [
      "string"
    ]
  },
  "code": 0,
  "msg": "string"
}