POST job/add_job_attendance_batch_setting
创建考勤规则
Request Information
URI Parameters
None.
Body Parameters
AddJobAttendanceBatchSettingViewModelName | Description | Type | Additional information |
---|---|---|---|
setting_now | boolean |
None. |
|
title | string |
None. |
|
user_ids | string |
None. |
|
job_id | integer |
None. |
|
work_start | string |
None. |
|
work_end | string |
None. |
|
wage | decimal number |
None. |
|
allow_resign_times | integer |
None. |
|
address | string |
None. |
|
latitude | decimal number |
None. |
|
longitude | decimal number |
None. |
|
attendance_radius | integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "setting_now": true, "title": "sample string 2", "user_ids": "sample string 3", "job_id": 4, "work_start": "sample string 5", "work_end": "sample string 6", "wage": 7.0, "allow_resign_times": 8, "address": "sample string 9", "latitude": 10.1, "longitude": 11.1, "attendance_radius": 12 }
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
创建考勤规则
BaseResponseName | Description | Type | Additional information |
---|---|---|---|
code | integer |
None. |
|
message | string |
None. |
|
success | boolean |
None. |
Response Formats
application/json, text/json
Sample:
{ "code": 1, "message": "sample string 2", "success": true }