{
"ruleId": 0,
"ruleName": "string",
"clockType": 0,
"itemId": 0,
"timeRules": [
{
"workBeginTime": "string",
"workEndTime": "string",
"isExtendDay": 0,
"clockTimeRuleId": 0,
"sort": 0,
"week": "string",
"shiftName": "string"
}
],
"locationRules": [
{
"locationRuleId": 0,
"locationName": "string",
"address": "string",
"longitude": 0,
"latitude": 0,
"distance": 0,
"sort": 0
}
],
"openLegalHolidays": true
}
curl --location --request POST '/manager/saveAttendanceRule' \
--header 'Content-Type: application/json' \
--data-raw '{
"ruleId": 0,
"ruleName": "string",
"clockType": 0,
"itemId": 0,
"timeRules": [
{
"workBeginTime": "string",
"workEndTime": "string",
"isExtendDay": 0,
"clockTimeRuleId": 0,
"sort": 0,
"week": "string",
"shiftName": "string"
}
],
"locationRules": [
{
"locationRuleId": 0,
"locationName": "string",
"address": "string",
"longitude": 0,
"latitude": 0,
"distance": 0,
"sort": 0
}
],
"openLegalHolidays": true
}'
{
"success": true,
"message": null,
"data": null
}