GET api/budget/funds?year={year}&entityId={entityId}

GET: api/Budget

Request Information

URI Parameters

NameDescriptionTypeAdditional information
year

integer

Required

entityId

integer

Required

Body Parameters

None.

Response Information

Resource Description

The list of funds for the budget with the year and the entity id passed as parameters

Collection of FundViewModel
NameDescriptionTypeAdditional information
Id

Id

integer

None.

Name

Name

string

None.

Code

Code

string

None.

EffectiveDate

EffectiveDate

date

None.

FundTypeId

FundTypeId

integer

None.

SuperEntityId

SuperEntityId

integer

None.

RetireDate

RetireDate

date

None.

ClosingChartOfAccountId

ClosingChartOfAccountId

integer

None.

InterFundChartOfAccountId

InterFundChartOfAccountId

integer

None.

IsDefault

IsDefault

boolean

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "id": 1,
    "name": "sample string 2",
    "code": "sample string 3",
    "effectiveDate": "2024-10-14T08:25:03.4631445-04:00",
    "fundTypeId": 5,
    "superEntityId": 6,
    "retireDate": "2024-10-14T08:25:03.4631445-04:00",
    "closingChartOfAccountId": 7,
    "interFundChartOfAccountId": 8,
    "isDefault": true
  },
  {
    "id": 1,
    "name": "sample string 2",
    "code": "sample string 3",
    "effectiveDate": "2024-10-14T08:25:03.4631445-04:00",
    "fundTypeId": 5,
    "superEntityId": 6,
    "retireDate": "2024-10-14T08:25:03.4631445-04:00",
    "closingChartOfAccountId": 7,
    "interFundChartOfAccountId": 8,
    "isDefault": true
  }
]

application/xml, text/xml

Sample:
<ArrayOfFundViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CamAcctApi.ViewModels">
  <FundViewModel>
    <ClosingChartOfAccountId>7</ClosingChartOfAccountId>
    <Code>sample string 3</Code>
    <EffectiveDate>2024-10-14T08:25:03.4631445-04:00</EffectiveDate>
    <FundTypeId>5</FundTypeId>
    <Id>1</Id>
    <InterFundChartOfAccountId>8</InterFundChartOfAccountId>
    <IsDefault>true</IsDefault>
    <Name>sample string 2</Name>
    <RetireDate>2024-10-14T08:25:03.4631445-04:00</RetireDate>
    <SuperEntityId>6</SuperEntityId>
  </FundViewModel>
  <FundViewModel>
    <ClosingChartOfAccountId>7</ClosingChartOfAccountId>
    <Code>sample string 3</Code>
    <EffectiveDate>2024-10-14T08:25:03.4631445-04:00</EffectiveDate>
    <FundTypeId>5</FundTypeId>
    <Id>1</Id>
    <InterFundChartOfAccountId>8</InterFundChartOfAccountId>
    <IsDefault>true</IsDefault>
    <Name>sample string 2</Name>
    <RetireDate>2024-10-14T08:25:03.4631445-04:00</RetireDate>
    <SuperEntityId>6</SuperEntityId>
  </FundViewModel>
</ArrayOfFundViewModel>