POST api/LeaveAPI/RevokeIneffectiveLeave

待生效假期撤销操作 接口

Request Information

URI Parameters

None.

Body Parameters

RevokeLeaveInput
NameDescriptionTypeAdditional information
LeaveDefine_GID

globally unique identifier

None.

Request Formats

application/json, text/json

Sample:
{
  "LeaveDefine_GID": "70b7c8cc-b313-411d-bc56-fc35e9f00bf3"
}

application/xml, text/xml

Sample:
<RevokeLeaveInput xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/JetHR.OpenAPI.Model">
  <LeaveDefine_GID>70b7c8cc-b313-411d-bc56-fc35e9f00bf3</LeaveDefine_GID>
</RevokeLeaveInput>

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

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>