GET api/budget/budgetlines?entityId={entityId}&year={year}&chartOfAccountId={chartOfAccountId}
GET: api/Budget
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| entityId |
|
integer |
Required |
| year |
|
integer |
Required |
| chartOfAccountId |
|
integer |
Required |
Body Parameters
None.
Response Information
Resource Description
Budget Line Items for the year
Collection of BudgetLineItemModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Id |
|
integer |
None. |
| BudgetId |
|
integer |
None. |
| Description |
|
string |
None. |
| Amount |
|
decimal number |
None. |
| GlSubAccountId |
|
integer |
None. |
| ChartOfAccountId |
|
integer |
None. |
| Active |
|
integer |
None. |
| FundId |
|
integer |
None. |
Response Formats
application/json, text/json
[
{
"id": 1,
"budgetId": 2,
"description": "sample string 3",
"amount": 1.0,
"glSubAccountId": 1,
"chartOfAccountId": 4,
"active": 5,
"fundId": 1
},
{
"id": 1,
"budgetId": 2,
"description": "sample string 3",
"amount": 1.0,
"glSubAccountId": 1,
"chartOfAccountId": 4,
"active": 5,
"fundId": 1
}
]
application/xml, text/xml
<ArrayOfBudgetLineItemModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CamAcctApi.Core.Models">
<BudgetLineItemModel>
<Active>5</Active>
<Amount>1</Amount>
<BudgetId>2</BudgetId>
<ChartOfAccountId>4</ChartOfAccountId>
<Description>sample string 3</Description>
<FundId>1</FundId>
<GlSubAccountId>1</GlSubAccountId>
<Id>1</Id>
</BudgetLineItemModel>
<BudgetLineItemModel>
<Active>5</Active>
<Amount>1</Amount>
<BudgetId>2</BudgetId>
<ChartOfAccountId>4</ChartOfAccountId>
<Description>sample string 3</Description>
<FundId>1</FundId>
<GlSubAccountId>1</GlSubAccountId>
<Id>1</Id>
</BudgetLineItemModel>
</ArrayOfBudgetLineItemModel>