POST api/FDEndowFund/Save

Request Information

URI Parameters

None.

Body Parameters

FDEndowFundSaveVM
NameDescriptionTypeAdditional information
BookId

integer

Required

RefNoWithPrefix

string

Required

String length: inclusive between 0 and 20

BenefDesc

string

Required

String length: inclusive between 0 and 100

Code

string

String length: inclusive between 0 and 10

BenefFundDate

string

Required

AddressPincode

string

String length: inclusive between 0 and 50

PostOffice

PlaceLookup

None.

District

PlaceLookup

None.

State

PlaceLookup

None.

Country

PlaceLookup

None.

InMemoryOf

string

String length: inclusive between 0 and 200

InstBy

string

String length: inclusive between 0 and 200

InstSuccBy

string

String length: inclusive between 0 and 200

Remarks

string

String length: inclusive between 0 and 1000

PrincipleAmount

decimal number

None.

CurrentAmount

decimal number

None.

ChqDdNo

string

String length: inclusive between 0 and 100

ChqDdDate

string

None.

DrawnOn

string

String length: inclusive between 0 and 100

IsAddBack

string

Required

Matching regular expression pattern: Y|N

AddBackPerc

decimal number

None.

BookType

AccountBookTypeLookup

None.

FundAcc

AccountMasterLookup

Required

IntAcc

AccountMasterLookup

None.

Status

string

Required

Matching regular expression pattern: A|I

CreateUser

integer

Required

CreateIp

string

Required

String length: inclusive between 0 and 20

FDEndowFundBenefDtls

Collection of FDEndowFundBenefDtlsSaveVM

None.

Request Formats

application/json, text/json

Sample:
{
  "BookId": 1,
  "RefNoWithPrefix": "sample string 2",
  "BenefDesc": "sample string 3",
  "Code": "sample string 4",
  "BenefFundDate": "sample string 5",
  "AddressPincode": "sample string 6",
  "PostOffice": {
    "PlaceId": 1,
    "PlaceName": "sample string 2"
  },
  "District": {
    "PlaceId": 1,
    "PlaceName": "sample string 2"
  },
  "State": {
    "PlaceId": 1,
    "PlaceName": "sample string 2"
  },
  "Country": {
    "PlaceId": 1,
    "PlaceName": "sample string 2"
  },
  "InMemoryOf": "sample string 7",
  "InstBy": "sample string 8",
  "InstSuccBy": "sample string 9",
  "Remarks": "sample string 10",
  "PrincipleAmount": 11.0,
  "CurrentAmount": 12.0,
  "ChqDdNo": "sample string 13",
  "ChqDdDate": "sample string 14",
  "DrawnOn": "sample string 15",
  "IsAddBack": "sample string 16",
  "AddBackPerc": 17.0,
  "BookType": {
    "BookTypeId": 1,
    "BookTypeName": "sample string 2"
  },
  "FundAcc": {
    "AccountId": 1,
    "AccountName": "sample string 2"
  },
  "IntAcc": {
    "AccountId": 1,
    "AccountName": "sample string 2"
  },
  "Status": "sample string 18",
  "CreateUser": 19,
  "CreateIp": "sample string 20",
  "FDEndowFundBenefDtls": [
    {
      "Slno": 1,
      "EndowBenef": {
        "BenefId": 1,
        "BenefDesc": "sample string 2"
      },
      "DistributionPerc": 2.0,
      "StartDate": "sample string 3",
      "EndDate": "sample string 4",
      "Instructions": "sample string 5",
      "FundPurpose": {
        "EndowFundPurposeId": 1,
        "EndowFundPurposeDesc": "sample string 2"
      },
      "Status": "sample string 6",
      "OrderBySlNo": 7
    },
    {
      "Slno": 1,
      "EndowBenef": {
        "BenefId": 1,
        "BenefDesc": "sample string 2"
      },
      "DistributionPerc": 2.0,
      "StartDate": "sample string 3",
      "EndDate": "sample string 4",
      "Instructions": "sample string 5",
      "FundPurpose": {
        "EndowFundPurposeId": 1,
        "EndowFundPurposeDesc": "sample string 2"
      },
      "Status": "sample string 6",
      "OrderBySlNo": 7
    }
  ]
}

application/xml, text/xml

Sample:
<FDEndowFundSaveVM xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebAPI.Models">
  <AddBackPerc>17</AddBackPerc>
  <AddressPincode>sample string 6</AddressPincode>
  <BenefDesc>sample string 3</BenefDesc>
  <BenefFundDate>sample string 5</BenefFundDate>
  <BookId>1</BookId>
  <BookType>
    <BookTypeId>1</BookTypeId>
    <BookTypeName>sample string 2</BookTypeName>
  </BookType>
  <ChqDdDate>sample string 14</ChqDdDate>
  <ChqDdNo>sample string 13</ChqDdNo>
  <Code>sample string 4</Code>
  <Country>
    <PlaceId>1</PlaceId>
    <PlaceName>sample string 2</PlaceName>
  </Country>
  <CreateIp>sample string 20</CreateIp>
  <CreateUser>19</CreateUser>
  <CurrentAmount>12</CurrentAmount>
  <District>
    <PlaceId>1</PlaceId>
    <PlaceName>sample string 2</PlaceName>
  </District>
  <DrawnOn>sample string 15</DrawnOn>
  <FDEndowFundBenefDtls>
    <FDEndowFundBenefDtlsSaveVM>
      <DistributionPerc>2</DistributionPerc>
      <EndDate>sample string 4</EndDate>
      <EndowBenef>
        <BenefDesc>sample string 2</BenefDesc>
        <BenefId>1</BenefId>
      </EndowBenef>
      <FundPurpose>
        <EndowFundPurposeDesc>sample string 2</EndowFundPurposeDesc>
        <EndowFundPurposeId>1</EndowFundPurposeId>
      </FundPurpose>
      <Instructions>sample string 5</Instructions>
      <OrderBySlNo>7</OrderBySlNo>
      <Slno>1</Slno>
      <StartDate>sample string 3</StartDate>
      <Status>sample string 6</Status>
    </FDEndowFundBenefDtlsSaveVM>
    <FDEndowFundBenefDtlsSaveVM>
      <DistributionPerc>2</DistributionPerc>
      <EndDate>sample string 4</EndDate>
      <EndowBenef>
        <BenefDesc>sample string 2</BenefDesc>
        <BenefId>1</BenefId>
      </EndowBenef>
      <FundPurpose>
        <EndowFundPurposeDesc>sample string 2</EndowFundPurposeDesc>
        <EndowFundPurposeId>1</EndowFundPurposeId>
      </FundPurpose>
      <Instructions>sample string 5</Instructions>
      <OrderBySlNo>7</OrderBySlNo>
      <Slno>1</Slno>
      <StartDate>sample string 3</StartDate>
      <Status>sample string 6</Status>
    </FDEndowFundBenefDtlsSaveVM>
  </FDEndowFundBenefDtls>
  <FundAcc>
    <AccountId>1</AccountId>
    <AccountName>sample string 2</AccountName>
  </FundAcc>
  <InMemoryOf>sample string 7</InMemoryOf>
  <InstBy>sample string 8</InstBy>
  <InstSuccBy>sample string 9</InstSuccBy>
  <IntAcc>
    <AccountId>1</AccountId>
    <AccountName>sample string 2</AccountName>
  </IntAcc>
  <IsAddBack>sample string 16</IsAddBack>
  <PostOffice>
    <PlaceId>1</PlaceId>
    <PlaceName>sample string 2</PlaceName>
  </PostOffice>
  <PrincipleAmount>11</PrincipleAmount>
  <RefNoWithPrefix>sample string 2</RefNoWithPrefix>
  <Remarks>sample string 10</Remarks>
  <State>
    <PlaceId>1</PlaceId>
    <PlaceName>sample string 2</PlaceName>
  </State>
  <Status>sample string 18</Status>
</FDEndowFundSaveVM>

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.