POST api/AttendanceAPI/AddTimeRecordModify
修改考勤记录方法
Request Information
URI Parameters
None.
Body Parameters
AttTimeRecordModifyName | Description | Type | Additional information |
---|---|---|---|
GID | globally unique identifier |
None. |
|
AttendanceGroup_GID | globally unique identifier |
None. |
|
Employee_GID | globally unique identifier |
None. |
|
NewPunchTime | date |
None. |
|
OldPunchTime | date |
None. |
|
NewPunchLocation | string |
None. |
|
OldPunchLocation | string |
None. |
|
PunchInOutType | integer |
None. |
|
HRModifyRemark | string |
None. |
|
attachmentList | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "GID": "e5bf4cdf-d55f-4d4e-a6e4-4e2101df89b1", "AttendanceGroup_GID": "5ef88a59-f962-4bf6-ad6c-e3bd239d3bf5", "Employee_GID": "46a01ed1-dbc4-4938-a202-5867b647a691", "NewPunchTime": "2025-06-21T01:46:54.2105045+08:00", "OldPunchTime": "2025-06-21T01:46:54.2105045+08:00", "NewPunchLocation": "sample string 4", "OldPunchLocation": "sample string 5", "PunchInOutType": 1, "HRModifyRemark": "sample string 6", "attachmentList": "sample string 7" }
application/xml, text/xml
Sample:
<AttTimeRecordModify xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/JetHR.Attendance.Model"> <AttendanceGroup_GID>5ef88a59-f962-4bf6-ad6c-e3bd239d3bf5</AttendanceGroup_GID> <Employee_GID>46a01ed1-dbc4-4938-a202-5867b647a691</Employee_GID> <GID>e5bf4cdf-d55f-4d4e-a6e4-4e2101df89b1</GID> <HRModifyRemark>sample string 6</HRModifyRemark> <NewPunchLocation>sample string 4</NewPunchLocation> <NewPunchTime>2025-06-21T01:46:54.2105045+08:00</NewPunchTime> <OldPunchLocation>sample string 5</OldPunchLocation> <OldPunchTime>2025-06-21T01:46:54.2105045+08:00</OldPunchTime> <PunchInOutType>1</PunchInOutType> <attachmentList>sample string 7</attachmentList> </AttTimeRecordModify>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
修改考勤记录方法
stringResponse 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>