PUT api/FDDeposit/Update
Request Information
URI Parameters
None.
Body Parameters
FDDepositUpdateVM| Name | Description | Type | Additional information |
|---|---|---|---|
| DepositId | integer |
Required |
|
| BookId | integer |
Required |
|
| BookType | AccountBookTypeLookup |
Required |
|
| DepositRefNoWithPrefix | string |
Required String length: inclusive between 0 and 20 |
|
| DepositDate | string |
Required |
|
| Category | FDCategoryLookupVM |
Required |
|
| BankBranch | BankBranchMasterLookupVM |
Required |
|
| DepositAmount | decimal number |
Required |
|
| StartDate | string |
Required |
|
| Period | FDPeriodLookupVM |
Required |
|
| InterestRate | decimal number |
Required |
|
| InterestPayable | FDInterestPayableLookupVM |
Required |
|
| AccountIdIntCredit | AccountMasterLookup |
Required |
|
| TotalInterestRec | decimal number |
None. |
|
| 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 |
|
| Remarks | string |
String length: inclusive between 0 and 1000 |
|
| FinYear | AccountFinYearLookup |
Required |
|
| ConfirmStatus | string |
Required Matching regular expression pattern: Y|N |
|
| UpdateUser | integer |
Required |
|
| UpdateIp | string |
Required String length: inclusive between 0 and 20 |
|
| DepositName | FDDepositNameLookupVM |
Required |
Request Formats
application/json, text/json
Sample:
{
"DepositId": 1,
"BookId": 2,
"BookType": {
"BookTypeId": 1,
"BookTypeName": "sample string 2"
},
"DepositRefNoWithPrefix": "sample string 3",
"DepositDate": "sample string 4",
"Category": {
"FxdCategoryId": 1,
"FxdCategoryName": "sample string 2"
},
"BankBranch": {
"BankBranchId": 1,
"BankBranchName": "sample string 2"
},
"DepositAmount": 5.0,
"StartDate": "sample string 6",
"Period": {
"FxdPeriodId": 1,
"FxdPeriodName": "sample string 2"
},
"InterestRate": 7.0,
"InterestPayable": {
"IntpayId": 1,
"IntpayName": "sample string 2"
},
"AccountIdIntCredit": {
"AccountId": 1,
"AccountName": "sample string 2"
},
"TotalInterestRec": 8.0,
"ReceiptNum": "sample string 9",
"ReceiptDate": "sample string 10",
"MaturityDate": "sample string 11",
"MaturityAmount": 12.0,
"DepositAcc": {
"AccountId": 1,
"AccountName": "sample string 2"
},
"InterestAcc": {
"AccountId": 1,
"AccountName": "sample string 2"
},
"Remarks": "sample string 13",
"FinYear": {
"FinYearId": 1,
"FinYearName": "sample string 2"
},
"ConfirmStatus": "sample string 14",
"UpdateUser": 15,
"UpdateIp": "sample string 16",
"DepositName": {
"DepositNameId": 1,
"DepositName": "sample string 2"
}
}
application/xml, text/xml
Sample:
<FDDepositUpdateVM 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>
<BankBranch>
<BankBranchId>1</BankBranchId>
<BankBranchName>sample string 2</BankBranchName>
</BankBranch>
<BookId>2</BookId>
<BookType>
<BookTypeId>1</BookTypeId>
<BookTypeName>sample string 2</BookTypeName>
</BookType>
<Category>
<FxdCategoryId>1</FxdCategoryId>
<FxdCategoryName>sample string 2</FxdCategoryName>
</Category>
<ConfirmStatus>sample string 14</ConfirmStatus>
<DepositAcc>
<AccountId>1</AccountId>
<AccountName>sample string 2</AccountName>
</DepositAcc>
<DepositAmount>5</DepositAmount>
<DepositDate>sample string 4</DepositDate>
<DepositId>1</DepositId>
<DepositName>
<DepositName>sample string 2</DepositName>
<DepositNameId>1</DepositNameId>
</DepositName>
<DepositRefNoWithPrefix>sample string 3</DepositRefNoWithPrefix>
<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>7</InterestRate>
<MaturityAmount>12</MaturityAmount>
<MaturityDate>sample string 11</MaturityDate>
<Period>
<FxdPeriodId>1</FxdPeriodId>
<FxdPeriodName>sample string 2</FxdPeriodName>
</Period>
<ReceiptDate>sample string 10</ReceiptDate>
<ReceiptNum>sample string 9</ReceiptNum>
<Remarks>sample string 13</Remarks>
<StartDate>sample string 6</StartDate>
<TotalInterestRec>8</TotalInterestRec>
<UpdateIp>sample string 16</UpdateIp>
<UpdateUser>15</UpdateUser>
</FDDepositUpdateVM>
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.