POST api/AttendanceAnalysisAPI/DoAnsTimeRecordResultAuto

20200907 HRight2.0 陆宁 自动考勤分析(每天凌晨使用)

Request Information

URI Parameters

None.

Body Parameters

DoAnsInput
NameDescriptionTypeAdditional information
startDate

date

None.

endDate

date

None.

signalType

integer

None.

GIDs

string

None.

withAddPunch

boolean

None.

withOutPunch

boolean

None.

withTermination

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "startDate": "2025-05-04T15:39:30.9734895+08:00",
  "endDate": "2025-05-04T15:39:30.9734895+08:00",
  "signalType": 1,
  "GIDs": "sample string 1",
  "withAddPunch": true,
  "withOutPunch": true,
  "withTermination": true
}

application/xml, text/xml

Sample:
<DoAnsInput xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/JetHR.OpenAPI.Model">
  <GIDs>sample string 1</GIDs>
  <endDate>2025-05-04T15:39:30.9734895+08:00</endDate>
  <signalType>1</signalType>
  <startDate>2025-05-04T15:39:30.9734895+08:00</startDate>
  <withAddPunch>true</withAddPunch>
  <withOutPunch>true</withOutPunch>
  <withTermination>true</withTermination>
</DoAnsInput>

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

Response Information

Resource Description

20200907 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>