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

RentProperty

EstRentPropertyLookupVM

None.

BookType

AccountBookTypeLookup

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"
    }
  },
  "RentProperty": {
    "PropertyId": 1,
    "PropertyName": "sample string 2"
  },
  "BookType": {
    "BookTypeId": 1,
    "BookTypeName": "sample string 2"
  },
  "Remarks": "sample string 5",
  "DueAmountStatus": "sample string 6",
  "CreateUser": 7,
  "CreateIp": "sample string 8",
  "FinYearId": 9,
  "SecurityDeposit": 10.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>
  <BookType>
    <BookTypeId>1</BookTypeId>
    <BookTypeName>sample string 2</BookTypeName>
  </BookType>
  <ClosingDate>sample string 2</ClosingDate>
  <ClosingRefNo>sample string 3</ClosingRefNo>
  <CreateIp>sample string 8</CreateIp>
  <CreateUser>7</CreateUser>
  <DueAmountStatus>sample string 6</DueAmountStatus>
  <FinYearId>9</FinYearId>
  <Remarks>sample string 5</Remarks>
  <RentProperty>
    <PropertyId>1</PropertyId>
    <PropertyName>sample string 2</PropertyName>
  </RentProperty>
  <SecurityDeposit>10</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.