GET api/Dashboard?empid={empid}&empname={empname}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| empid | integer |
Required |
|
| empname | string |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of Emp_dtl| Name | Description | Type | Additional information |
|---|---|---|---|
| Cashbalance | string |
None. |
|
| LoanBalance | string |
None. |
|
| LT | Collection of LeaveType |
None. |
|
| PT | Collection of PermissionType |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"Cashbalance": "sample string 1",
"LoanBalance": "sample string 2",
"LT": [
{
"ltEntryType": "sample string 1",
"ltAvailble": 2.0,
"ltBalance": 3.0
},
{
"ltEntryType": "sample string 1",
"ltAvailble": 2.0,
"ltBalance": 3.0
}
],
"PT": [
{
"ptEntryType": "sample string 1",
"ptAvailble": 2.0,
"ptBalance": 3.0
},
{
"ptEntryType": "sample string 1",
"ptAvailble": 2.0,
"ptBalance": 3.0
}
]
},
{
"Cashbalance": "sample string 1",
"LoanBalance": "sample string 2",
"LT": [
{
"ltEntryType": "sample string 1",
"ltAvailble": 2.0,
"ltBalance": 3.0
},
{
"ltEntryType": "sample string 1",
"ltAvailble": 2.0,
"ltBalance": 3.0
}
],
"PT": [
{
"ptEntryType": "sample string 1",
"ptAvailble": 2.0,
"ptBalance": 3.0
},
{
"ptEntryType": "sample string 1",
"ptAvailble": 2.0,
"ptBalance": 3.0
}
]
}
]
application/xml, text/xml
Sample:
<ArrayOfEmp_dtl xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/apiAndroid.Controllers">
<Emp_dtl>
<Cashbalance>sample string 1</Cashbalance>
<LT>
<LeaveType>
<ltAvailble>2</ltAvailble>
<ltBalance>3</ltBalance>
<ltEntryType>sample string 1</ltEntryType>
</LeaveType>
<LeaveType>
<ltAvailble>2</ltAvailble>
<ltBalance>3</ltBalance>
<ltEntryType>sample string 1</ltEntryType>
</LeaveType>
</LT>
<LoanBalance>sample string 2</LoanBalance>
<PT>
<PermissionType>
<ptAvailble>2</ptAvailble>
<ptBalance>3</ptBalance>
<ptEntryType>sample string 1</ptEntryType>
</PermissionType>
<PermissionType>
<ptAvailble>2</ptAvailble>
<ptBalance>3</ptBalance>
<ptEntryType>sample string 1</ptEntryType>
</PermissionType>
</PT>
</Emp_dtl>
<Emp_dtl>
<Cashbalance>sample string 1</Cashbalance>
<LT>
<LeaveType>
<ltAvailble>2</ltAvailble>
<ltBalance>3</ltBalance>
<ltEntryType>sample string 1</ltEntryType>
</LeaveType>
<LeaveType>
<ltAvailble>2</ltAvailble>
<ltBalance>3</ltBalance>
<ltEntryType>sample string 1</ltEntryType>
</LeaveType>
</LT>
<LoanBalance>sample string 2</LoanBalance>
<PT>
<PermissionType>
<ptAvailble>2</ptAvailble>
<ptBalance>3</ptBalance>
<ptEntryType>sample string 1</ptEntryType>
</PermissionType>
<PermissionType>
<ptAvailble>2</ptAvailble>
<ptBalance>3</ptBalance>
<ptEntryType>sample string 1</ptEntryType>
</PermissionType>
</PT>
</Emp_dtl>
</ArrayOfEmp_dtl>