PUT api/EstSecurAdvReceipt/Update

Request Information

URI Parameters

None.

Body Parameters

EstSecurAdvReceiptUpdateVM
NameDescriptionTypeAdditional information
BookId

integer

Required

AdvRecId

integer

Required

AdvRecDate

string

Required

AgreementId

integer

Required

Tenant

EstTenantLookupVM

Required

Property

EstRentPropertyLookupVM

Required

AdvRecAmount

decimal number

Required

Remarks

string

string length: inclusive between 0 and 200

FinYearId

integer

Required

ConfirmStatus

string

Required

Matching regular expression pattern: Y|N

UpdateUser

integer

Required

UpdateIp

string

Required

string length: inclusive between 0 and 20

Request Formats

application/json, text/json

Sample:
{
  "BookId": 1,
  "AdvRecId": 2,
  "AdvRecDate": "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"
  },
  "AdvRecAmount": 5.0,
  "Remarks": "sample string 6",
  "FinYearId": 7,
  "ConfirmStatus": "sample string 8",
  "UpdateUser": 9,
  "UpdateIp": "sample string 10"
}

application/xml, text/xml

Sample:
<EstSecurAdvReceiptUpdateVM xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebAPI.Models">
  <AdvRecAmount>5</AdvRecAmount>
  <AdvRecDate>sample string 3</AdvRecDate>
  <AdvRecId>2</AdvRecId>
  <AgreementId>4</AgreementId>
  <BookId>1</BookId>
  <ConfirmStatus>sample string 8</ConfirmStatus>
  <FinYearId>7</FinYearId>
  <Property>
    <PropertyId>1</PropertyId>
    <PropertyName>sample string 2</PropertyName>
  </Property>
  <Remarks>sample string 6</Remarks>
  <Tenant>
    <Prefix>
      <PrefixId>1</PrefixId>
      <PrefixName>sample string 2</PrefixName>
    </Prefix>
    <TenantId>1</TenantId>
    <TenantName>sample string 2</TenantName>
  </Tenant>
  <UpdateIp>sample string 10</UpdateIp>
  <UpdateUser>9</UpdateUser>
</EstSecurAdvReceiptUpdateVM>

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.