GET api/ExpenseReport/{id}?type={type}&year={year}
Gets a list of income 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 ExpenseReportName | Description | Type | Additional information |
---|---|---|---|
PurchaseOrderId | integer |
None. |
|
PurchaseOrderNumber | integer |
None. |
|
ExpenseCategoryId | integer |
None. |
|
Category | string |
None. |
|
PurchaseOrderDate | date |
None. |
|
Description | string |
None. |
|
SupplierName | string |
None. |
|
OrderTotal | decimal number |
None. |
Response Formats
application/json, text/json
Sample:
[ { "PurchaseOrderId": 1, "PurchaseOrderNumber": 1, "ExpenseCategoryId": 1, "Category": "sample string 2", "PurchaseOrderDate": "2025-01-15T14:54:06.595267+00:00", "Description": "sample string 3", "SupplierName": "sample string 4", "OrderTotal": 1.0 }, { "PurchaseOrderId": 1, "PurchaseOrderNumber": 1, "ExpenseCategoryId": 1, "Category": "sample string 2", "PurchaseOrderDate": "2025-01-15T14:54:06.595267+00:00", "Description": "sample string 3", "SupplierName": "sample string 4", "OrderTotal": 1.0 } ]
application/xml, text/xml
Sample:
<ArrayOfExpenseReport xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CustomersdbWebShared.Models"> <ExpenseReport> <Category>sample string 2</Category> <Description>sample string 3</Description> <ExpenseCategoryId>1</ExpenseCategoryId> <OrderTotal>1</OrderTotal> <PurchaseOrderDate>2025-01-15T14:54:06.595267+00:00</PurchaseOrderDate> <PurchaseOrderId>1</PurchaseOrderId> <PurchaseOrderNumber>1</PurchaseOrderNumber> <SupplierName>sample string 4</SupplierName> </ExpenseReport> <ExpenseReport> <Category>sample string 2</Category> <Description>sample string 3</Description> <ExpenseCategoryId>1</ExpenseCategoryId> <OrderTotal>1</OrderTotal> <PurchaseOrderDate>2025-01-15T14:54:06.595267+00:00</PurchaseOrderDate> <PurchaseOrderId>1</PurchaseOrderId> <PurchaseOrderNumber>1</PurchaseOrderNumber> <SupplierName>sample string 4</SupplierName> </ExpenseReport> </ArrayOfExpenseReport>