POST api/AttendanceAPI/UpdateAttendanceGroup

更新考勤组

Request Information

URI Parameters

None.

Body Parameters

AttendanceGroupModel
NameDescriptionTypeAdditional information
Code

string

None.

Name

string

None.

AttendanceCycleType

AttendanceCycleType

None.

AttendanceCycleBeginDate

string

None.

AttendanceCycleEndDate

string

None.

AttendanceType

AttendanceType

None.

PeriodLock

boolean

None.

LockAfterPeriodEnd

integer

None.

CanPunchOutSide

boolean

None.

NeedRemark

boolean

None.

NeedPhoto

boolean

None.

IsSyncCalendar

boolean

None.

CanOverTime

boolean

None.

HasSpecialHoildays

boolean

None.

EmpSelectShiftWhenUnRanged

boolean

None.

AttendanceGroupEmpRanges

AttendanceGroupEmpRanges

None.

List_AttendanceGroupEmpRange

Collection of AttendanceGroupEmpRangeInput

None.

List_AttendanceGroupManagerRange

Collection of AttendanceGroupManagerRangeInput

None.

List_AttendanceWorkDaySettings

Collection of AttendanceWorkDaySettings

None.

List_AttendanceGroupClass

Collection of AttendanceGroupClass

None.

List_AttendanceGroupLocation

Collection of AttendanceGroupLocation

None.

List_AttendanceSpecialHoliday

Collection of AttendanceSpecialHoliday

None.

AttendanceGroupOTSet

AttendanceOverTimeSetup

None.

Tenant_GID

globally unique identifier

None.

SysCreateDate

date

None.

SysCreateUser

globally unique identifier

None.

SysModifyDate

date

None.

SysModifyUser

globally unique identifier

None.

GID

globally unique identifier

None.

Request Formats

application/json

Sample:

An exception has occurred while using the formatter 'JsonMediaTypeFormatter' to generate sample for media type 'application/json'. Exception message: Self referencing loop detected for property 'AttendanceGroup' with type 'JetHR.Attendance.Model.AttendanceGroupModel'. Path 'List_AttendanceGroupClass[0]'.

text/json

Sample:

An exception has occurred while using the formatter 'JsonMediaTypeFormatter' to generate sample for media type 'text/json'. Exception message: Self referencing loop detected for property 'AttendanceGroup' with type 'JetHR.Attendance.Model.AttendanceGroupModel'. Path 'List_AttendanceGroupClass[0]'.

application/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'application/xml'. Exception message: “JetHR.Attendance.Model.AttendanceGroupClass”类型的对象图包含循环,如果禁用引用跟踪,择无法对其进行序列化。

text/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'text/xml'. Exception message: “JetHR.Attendance.Model.AttendanceGroupClass”类型的对象图包含循环,如果禁用引用跟踪,择无法对其进行序列化。

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'AttendanceGroupModel'.

Response Information

Resource Description

更新考勤组

string

Response Formats

application/json, text/json

Sample:
"sample string 1"

application/xml, text/xml

Sample:
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">sample string 1</string>