POST api/AttendanceAPI/UpdateAttendanceShiftArrangement

更新排班

Request Information

URI Parameters

None.

Body Parameters

AttendanceShiftArrangement
NameDescriptionTypeAdditional information
AttendanceGroup_GID

globally unique identifier

None.

AttendanceClass_GID

globally unique identifier

None.

Employee_GID

globally unique identifier

None.

DailyDate

date

None.

ColorCode

string

None.

IsEmpSelect

boolean

None.

AttendanceGroup

AttendanceGroupModel

None.

AttendanceClass

AttendanceClass

None.

AttendanceGroupClass

AttendanceGroupClass

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 'AttendanceGroup.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 'AttendanceGroup.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: “System.Collections.Generic.List`1[[JetHR.Attendance.Model.AttendanceGroupClass, JetHR.Attendance.Model, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]”类型的对象图包含循环,如果禁用引用跟踪,择无法对其进行序列化。

text/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'text/xml'. Exception message: “System.Collections.Generic.List`1[[JetHR.Attendance.Model.AttendanceGroupClass, JetHR.Attendance.Model, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]”类型的对象图包含循环,如果禁用引用跟踪,择无法对其进行序列化。

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 'AttendanceShiftArrangement'.

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>