POST api/AttendanceAPI/GetGroupedAttendanceDailyResults

20200619 HRight2.0 陆宁 对元方法进行改造

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:30:11.8879486+08:00",
  "endDate": "2025-05-04T16:30:11.8879486+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:30:11.8879486+08:00</endDate>
  <json>sample string 5</json>
  <signalType>3</signalType>
  <startDate>2025-05-04T16:30:11.8879486+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

20200619 HRight2.0 陆宁 对元方法进行改造

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>