POST api/EstRentAgreementClos/Save

Request Information

URI Parameters

None.

Body Parameters

EstRentAgreementClosSaveVM
NameDescriptionTypeAdditional information
BookId

integer

Required

ClosingDate

string

Required

ClosingRefNo

string

Required

string length: inclusive between 0 and 20

AgreementId

integer

Required

Tenant

EstTenantLookupVM

Required

Property

EstRentPropertyLookupVM

None.

BookTypeId

integer

None.

Remarks

string

string length: inclusive between 0 and 1000

DueAmountStatus

string

Required

CreateUser

integer

Required

CreateIp

string

Required

string length: inclusive between 0 and 20

FinYearId

integer

Required

SecurityDeposit

decimal number

Required

Request Formats

application/json, text/json

Sample:
{
  "BookId": 1,
  "ClosingDate": "sample string 2",
  "ClosingRefNo": "sample string 3",
  "AgreementId": 4,
  "Tenant": {
    "TenantId": 1,
    "TenantName": "sample string 2",
    "Prefix": {
      "PrefixId": 1,
      "PrefixName": "sample string 2"
    }
  },
  "Property": {
    "PropertyId": 1,
    "PropertyName": "sample string 2"
  },
  "BookTypeId": 5,
  "Remarks": "sample string 6",
  "DueAmountStatus": "sample string 7",
  "CreateUser": 8,
  "CreateIp": "sample string 9",
  "FinYearId": 10,
  "SecurityDeposit": 11.0
}

application/xml, text/xml

Sample:
<EstRentAgreementClosSaveVM xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebAPI.Models">
  <AgreementId>4</AgreementId>
  <BookId>1</BookId>
  <BookTypeId>5</BookTypeId>
  <ClosingDate>sample string 2</ClosingDate>
  <ClosingRefNo>sample string 3</ClosingRefNo>
  <CreateIp>sample string 9</CreateIp>
  <CreateUser>8</CreateUser>
  <DueAmountStatus>sample string 7</DueAmountStatus>
  <FinYearId>10</FinYearId>
  <Property>
    <PropertyId>1</PropertyId>
    <PropertyName>sample string 2</PropertyName>
  </Property>
  <Remarks>sample string 6</Remarks>
  <SecurityDeposit>11</SecurityDeposit>
  <Tenant>
    <Prefix>
      <PrefixId>1</PrefixId>
      <PrefixName>sample string 2</PrefixName>
    </Prefix>
    <TenantId>1</TenantId>
    <TenantName>sample string 2</TenantName>
  </Tenant>
</EstRentAgreementClosSaveVM>

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.