POST api/AllowAnonymousAPI/CheckLeaveInput

[微信] HRight2.0 校验前台传入的休假申请参数

Request Information

URI Parameters

None.

Body Parameters

AnonymousEmpInput
NameDescriptionTypeAdditional information
employeeGID

globally unique identifier

None.

leavedefineGID

globally unique identifier

None.

startdate

date

None.

enddate

date

None.

flowInstanceGID

globally unique identifier

None.

Request Formats

application/json, text/json

Sample:
{
  "employeeGID": "476b9bef-3178-4ac4-8a8f-2aa903482ca4",
  "leavedefineGID": "e7dacccd-a22a-40f4-be3b-458cf529d739",
  "startdate": "2025-05-04T15:08:56.6100843+08:00",
  "enddate": "2025-05-04T15:08:56.6100843+08:00",
  "flowInstanceGID": "d383ea80-0ff2-4b85-938d-f8e0cdd185fe"
}

application/xml, text/xml

Sample:
<AnonymousEmpInput xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/JetHR.OpenAPI.Model">
  <employeeGID>476b9bef-3178-4ac4-8a8f-2aa903482ca4</employeeGID>
  <enddate>2025-05-04T15:08:56.6100843+08:00</enddate>
  <flowInstanceGID>d383ea80-0ff2-4b85-938d-f8e0cdd185fe</flowInstanceGID>
  <leavedefineGID>e7dacccd-a22a-40f4-be3b-458cf529d739</leavedefineGID>
  <startdate>2025-05-04T15:08:56.6100843+08:00</startdate>
</AnonymousEmpInput>

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

Response Information

Resource Description

[微信] 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>