POST api/PFInterestRate/Save

Request Information

URI Parameters

None.

Body Parameters

PFInterestRateSaveVM
NameDescriptionTypeAdditional information
BookId

integer

Required

FinYear

AccountFinYearLookupVM

Required

CreateUser

integer

Required

CreateIp

string

Required

string length: inclusive between 0 and 20

DetailsList

Collection of PFInterestRateByIdVM

Required

Request Formats

application/json, text/json

Sample:
{
  "BookId": 1,
  "FinYear": {
    "FinYearId": 1,
    "FinYearName": "sample string 2"
  },
  "CreateUser": 2,
  "CreateIp": "sample string 3",
  "DetailsList": [
    {
      "Slno": 1,
      "FromDate": "sample string 2",
      "ToDate": "sample string 3",
      "InterestRate": 4.0,
      "Status": "sample string 5"
    },
    {
      "Slno": 1,
      "FromDate": "sample string 2",
      "ToDate": "sample string 3",
      "InterestRate": 4.0,
      "Status": "sample string 5"
    }
  ]
}

application/xml, text/xml

Sample:
<PFInterestRateSaveVM xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebAPI.Models">
  <BookId>1</BookId>
  <CreateIp>sample string 3</CreateIp>
  <CreateUser>2</CreateUser>
  <DetailsList>
    <PFInterestRateByIdVM>
      <FromDate>sample string 2</FromDate>
      <InterestRate>4</InterestRate>
      <Slno>1</Slno>
      <Status>sample string 5</Status>
      <ToDate>sample string 3</ToDate>
    </PFInterestRateByIdVM>
    <PFInterestRateByIdVM>
      <FromDate>sample string 2</FromDate>
      <InterestRate>4</InterestRate>
      <Slno>1</Slno>
      <Status>sample string 5</Status>
      <ToDate>sample string 3</ToDate>
    </PFInterestRateByIdVM>
  </DetailsList>
  <FinYear>
    <FinYearId>1</FinYearId>
    <FinYearName>sample string 2</FinYearName>
  </FinYear>
</PFInterestRateSaveVM>

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.