POST api/AttendanceAndTimesheet/CancelClaimReplacementLeave
Request Information
URI Parameters
None.
Body Parameters
CancelClaimReplacementLeaveDetailsName | Description | Type | Additional information |
---|---|---|---|
objCancelClaimReplacementLeaveList | Collection of CancelClaimReplacementLeaveList |
None. |
Request Formats
application/json, text/json
Sample:
{ "objCancelClaimReplacementLeaveList": [ { "LeaveId": 1, "UserID": 2, "LeaveType": "sample string 3", "FromDate": "2025-08-07T06:59:08.2026887+08:00", "ToDate": "2025-08-07T06:59:08.2026887+08:00", "LeaveSession": "sample string 6", "AvailableCount": 7.0, "LoginUserID": 8, "LoginUserName": "sample string 9", "CreatedID": 10, "Token": "sample string 11", "Language": "sample string 12", "ApprovalName": "sample string 13", "Remarks": "sample string 14", "IsStatus": 15, "SourceType": "sample string 16" }, { "LeaveId": 1, "UserID": 2, "LeaveType": "sample string 3", "FromDate": "2025-08-07T06:59:08.2026887+08:00", "ToDate": "2025-08-07T06:59:08.2026887+08:00", "LeaveSession": "sample string 6", "AvailableCount": 7.0, "LoginUserID": 8, "LoginUserName": "sample string 9", "CreatedID": 10, "Token": "sample string 11", "Language": "sample string 12", "ApprovalName": "sample string 13", "Remarks": "sample string 14", "IsStatus": 15, "SourceType": "sample string 16" } ] }
text/html
Sample:
{"objCancelClaimReplacementLeaveList":[{"LeaveId":1,"UserID":2,"LeaveType":"sample string 3","FromDate":"2025-08-07T06:59:08.2026887+08:00","ToDate":"2025-08-07T06:59:08.2026887+08:00","LeaveSession":"sample string 6","AvailableCount":7.0,"LoginUserID":8,"LoginUserName":"sample string 9","CreatedID":10,"Token":"sample string 11","Language":"sample string 12","ApprovalName":"sample string 13","Remarks":"sample string 14","IsStatus":15,"SourceType":"sample string 16"},{"LeaveId":1,"UserID":2,"LeaveType":"sample string 3","FromDate":"2025-08-07T06:59:08.2026887+08:00","ToDate":"2025-08-07T06:59:08.2026887+08:00","LeaveSession":"sample string 6","AvailableCount":7.0,"LoginUserID":8,"LoginUserName":"sample string 9","CreatedID":10,"Token":"sample string 11","Language":"sample string 12","ApprovalName":"sample string 13","Remarks":"sample string 14","IsStatus":15,"SourceType":"sample string 16"}]}
application/xml, text/xml
Sample:
<AttendanceAndTimesheetController.CancelClaimReplacementLeaveDetails xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HR2Eazy_WebApi.Controllers"> <objCancelClaimReplacementLeaveList> <AttendanceAndTimesheetController.CancelClaimReplacementLeaveList> <ApprovalName>sample string 13</ApprovalName> <AvailableCount>7</AvailableCount> <CreatedID>10</CreatedID> <FromDate>2025-08-07T06:59:08.2026887+08:00</FromDate> <IsStatus>15</IsStatus> <Language>sample string 12</Language> <LeaveId>1</LeaveId> <LeaveSession>sample string 6</LeaveSession> <LeaveType>sample string 3</LeaveType> <LoginUserID>8</LoginUserID> <LoginUserName>sample string 9</LoginUserName> <Remarks>sample string 14</Remarks> <SourceType>sample string 16</SourceType> <ToDate>2025-08-07T06:59:08.2026887+08:00</ToDate> <Token>sample string 11</Token> <UserID>2</UserID> </AttendanceAndTimesheetController.CancelClaimReplacementLeaveList> <AttendanceAndTimesheetController.CancelClaimReplacementLeaveList> <ApprovalName>sample string 13</ApprovalName> <AvailableCount>7</AvailableCount> <CreatedID>10</CreatedID> <FromDate>2025-08-07T06:59:08.2026887+08:00</FromDate> <IsStatus>15</IsStatus> <Language>sample string 12</Language> <LeaveId>1</LeaveId> <LeaveSession>sample string 6</LeaveSession> <LeaveType>sample string 3</LeaveType> <LoginUserID>8</LoginUserID> <LoginUserName>sample string 9</LoginUserName> <Remarks>sample string 14</Remarks> <SourceType>sample string 16</SourceType> <ToDate>2025-08-07T06:59:08.2026887+08:00</ToDate> <Token>sample string 11</Token> <UserID>2</UserID> </AttendanceAndTimesheetController.CancelClaimReplacementLeaveList> </objCancelClaimReplacementLeaveList> </AttendanceAndTimesheetController.CancelClaimReplacementLeaveDetails>
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>