GET api/GetStaffExpenselist?StaffID={StaffID}&FromDate={FromDate}&ToDate={ToDate}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| StaffID | string |
Required |
|
| FromDate | string |
Required |
|
| ToDate | string |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of StaffExpenses| Name | Description | Type | Additional information |
|---|---|---|---|
| ID | integer |
None. |
|
| CompanyID | integer |
None. |
|
| StaffID | integer |
None. |
|
| StaffName | string |
None. |
|
| ExpenseDate | date |
None. |
|
| ExpenseTypeID | integer |
None. |
|
| ExpenseType | string |
None. |
|
| PaymentTypeID | integer |
None. |
|
| PaymentType | string |
None. |
|
| Amount | decimal number |
None. |
|
| TaxAmount | decimal number |
None. |
|
| TotalAmount | decimal number |
None. |
|
| Remarks | string |
None. |
|
| CreatedBy | integer |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"ID": 1,
"CompanyID": 2,
"StaffID": 3,
"StaffName": "sample string 4",
"ExpenseDate": "2026-02-24T16:19:24.0886716+05:30",
"ExpenseTypeID": 6,
"ExpenseType": "sample string 7",
"PaymentTypeID": 8,
"PaymentType": "sample string 9",
"Amount": 10.0,
"TaxAmount": 11.0,
"TotalAmount": 12.0,
"Remarks": "sample string 13",
"CreatedBy": 16
},
{
"ID": 1,
"CompanyID": 2,
"StaffID": 3,
"StaffName": "sample string 4",
"ExpenseDate": "2026-02-24T16:19:24.0886716+05:30",
"ExpenseTypeID": 6,
"ExpenseType": "sample string 7",
"PaymentTypeID": 8,
"PaymentType": "sample string 9",
"Amount": 10.0,
"TaxAmount": 11.0,
"TotalAmount": 12.0,
"Remarks": "sample string 13",
"CreatedBy": 16
}
]
application/xml, text/xml
Sample:
<ArrayOfStaffExpenses xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/NEXABIT.TMS.BO">
<StaffExpenses>
<Amount>10</Amount>
<CompanyID>2</CompanyID>
<CreatedBy>16</CreatedBy>
<ExpenseDate>2026-02-24T16:19:24.0886716+05:30</ExpenseDate>
<ExpenseType>sample string 7</ExpenseType>
<ExpenseTypeID>6</ExpenseTypeID>
<ID>1</ID>
<PaymentType>sample string 9</PaymentType>
<PaymentTypeID>8</PaymentTypeID>
<Remarks>sample string 13</Remarks>
<StaffID>3</StaffID>
<StaffName>sample string 4</StaffName>
<TaxAmount>11</TaxAmount>
<TotalAmount>12</TotalAmount>
</StaffExpenses>
<StaffExpenses>
<Amount>10</Amount>
<CompanyID>2</CompanyID>
<CreatedBy>16</CreatedBy>
<ExpenseDate>2026-02-24T16:19:24.0886716+05:30</ExpenseDate>
<ExpenseType>sample string 7</ExpenseType>
<ExpenseTypeID>6</ExpenseTypeID>
<ID>1</ID>
<PaymentType>sample string 9</PaymentType>
<PaymentTypeID>8</PaymentTypeID>
<Remarks>sample string 13</Remarks>
<StaffID>3</StaffID>
<StaffName>sample string 4</StaffName>
<TaxAmount>11</TaxAmount>
<TotalAmount>12</TotalAmount>
</StaffExpenses>
</ArrayOfStaffExpenses>