PUT api/EstRentAgreementClos/Update

Request Information

URI Parameters

None.

Body Parameters

EstRentAgreementClosUpdateVM
NameDescriptionTypeAdditional information
BookId

integer

Required

ClosingId

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

UpdateUser

integer

Required

UpdateIp

string

Required

String length: inclusive between 0 and 20

ConfirmStatus

string

Required

Matching regular expression pattern: Y|N

SecurityDeposit

decimal number

Required

Request Formats

application/json, text/json

Sample:
{
  "BookId": 1,
  "ClosingId": 2,
  "ClosingDate": "sample string 3",
  "ClosingRefNo": "sample string 4",
  "AgreementId": 5,
  "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 6",
  "DueAmountStatus": "sample string 7",
  "UpdateUser": 8,
  "UpdateIp": "sample string 9",
  "ConfirmStatus": "sample string 10",
  "SecurityDeposit": 11.0
}

application/xml, text/xml

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

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.