POST api/PFSettings/Save
Request Information
URI Parameters
None.
Body Parameters
PFSettingsVM| Name | Description | Type | Additional information |
|---|---|---|---|
| BookId | integer |
Required |
|
| ContributionPerc | decimal number |
Required |
|
| EstablishContributionPerc | decimal number |
Required |
|
| MemberContributionPerc | decimal number |
Required |
|
| InterestPeriod | integer |
Required |
|
| RepayPeriod | integer |
Required |
|
| RepayProcessDate | integer |
Required |
|
| DuesPrefix | string |
None. |
|
| StartingFinYear | AccountFinYearLookup |
Required |
|
| FDInterestAccount | AccountMasterLookup |
Required |
|
| CreateUser | integer |
Required |
|
| CreateIp | string |
Required String length: inclusive between 0 and 20 |
|
| InterestAccounts | Collection of PFSettingsInterestAccountsVM |
None. |
Request Formats
application/json, text/json
Sample:
{
"BookId": 1,
"ContributionPerc": 2.0,
"EstablishContributionPerc": 3.0,
"MemberContributionPerc": 4.0,
"InterestPeriod": 5,
"RepayPeriod": 6,
"RepayProcessDate": 7,
"DuesPrefix": "sample string 8",
"StartingFinYear": {
"FinYearId": 1,
"FinYearName": "sample string 2"
},
"FDInterestAccount": {
"AccountId": 1,
"AccountName": "sample string 2"
},
"CreateUser": 9,
"CreateIp": "sample string 10",
"InterestAccounts": [
{
"Account": {
"AccountId": 1,
"AccountName": "sample string 2"
}
},
{
"Account": {
"AccountId": 1,
"AccountName": "sample string 2"
}
}
]
}
application/xml, text/xml
Sample:
<PFSettingsVM xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebAPI.Models">
<BookId>1</BookId>
<ContributionPerc>2</ContributionPerc>
<CreateIp>sample string 10</CreateIp>
<CreateUser>9</CreateUser>
<DuesPrefix>sample string 8</DuesPrefix>
<EstablishContributionPerc>3</EstablishContributionPerc>
<FDInterestAccount>
<AccountId>1</AccountId>
<AccountName>sample string 2</AccountName>
</FDInterestAccount>
<InterestAccounts>
<PFSettingsInterestAccountsVM>
<Account>
<AccountId>1</AccountId>
<AccountName>sample string 2</AccountName>
</Account>
</PFSettingsInterestAccountsVM>
<PFSettingsInterestAccountsVM>
<Account>
<AccountId>1</AccountId>
<AccountName>sample string 2</AccountName>
</Account>
</PFSettingsInterestAccountsVM>
</InterestAccounts>
<InterestPeriod>5</InterestPeriod>
<MemberContributionPerc>4</MemberContributionPerc>
<RepayPeriod>6</RepayPeriod>
<RepayProcessDate>7</RepayProcessDate>
<StartingFinYear>
<FinYearId>1</FinYearId>
<FinYearName>sample string 2</FinYearName>
</StartingFinYear>
</PFSettingsVM>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.