POST api/FDDeposit/Save

Request Information

URI Parameters

None.

Body Parameters

FDDepositSaveVM
NameDescriptionTypeAdditional information
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

CreateUser

integer

Required

CreateIp

string

Required

String length: inclusive between 0 and 20

DepositName

FDDepositNameLookupVM

Required

Request Formats

application/json, text/json

Sample:
{
  "BookId": 1,
  "BookType": {
    "BookTypeId": 1,
    "BookTypeName": "sample string 2"
  },
  "DepositRefNoWithPrefix": "sample string 2",
  "DepositDate": "sample string 3",
  "Category": {
    "FxdCategoryId": 1,
    "FxdCategoryName": "sample string 2"
  },
  "BankBranch": {
    "BankBranchId": 1,
    "BankBranchName": "sample string 2"
  },
  "DepositAmount": 4.0,
  "StartDate": "sample string 5",
  "Period": {
    "FxdPeriodId": 1,
    "FxdPeriodName": "sample string 2"
  },
  "InterestRate": 6.0,
  "InterestPayable": {
    "IntpayId": 1,
    "IntpayName": "sample string 2"
  },
  "AccountIdIntCredit": {
    "AccountId": 1,
    "AccountName": "sample string 2"
  },
  "TotalInterestRec": 7.0,
  "ReceiptNum": "sample string 8",
  "ReceiptDate": "sample string 9",
  "MaturityDate": "sample string 10",
  "MaturityAmount": 11.0,
  "DepositAcc": {
    "AccountId": 1,
    "AccountName": "sample string 2"
  },
  "InterestAcc": {
    "AccountId": 1,
    "AccountName": "sample string 2"
  },
  "Remarks": "sample string 12",
  "FinYear": {
    "FinYearId": 1,
    "FinYearName": "sample string 2"
  },
  "CreateUser": 13,
  "CreateIp": "sample string 14",
  "DepositName": {
    "DepositNameId": 1,
    "DepositName": "sample string 2"
  }
}

application/xml, text/xml

Sample:
<FDDepositSaveVM 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>1</BookId>
  <BookType>
    <BookTypeId>1</BookTypeId>
    <BookTypeName>sample string 2</BookTypeName>
  </BookType>
  <Category>
    <FxdCategoryId>1</FxdCategoryId>
    <FxdCategoryName>sample string 2</FxdCategoryName>
  </Category>
  <CreateIp>sample string 14</CreateIp>
  <CreateUser>13</CreateUser>
  <DepositAcc>
    <AccountId>1</AccountId>
    <AccountName>sample string 2</AccountName>
  </DepositAcc>
  <DepositAmount>4</DepositAmount>
  <DepositDate>sample string 3</DepositDate>
  <DepositName>
    <DepositName>sample string 2</DepositName>
    <DepositNameId>1</DepositNameId>
  </DepositName>
  <DepositRefNoWithPrefix>sample string 2</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>6</InterestRate>
  <MaturityAmount>11</MaturityAmount>
  <MaturityDate>sample string 10</MaturityDate>
  <Period>
    <FxdPeriodId>1</FxdPeriodId>
    <FxdPeriodName>sample string 2</FxdPeriodName>
  </Period>
  <ReceiptDate>sample string 9</ReceiptDate>
  <ReceiptNum>sample string 8</ReceiptNum>
  <Remarks>sample string 12</Remarks>
  <StartDate>sample string 5</StartDate>
  <TotalInterestRec>7</TotalInterestRec>
</FDDepositSaveVM>

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.