POST api/EstRentDefinition/Save

Request Information

URI Parameters

None.

Body Parameters

EstRentDefinitionSaveVM
NameDescriptionTypeAdditional information
BookId

integer

Required

RentProperty

EstRentPropertyLookupVM

Required

EntryDate

string

Required

EffectDate

string

Required

RentAmount

decimal number

Required

TaxTotal

decimal number

Required

Period

integer

None.

Revision

integer

None.

BuildingTax

decimal number

Required

CreateUser

integer

Required

CreateIp

string

String length: inclusive between 0 and 20

TaxDetails

Collection of EstRentDefTaxDtlsVM

None.

Request Formats

application/json, text/json

Sample:
{
  "BookId": 1,
  "RentProperty": {
    "PropertyId": 1,
    "PropertyName": "sample string 2"
  },
  "EntryDate": "sample string 2",
  "EffectDate": "sample string 3",
  "RentAmount": 4.0,
  "TaxTotal": 5.0,
  "Period": 6,
  "Revision": 7,
  "BuildingTax": 8.0,
  "CreateUser": 9,
  "CreateIp": "sample string 10",
  "TaxDetails": [
    {
      "TaxDtlSlno": 1,
      "Tax": {
        "TaxId": 1,
        "TaxName": "sample string 2"
      },
      "TaxPercAuto": 2.0,
      "TaxPerc": 3.0,
      "TaxAmount": 4.0
    },
    {
      "TaxDtlSlno": 1,
      "Tax": {
        "TaxId": 1,
        "TaxName": "sample string 2"
      },
      "TaxPercAuto": 2.0,
      "TaxPerc": 3.0,
      "TaxAmount": 4.0
    }
  ]
}

application/xml, text/xml

Sample:
<EstRentDefinitionSaveVM xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebAPI.Models">
  <BookId>1</BookId>
  <BuildingTax>8</BuildingTax>
  <CreateIp>sample string 10</CreateIp>
  <CreateUser>9</CreateUser>
  <EffectDate>sample string 3</EffectDate>
  <EntryDate>sample string 2</EntryDate>
  <Period>6</Period>
  <RentAmount>4</RentAmount>
  <RentProperty>
    <PropertyId>1</PropertyId>
    <PropertyName>sample string 2</PropertyName>
  </RentProperty>
  <Revision>7</Revision>
  <TaxDetails>
    <EstRentDefTaxDtlsVM>
      <Tax>
        <TaxId>1</TaxId>
        <TaxName>sample string 2</TaxName>
      </Tax>
      <TaxAmount>4</TaxAmount>
      <TaxDtlSlno>1</TaxDtlSlno>
      <TaxPerc>3</TaxPerc>
      <TaxPercAuto>2</TaxPercAuto>
    </EstRentDefTaxDtlsVM>
    <EstRentDefTaxDtlsVM>
      <Tax>
        <TaxId>1</TaxId>
        <TaxName>sample string 2</TaxName>
      </Tax>
      <TaxAmount>4</TaxAmount>
      <TaxDtlSlno>1</TaxDtlSlno>
      <TaxPerc>3</TaxPerc>
      <TaxPercAuto>2</TaxPercAuto>
    </EstRentDefTaxDtlsVM>
  </TaxDetails>
  <TaxTotal>5</TaxTotal>
</EstRentDefinitionSaveVM>

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.