PUT api/EstSecurAdvReceipt/Update

Request Information

URI Parameters

None.

Body Parameters

EstSecurAdvReceiptUpdateVM
NameDescriptionTypeAdditional information
BookId

integer

Required

AdvRecId

integer

Required

AdvRecDate

string

Required

AdvRecRefno

string

Required

String length: inclusive between 0 and 20

AgreementId

integer

Required

Tenant

EstTenantLookupVM

Required

RentProperty

EstRentPropertyLookupVM

Required

AdvRecAmount

decimal number

Required

Remarks

string

String length: inclusive between 0 and 200

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",
  "AdvRecRefno": "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"
  },
  "AdvRecAmount": 6.0,
  "Remarks": "sample string 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>6</AdvRecAmount>
  <AdvRecDate>sample string 3</AdvRecDate>
  <AdvRecId>2</AdvRecId>
  <AdvRecRefno>sample string 4</AdvRecRefno>
  <AgreementId>5</AgreementId>
  <BookId>1</BookId>
  <ConfirmStatus>sample string 8</ConfirmStatus>
  <Remarks>sample string 7</Remarks>
  <RentProperty>
    <PropertyId>1</PropertyId>
    <PropertyName>sample string 2</PropertyName>
  </RentProperty>
  <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.