POST api/AttendanceAnalysisAPI/DoAnsTimeRecordResultSimple

20200615 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:28:53.9354956+08:00",
  "endDate": "2025-05-04T15:28:53.9354956+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:28:53.9354956+08:00</endDate>
  <signalType>1</signalType>
  <startDate>2025-05-04T15:28:53.9354956+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

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