POST api/HR/GetEmployeeAbsenceList
Request Information
URI Parameters
None.
Body Parameters
GetEmployeeAbsenceListCriteriaViewModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Employee_No | string |
None. |
|
| Employee_Name | string |
None. |
|
| From_Date | string |
None. |
|
| To_Date | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"Employee_No": "sample string 1",
"Employee_Name": "sample string 2",
"From_Date": "sample string 3",
"To_Date": "sample string 4"
}
application/xml, text/xml
Sample:
<GetEmployeeAbsenceListCriteriaViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Layan_Cargo_API.ViewModels"> <Employee_Name>sample string 2</Employee_Name> <Employee_No>sample string 1</Employee_No> <From_Date>sample string 3</From_Date> <To_Date>sample string 4</To_Date> </GetEmployeeAbsenceListCriteriaViewModel>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
ResultModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Success | string |
None. |
|
| ErrorText | string |
None. |
|
| Data | Object |
None. |
Response Formats
application/json, text/json
Sample:
{
"Success": "sample string 1",
"ErrorText": "sample string 2",
"Data": {}
}
application/xml, text/xml
Sample:
<ResultModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Layan_Cargo_API.Models"> <Data /> <ErrorText>sample string 2</ErrorText> <Success>sample string 1</Success> </ResultModel>