PUT api/funds/{fundId}
Update fund
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| fundId |
|
integer |
Required |
Body Parameters
UpdateFundViewModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Name |
|
string |
Required |
| Code |
|
string |
Required Max length: 3 Min length: 3 |
| EffectiveDate |
|
date |
Required |
| FundTypeId |
|
integer |
Required |
| RetireDate |
|
date |
None. |
| ClosingChartOfAccountId |
|
integer |
Required |
| InterFundChartOfAccountId |
|
integer |
Required |
| BankCodeIds |
|
Collection of integer |
None. |
| ChargeCodeIds |
|
Collection of integer |
None. |
| SecurityDepositTypeIds |
|
Collection of integer |
None. |
Request Formats
application/json, text/json
{
"name": "sample string 1",
"code": "sample string 2",
"effectiveDate": "2025-10-29T04:40:44.5749007-04:00",
"fundTypeId": 1,
"retireDate": "2025-10-29T04:40:44.5749007-04:00",
"closingChartOfAccountId": 1,
"interFundChartOfAccountId": 1,
"bankCodeIds": [
1,
2
],
"chargeCodeIds": [
1,
2
],
"securityDepositTypeIds": [
1,
2
]
}
application/xml, text/xml
<UpdateFundViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CamAcctApi.ViewModels">
<BankCodeIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:int>1</d2p1:int>
<d2p1:int>2</d2p1:int>
</BankCodeIds>
<ChargeCodeIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:int>1</d2p1:int>
<d2p1:int>2</d2p1:int>
</ChargeCodeIds>
<ClosingChartOfAccountId>1</ClosingChartOfAccountId>
<Code>sample string 2</Code>
<EffectiveDate>2025-10-29T04:40:44.5749007-04:00</EffectiveDate>
<FundTypeId>1</FundTypeId>
<InterFundChartOfAccountId>1</InterFundChartOfAccountId>
<Name>sample string 1</Name>
<RetireDate>2025-10-29T04:40:44.5749007-04:00</RetireDate>
<SecurityDepositTypeIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:int>1</d2p1:int>
<d2p1:int>2</d2p1:int>
</SecurityDepositTypeIds>
</UpdateFundViewModel>
application/x-www-form-urlencoded
Response Information
Resource Description
No content
FundViewModel| Name | Description | Type | Additional 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
{
"id": 1,
"name": "sample string 2",
"code": "sample string 3",
"effectiveDate": "2025-10-29T04:40:44.5749007-04:00",
"fundTypeId": 5,
"superEntityId": 6,
"retireDate": "2025-10-29T04:40:44.5749007-04:00",
"closingChartOfAccountId": 7,
"interFundChartOfAccountId": 8,
"isDefault": true
}
application/xml, text/xml
<FundViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CamAcctApi.ViewModels"> <ClosingChartOfAccountId>7</ClosingChartOfAccountId> <Code>sample string 3</Code> <EffectiveDate>2025-10-29T04:40:44.5749007-04:00</EffectiveDate> <FundTypeId>5</FundTypeId> <Id>1</Id> <InterFundChartOfAccountId>8</InterFundChartOfAccountId> <IsDefault>true</IsDefault> <Name>sample string 2</Name> <RetireDate>2025-10-29T04:40:44.5749007-04:00</RetireDate> <SuperEntityId>6</SuperEntityId> </FundViewModel>