POST api/FDDepositClose/Save

Request Information

URI Parameters

None.

Body Parameters

FDDepositCloseSaveVM
NameDescriptionTypeAdditional 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

AccountBookTypeLookupVM

Required

DepositRefNoWithPrefix

string

Required

string length: inclusive between 0 and 20

Category

FDCategoryLookupVM

Required

BankBranch

BankBranchMasterLookupVM

Required

AccountNumber

string

Required

DepositAmount

decimal number

Required

Period

FDPeriodLookupVM

Required

InterestRate

decimal number

Required

InterestPayable

FDInterestPayableLookupVM

Required

AccountIdIntCredit

AccountMasterLookupVM

Required

ReceiptNum

string

string length: inclusive between 0 and 100

ReceiptDate

string

None.

MaturityDate

string

None.

MaturityAmount

decimal number

None.

DepositAcc

AccountMasterLookupVM

Required

InterestAcc

AccountMasterLookupVM

Required

FinYear

AccountFinYearLookupVM

Required

DepositName

FDDepositNameLookupVM

Required

AmtTransferAcc

AccountMasterLookupVM

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"
  },
  "AccountNumber": "sample string 15",
  "DepositAmount": 16.0,
  "Period": {
    "FxdPeriodId": 1,
    "FxdPeriodName": "sample string 2"
  },
  "InterestRate": 17.0,
  "InterestPayable": {
    "IntpayId": 1,
    "IntpayName": "sample string 2"
  },
  "AccountIdIntCredit": {
    "AccountId": 1,
    "AccountName": "sample string 2"
  },
  "ReceiptNum": "sample string 18",
  "ReceiptDate": "sample string 19",
  "MaturityDate": "sample string 20",
  "MaturityAmount": 21.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>
  <AccountNumber>sample string 15</AccountNumber>
  <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>16</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>17</InterestRate>
  <InterestRefund>11</InterestRefund>
  <MaturityAmount>21</MaturityAmount>
  <MaturityDate>sample string 20</MaturityDate>
  <Period>
    <FxdPeriodId>1</FxdPeriodId>
    <FxdPeriodName>sample string 2</FxdPeriodName>
  </Period>
  <PreMatureCloseDate>sample string 8</PreMatureCloseDate>
  <PreMatureSts>sample string 7</PreMatureSts>
  <ReceiptDate>sample string 19</ReceiptDate>
  <ReceiptNum>sample string 18</ReceiptNum>
  <Remarks>sample string 9</Remarks>
  <TotalInterestRec>6</TotalInterestRec>
</FDDepositCloseSaveVM>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.