保存考勤组
Url
[接口服务器地址]/addon_kqx/api/group_save.html
Method
POST
Request Headers
Name | 必选 | Type | Description |
---|---|---|---|
Content-Type | true | string | application/json; charset=UTF-8 |
authen | true | string | Authen 什么是认证码 |
appid | true | string | AppID 什么是接入ID |
timestamp | true | string | Timestamp |
uid | true | string | UID |
lang | true | string | Language zh-cn,en-us |
Request Body
Name | 必选 | Type | Description |
---|---|---|---|
id | true | string | 考勤组ID 新增不用传 |
name | true | string | 考勤组名称 |
status | true | string | 状态 0 停用 1启用 |
is_public | true | string | 是否是公开 如果 is_public=0,users 是需要打卡的人,如果 is_public=1,users是不需要打卡的人 |
users | true | json | 成员 |
shift_list | true | string | 工作日班次 [周日,周一,周二,周三,周四,周五,周六] |
gps_status | true | string | 启用GPS打卡 0 停用 1启用 |
gps_list | true | string | GPS地址列表 能打卡的地址 limit为有效距离 |
wifi_status | true | string | 启用Wifi打卡 0 停用 1启用 |
wifi_list | true | string | WIFI列表 能打卡的路由信息 |
special_daylist | false | string | 特殊日期列表 |
Tip
shift_list为周的班次,0 表示休息
Debug Tool
TestReturn
{"status":1,"code":0,"msg":"","data":[]}