POST api/AttendanceAPI/GetAttendanceTimeRecordByCon

获取打卡记录

Request Information

URI Parameters

None.

Body Parameters

AttendanceDailyResultModel
NameDescriptionTypeAdditional information
startDate

date

None.

endDate

date

None.

signalType

integer

None.

GIDs

string

None.

json

string

None.

withAddPunch

boolean

None.

withOutPunch

boolean

None.

withTermination

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "startDate": "2025-05-04T16:04:38.2171754+08:00",
  "endDate": "2025-05-04T16:04:38.2171754+08:00",
  "signalType": 3,
  "GIDs": "sample string 4",
  "json": "sample string 5",
  "withAddPunch": true,
  "withOutPunch": true,
  "withTermination": true
}

application/xml, text/xml

Sample:
<AttendanceDailyResultModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/JetHR.OpenAPI.Model">
  <GIDs>sample string 4</GIDs>
  <endDate>2025-05-04T16:04:38.2171754+08:00</endDate>
  <json>sample string 5</json>
  <signalType>3</signalType>
  <startDate>2025-05-04T16:04:38.2171754+08:00</startDate>
  <withAddPunch>true</withAddPunch>
  <withOutPunch>true</withOutPunch>
  <withTermination>true</withTermination>
</AttendanceDailyResultModel>

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

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>