GET api/IncomeExpenseReport/{id}?type={type}&year={year}
Gets a list of income and expense report item.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id |
Organization Id. |
integer |
Required |
type |
List Type. |
string |
Required |
year |
Year. |
integer |
None. |
Body Parameters
None.
Response Information
Resource Description
Collection of IncomeExpenseReportName | Description | Type | Additional information |
---|---|---|---|
CategoryType | string |
None. |
|
Category | string |
None. |
|
CategoryTotal | decimal number |
None. |
|
CategoryTotalPreviousYear | decimal number |
None. |
Response Formats
application/json, text/json
Sample:
[ { "CategoryType": "sample string 1", "Category": "sample string 2", "CategoryTotal": 1.0, "CategoryTotalPreviousYear": 1.0 }, { "CategoryType": "sample string 1", "Category": "sample string 2", "CategoryTotal": 1.0, "CategoryTotalPreviousYear": 1.0 } ]
application/xml, text/xml
Sample:
<ArrayOfIncomeExpenseReport xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CustomersdbWebShared.Models"> <IncomeExpenseReport> <Category>sample string 2</Category> <CategoryTotal>1</CategoryTotal> <CategoryTotalPreviousYear>1</CategoryTotalPreviousYear> <CategoryType>sample string 1</CategoryType> </IncomeExpenseReport> <IncomeExpenseReport> <Category>sample string 2</Category> <CategoryTotal>1</CategoryTotal> <CategoryTotalPreviousYear>1</CategoryTotalPreviousYear> <CategoryType>sample string 1</CategoryType> </IncomeExpenseReport> </ArrayOfIncomeExpenseReport>