POST api/Values/InsertCancelClaimReplacementLeave
Request Information
URI Parameters
None.
Body Parameters
CancelClaimReplacementLeaveName | Description | Type | Additional information |
---|---|---|---|
UserID | integer |
None. |
|
FromDate | date |
None. |
|
ToDate | date |
None. |
|
LeaveID | integer |
None. |
|
LeaveType | string |
None. |
|
LeaveSession | string |
None. |
|
Remarks | string |
None. |
|
Token | string |
None. |
|
Reason | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "UserID": 1, "FromDate": "2025-08-07T06:50:03.0699379+08:00", "ToDate": "2025-08-07T06:50:03.0699379+08:00", "LeaveID": 4, "LeaveType": "sample string 5", "LeaveSession": "sample string 6", "Remarks": "sample string 7", "Token": "sample string 8", "Reason": "sample string 9" }
text/html
Sample:
{"UserID":1,"FromDate":"2025-08-07T06:50:03.0699379+08:00","ToDate":"2025-08-07T06:50:03.0699379+08:00","LeaveID":4,"LeaveType":"sample string 5","LeaveSession":"sample string 6","Remarks":"sample string 7","Token":"sample string 8","Reason":"sample string 9"}
application/xml, text/xml
Sample:
<ValuesController.CancelClaimReplacementLeave xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HR2Eazy_WebApi.Controllers"> <FromDate>2025-08-07T06:50:03.0699379+08:00</FromDate> <LeaveID>4</LeaveID> <LeaveSession>sample string 6</LeaveSession> <LeaveType>sample string 5</LeaveType> <Reason>sample string 9</Reason> <Remarks>sample string 7</Remarks> <ToDate>2025-08-07T06:50:03.0699379+08:00</ToDate> <Token>sample string 8</Token> <UserID>1</UserID> </ValuesController.CancelClaimReplacementLeave>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
Dictionary of Object [key] and Object [value]Response Formats
application/json, text/json, text/html
Sample:
{"System.Object":{},"System.Object":{}}
application/xml, text/xml
Sample:
<ArrayOfKeyValueOfanyTypeanyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <KeyValueOfanyTypeanyType> <Key /> <Value /> </KeyValueOfanyTypeanyType> <KeyValueOfanyTypeanyType> <Key /> <Value /> </KeyValueOfanyTypeanyType> </ArrayOfKeyValueOfanyTypeanyType>