POST api/FDDepositClose/Save
Request Information
URI Parameters
None.
Body Parameters
FDDepositCloseSaveVM| Name | Description | Type | Additional information |
|---|---|---|---|
| BookId | integer |
Required |
|
| DepositCloseRefNoWithPrefix | string |
Required String length: inclusive between 0 and 10 |
|
| DepositCloseDate | string |
Required |
|
| CloseRenewSts | string |
Required Matching regular expression pattern: C|R |
|
| ClosedDepositId | integer |
Required |
|
| TotalInterestRec | decimal number |
Required |
|
| PreMatureSts | string |
Required Matching regular expression pattern: Y|N |
|
| PreMatureCloseDate | string |
None. |
|
| Remarks | string |
String length: inclusive between 0 and 1000 |
|
| EffectInterestRate | decimal number |
Required |
|
| InterestRefund | decimal number |
Required |
|
| CreateUser | integer |
Required |
|
| CreateIp | string |
Required String length: inclusive between 0 and 20 |
|
| BookType | AccountBookTypeLookup |
Required |
|
| DepositRefNoWithPrefix | string |
Required String length: inclusive between 0 and 20 |
|
| Category | FDCategoryLookupVM |
Required |
|
| BankBranch | BankBranchMasterLookupVM |
Required |
|
| DepositAmount | decimal number |
Required |
|
| Period | FDPeriodLookupVM |
Required |
|
| InterestRate | decimal number |
Required |
|
| InterestPayable | FDInterestPayableLookupVM |
Required |
|
| AccountIdIntCredit | AccountMasterLookup |
Required |
|
| ReceiptNum | string |
String length: inclusive between 0 and 100 |
|
| ReceiptDate | string |
None. |
|
| MaturityDate | string |
None. |
|
| MaturityAmount | decimal number |
None. |
|
| DepositAcc | AccountMasterLookup |
Required |
|
| InterestAcc | AccountMasterLookup |
Required |
|
| FinYear | AccountFinYearLookup |
Required |
|
| DepositName | FDDepositNameLookupVM |
Required |
|
| AmtTransferAcc | AccountMasterLookup |
Required |
Request Formats
application/json, text/json
Sample:
{
"BookId": 1,
"DepositCloseRefNoWithPrefix": "sample string 2",
"DepositCloseDate": "sample string 3",
"CloseRenewSts": "sample string 4",
"ClosedDepositId": 5,
"TotalInterestRec": 6.0,
"PreMatureSts": "sample string 7",
"PreMatureCloseDate": "sample string 8",
"Remarks": "sample string 9",
"EffectInterestRate": 10.0,
"InterestRefund": 11.0,
"CreateUser": 12,
"CreateIp": "sample string 13",
"BookType": {
"BookTypeId": 1,
"BookTypeName": "sample string 2"
},
"DepositRefNoWithPrefix": "sample string 14",
"Category": {
"FxdCategoryId": 1,
"FxdCategoryName": "sample string 2"
},
"BankBranch": {
"BankBranchId": 1,
"BankBranchName": "sample string 2"
},
"DepositAmount": 15.0,
"Period": {
"FxdPeriodId": 1,
"FxdPeriodName": "sample string 2"
},
"InterestRate": 16.0,
"InterestPayable": {
"IntpayId": 1,
"IntpayName": "sample string 2"
},
"AccountIdIntCredit": {
"AccountId": 1,
"AccountName": "sample string 2"
},
"ReceiptNum": "sample string 17",
"ReceiptDate": "sample string 18",
"MaturityDate": "sample string 19",
"MaturityAmount": 20.0,
"DepositAcc": {
"AccountId": 1,
"AccountName": "sample string 2"
},
"InterestAcc": {
"AccountId": 1,
"AccountName": "sample string 2"
},
"FinYear": {
"FinYearId": 1,
"FinYearName": "sample string 2"
},
"DepositName": {
"DepositNameId": 1,
"DepositName": "sample string 2"
},
"AmtTransferAcc": {
"AccountId": 1,
"AccountName": "sample string 2"
}
}
application/xml, text/xml
Sample:
<FDDepositCloseSaveVM xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebAPI.Models">
<AccountIdIntCredit>
<AccountId>1</AccountId>
<AccountName>sample string 2</AccountName>
</AccountIdIntCredit>
<AmtTransferAcc>
<AccountId>1</AccountId>
<AccountName>sample string 2</AccountName>
</AmtTransferAcc>
<BankBranch>
<BankBranchId>1</BankBranchId>
<BankBranchName>sample string 2</BankBranchName>
</BankBranch>
<BookId>1</BookId>
<BookType>
<BookTypeId>1</BookTypeId>
<BookTypeName>sample string 2</BookTypeName>
</BookType>
<Category>
<FxdCategoryId>1</FxdCategoryId>
<FxdCategoryName>sample string 2</FxdCategoryName>
</Category>
<CloseRenewSts>sample string 4</CloseRenewSts>
<ClosedDepositId>5</ClosedDepositId>
<CreateIp>sample string 13</CreateIp>
<CreateUser>12</CreateUser>
<DepositAcc>
<AccountId>1</AccountId>
<AccountName>sample string 2</AccountName>
</DepositAcc>
<DepositAmount>15</DepositAmount>
<DepositCloseDate>sample string 3</DepositCloseDate>
<DepositCloseRefNoWithPrefix>sample string 2</DepositCloseRefNoWithPrefix>
<DepositName>
<DepositName>sample string 2</DepositName>
<DepositNameId>1</DepositNameId>
</DepositName>
<DepositRefNoWithPrefix>sample string 14</DepositRefNoWithPrefix>
<EffectInterestRate>10</EffectInterestRate>
<FinYear>
<FinYearId>1</FinYearId>
<FinYearName>sample string 2</FinYearName>
</FinYear>
<InterestAcc>
<AccountId>1</AccountId>
<AccountName>sample string 2</AccountName>
</InterestAcc>
<InterestPayable>
<IntpayId>1</IntpayId>
<IntpayName>sample string 2</IntpayName>
</InterestPayable>
<InterestRate>16</InterestRate>
<InterestRefund>11</InterestRefund>
<MaturityAmount>20</MaturityAmount>
<MaturityDate>sample string 19</MaturityDate>
<Period>
<FxdPeriodId>1</FxdPeriodId>
<FxdPeriodName>sample string 2</FxdPeriodName>
</Period>
<PreMatureCloseDate>sample string 8</PreMatureCloseDate>
<PreMatureSts>sample string 7</PreMatureSts>
<ReceiptDate>sample string 18</ReceiptDate>
<ReceiptNum>sample string 17</ReceiptNum>
<Remarks>sample string 9</Remarks>
<TotalInterestRec>6</TotalInterestRec>
</FDDepositCloseSaveVM>
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.