POST api/Leave/GetEmployeeTimeOffSummary
Request Information
URI Parameters
None.
Body Parameters
EmployeeLeaveSearchViewModelName | Description | Type | Additional information |
---|---|---|---|
EmployeeStatus | string |
None. |
|
Fromdate | string |
None. |
|
Todate | string |
None. |
|
EmployeeID | integer |
None. |
|
DepartmentID | integer |
None. |
|
LeaveStatus | string |
None. |
|
EmployeeClassID | integer |
None. |
|
List | Collection of EmployeeLeaveDetailsModel |
None. |
|
StatusList | Collection of string |
None. |
|
AllStatusIND | boolean |
None. |
|
LoggedInEmployeeId | integer |
None. |
|
Year | integer |
None. |
|
DateList | Collection of integer |
None. |
|
strEmployeeID | string |
None. |
|
strDepartmentID | string |
None. |
|
strYear | string |
None. |
|
PhotoPath | string |
None. |
|
LeaveStatustxt | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "EmployeeStatus": "sample string 1", "Fromdate": "sample string 2", "Todate": "sample string 3", "EmployeeID": 4, "DepartmentID": 5, "LeaveStatus": "sample string 6", "EmployeeClassID": 7, "List": [ { "LeaveApplicationId": 1, "EmployeeId": 2, "EmployeeName": "sample string 3", "DepartmentName": "sample string 4", "EmployeeClass": "sample string 5", "TimeOffType": "sample string 6", "From": "sample string 7", "To": "sample string 8", "Amount": 9.0, "AppliedDate": "sample string 10", "StatusCode": "sample string 11", "LeaveStatus": "sample string 12", "LeaveStatustxt": "sample string 13", "FromFullDayIND": true, "ToFullDayIND": true, "FromHalfDayIND": true, "ToHalfDayIND": true, "Actions": [ { "StatusCode": "sample string 1", "ActionName": "sample string 2", "RecordStatusCode": "sample string 3", "ActionType": "sample string 4", "DestinationSiteMapID": 5 }, { "StatusCode": "sample string 1", "ActionName": "sample string 2", "RecordStatusCode": "sample string 3", "ActionType": "sample string 4", "DestinationSiteMapID": 5 } ], "Views": [ { "StatusCode": "sample string 1", "ActionName": "sample string 2", "RecordStatusCode": "sample string 3", "ActionType": "sample string 4", "DestinationSiteMapID": 5 }, { "StatusCode": "sample string 1", "ActionName": "sample string 2", "RecordStatusCode": "sample string 3", "ActionType": "sample string 4", "DestinationSiteMapID": 5 } ], "ApproverName": "sample string 18", "PhotoPath": "sample string 19", "FromOrder": "2025-04-04T23:47:19.0624491+05:30", "NoofDays": 21, "NoofLOPDays": 22, "Assignedtoemployeeid": 23 }, { "LeaveApplicationId": 1, "EmployeeId": 2, "EmployeeName": "sample string 3", "DepartmentName": "sample string 4", "EmployeeClass": "sample string 5", "TimeOffType": "sample string 6", "From": "sample string 7", "To": "sample string 8", "Amount": 9.0, "AppliedDate": "sample string 10", "StatusCode": "sample string 11", "LeaveStatus": "sample string 12", "LeaveStatustxt": "sample string 13", "FromFullDayIND": true, "ToFullDayIND": true, "FromHalfDayIND": true, "ToHalfDayIND": true, "Actions": [ { "StatusCode": "sample string 1", "ActionName": "sample string 2", "RecordStatusCode": "sample string 3", "ActionType": "sample string 4", "DestinationSiteMapID": 5 }, { "StatusCode": "sample string 1", "ActionName": "sample string 2", "RecordStatusCode": "sample string 3", "ActionType": "sample string 4", "DestinationSiteMapID": 5 } ], "Views": [ { "StatusCode": "sample string 1", "ActionName": "sample string 2", "RecordStatusCode": "sample string 3", "ActionType": "sample string 4", "DestinationSiteMapID": 5 }, { "StatusCode": "sample string 1", "ActionName": "sample string 2", "RecordStatusCode": "sample string 3", "ActionType": "sample string 4", "DestinationSiteMapID": 5 } ], "ApproverName": "sample string 18", "PhotoPath": "sample string 19", "FromOrder": "2025-04-04T23:47:19.0624491+05:30", "NoofDays": 21, "NoofLOPDays": 22, "Assignedtoemployeeid": 23 } ], "StatusList": [ "sample string 1", "sample string 2" ], "AllStatusIND": true, "LoggedInEmployeeId": 9, "Year": 10, "DateList": [ 1, 2 ], "strEmployeeID": "sample string 11", "strDepartmentID": "sample string 12", "strYear": "sample string 13", "PhotoPath": "sample string 14", "LeaveStatustxt": "sample string 15" }
application/xml, text/xml
Sample:
<EmployeeLeaveSearchViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HRMSWebAPI.Transaction.Leave"> <AllStatusIND>true</AllStatusIND> <DateList xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:int>1</d2p1:int> <d2p1:int>2</d2p1:int> </DateList> <DepartmentID>5</DepartmentID> <EmployeeClassID>7</EmployeeClassID> <EmployeeID>4</EmployeeID> <EmployeeStatus>sample string 1</EmployeeStatus> <Fromdate>sample string 2</Fromdate> <LeaveStatus>sample string 6</LeaveStatus> <LeaveStatustxt>sample string 15</LeaveStatustxt> <List> <EmployeeLeaveDetailsModel> <Actions xmlns:d4p1="http://schemas.datacontract.org/2004/07/HRMSWebAPI.Transaction.Workflow"> <d4p1:ActionViewModel> <d4p1:ActionName>sample string 2</d4p1:ActionName> <d4p1:ActionType>sample string 4</d4p1:ActionType> <d4p1:RecordStatusCode>sample string 3</d4p1:RecordStatusCode> <d4p1:StatusCode>sample string 1</d4p1:StatusCode> </d4p1:ActionViewModel> <d4p1:ActionViewModel> <d4p1:ActionName>sample string 2</d4p1:ActionName> <d4p1:ActionType>sample string 4</d4p1:ActionType> <d4p1:RecordStatusCode>sample string 3</d4p1:RecordStatusCode> <d4p1:StatusCode>sample string 1</d4p1:StatusCode> </d4p1:ActionViewModel> </Actions> <Amount>9</Amount> <AppliedDate>sample string 10</AppliedDate> <ApproverName>sample string 18</ApproverName> <Assignedtoemployeeid>23</Assignedtoemployeeid> <DepartmentName>sample string 4</DepartmentName> <EmployeeClass>sample string 5</EmployeeClass> <EmployeeId>2</EmployeeId> <EmployeeName>sample string 3</EmployeeName> <From>sample string 7</From> <FromFullDayIND>true</FromFullDayIND> <FromHalfDayIND>true</FromHalfDayIND> <FromOrder>2025-04-04T23:47:19.0624491+05:30</FromOrder> <LeaveApplicationId>1</LeaveApplicationId> <LeaveStatus>sample string 12</LeaveStatus> <LeaveStatustxt>sample string 13</LeaveStatustxt> <NoofDays>21</NoofDays> <NoofLOPDays>22</NoofLOPDays> <PhotoPath>sample string 19</PhotoPath> <StatusCode>sample string 11</StatusCode> <TimeOffType>sample string 6</TimeOffType> <To>sample string 8</To> <ToFullDayIND>true</ToFullDayIND> <ToHalfDayIND>true</ToHalfDayIND> <Views xmlns:d4p1="http://schemas.datacontract.org/2004/07/HRMSWebAPI.Transaction.Workflow"> <d4p1:ActionViewModel> <d4p1:ActionName>sample string 2</d4p1:ActionName> <d4p1:ActionType>sample string 4</d4p1:ActionType> <d4p1:RecordStatusCode>sample string 3</d4p1:RecordStatusCode> <d4p1:StatusCode>sample string 1</d4p1:StatusCode> </d4p1:ActionViewModel> <d4p1:ActionViewModel> <d4p1:ActionName>sample string 2</d4p1:ActionName> <d4p1:ActionType>sample string 4</d4p1:ActionType> <d4p1:RecordStatusCode>sample string 3</d4p1:RecordStatusCode> <d4p1:StatusCode>sample string 1</d4p1:StatusCode> </d4p1:ActionViewModel> </Views> </EmployeeLeaveDetailsModel> <EmployeeLeaveDetailsModel> <Actions xmlns:d4p1="http://schemas.datacontract.org/2004/07/HRMSWebAPI.Transaction.Workflow"> <d4p1:ActionViewModel> <d4p1:ActionName>sample string 2</d4p1:ActionName> <d4p1:ActionType>sample string 4</d4p1:ActionType> <d4p1:RecordStatusCode>sample string 3</d4p1:RecordStatusCode> <d4p1:StatusCode>sample string 1</d4p1:StatusCode> </d4p1:ActionViewModel> <d4p1:ActionViewModel> <d4p1:ActionName>sample string 2</d4p1:ActionName> <d4p1:ActionType>sample string 4</d4p1:ActionType> <d4p1:RecordStatusCode>sample string 3</d4p1:RecordStatusCode> <d4p1:StatusCode>sample string 1</d4p1:StatusCode> </d4p1:ActionViewModel> </Actions> <Amount>9</Amount> <AppliedDate>sample string 10</AppliedDate> <ApproverName>sample string 18</ApproverName> <Assignedtoemployeeid>23</Assignedtoemployeeid> <DepartmentName>sample string 4</DepartmentName> <EmployeeClass>sample string 5</EmployeeClass> <EmployeeId>2</EmployeeId> <EmployeeName>sample string 3</EmployeeName> <From>sample string 7</From> <FromFullDayIND>true</FromFullDayIND> <FromHalfDayIND>true</FromHalfDayIND> <FromOrder>2025-04-04T23:47:19.0624491+05:30</FromOrder> <LeaveApplicationId>1</LeaveApplicationId> <LeaveStatus>sample string 12</LeaveStatus> <LeaveStatustxt>sample string 13</LeaveStatustxt> <NoofDays>21</NoofDays> <NoofLOPDays>22</NoofLOPDays> <PhotoPath>sample string 19</PhotoPath> <StatusCode>sample string 11</StatusCode> <TimeOffType>sample string 6</TimeOffType> <To>sample string 8</To> <ToFullDayIND>true</ToFullDayIND> <ToHalfDayIND>true</ToHalfDayIND> <Views xmlns:d4p1="http://schemas.datacontract.org/2004/07/HRMSWebAPI.Transaction.Workflow"> <d4p1:ActionViewModel> <d4p1:ActionName>sample string 2</d4p1:ActionName> <d4p1:ActionType>sample string 4</d4p1:ActionType> <d4p1:RecordStatusCode>sample string 3</d4p1:RecordStatusCode> <d4p1:StatusCode>sample string 1</d4p1:StatusCode> </d4p1:ActionViewModel> <d4p1:ActionViewModel> <d4p1:ActionName>sample string 2</d4p1:ActionName> <d4p1:ActionType>sample string 4</d4p1:ActionType> <d4p1:RecordStatusCode>sample string 3</d4p1:RecordStatusCode> <d4p1:StatusCode>sample string 1</d4p1:StatusCode> </d4p1:ActionViewModel> </Views> </EmployeeLeaveDetailsModel> </List> <LoggedInEmployeeId>9</LoggedInEmployeeId> <PhotoPath>sample string 14</PhotoPath> <StatusList xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:string>sample string 1</d2p1:string> <d2p1:string>sample string 2</d2p1:string> </StatusList> <Todate>sample string 3</Todate> <Year>10</Year> <strDepartmentID>sample string 12</strDepartmentID> <strEmployeeID>sample string 11</strEmployeeID> <strYear>sample string 13</strYear> </EmployeeLeaveSearchViewModel>
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.