PUT api/EstRentProperty/Update
Request Information
URI Parameters
None.
Body Parameters
EstRentPropertyUpdateVM| Name | Description | Type | Additional information |
|---|---|---|---|
| BookId | integer |
Required |
|
| PropertyId | integer |
Required |
|
| PropertyName | string |
Required String length: inclusive between 0 and 100 |
|
| Code | string |
String length: inclusive between 0 and 10 |
|
| Asset | AssetLookupVM |
None. |
|
| Building | AssetBuildingLookupVM |
None. |
|
| AreaSqft | decimal number |
None. |
|
| CarpetArea | decimal number |
None. |
|
| RentBasisType | string |
Required Matching regular expression pattern: A|S |
|
| RentPurpose | string |
String length: inclusive between 0 and 100 |
|
| KsebNumber | string |
String length: inclusive between 0 and 100 |
|
| WaterNumber | string |
String length: inclusive between 0 and 100 |
|
| MunicipalNo | string |
String length: inclusive between 0 and 100 |
|
| WardNo | string |
String length: inclusive between 0 and 100 |
|
| DoorNo | string |
String length: inclusive between 0 and 100 |
|
| BoundaryNorth | string |
String length: inclusive between 0 and 100 |
|
| BoundarySouth | string |
String length: inclusive between 0 and 100 |
|
| BoundaryEast | string |
String length: inclusive between 0 and 100 |
|
| BoundaryWest | string |
String length: inclusive between 0 and 100 |
|
| Status | string |
Required Matching regular expression pattern: A|I |
|
| UpdateUser | integer |
Required |
|
| UpdateIp | string |
Required String length: inclusive between 0 and 20 |
Request Formats
application/json, text/json
{
"BookId": 1,
"PropertyId": 2,
"PropertyName": "sample string 3",
"Code": "sample string 4",
"Asset": {
"AssetId": 1,
"AssetName": "sample string 2"
},
"Building": {
"BuildingId": 1,
"BuildingName": "sample string 2"
},
"AreaSqft": 5.0,
"CarpetArea": 6.0,
"RentBasisType": "sample string 7",
"RentPurpose": "sample string 8",
"KsebNumber": "sample string 9",
"WaterNumber": "sample string 10",
"MunicipalNo": "sample string 11",
"WardNo": "sample string 12",
"DoorNo": "sample string 13",
"BoundaryNorth": "sample string 14",
"BoundarySouth": "sample string 15",
"BoundaryEast": "sample string 16",
"BoundaryWest": "sample string 17",
"Status": "sample string 18",
"UpdateUser": 19,
"UpdateIp": "sample string 20"
}
application/xml, text/xml
<EstRentPropertyUpdateVM xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebAPI.Models">
<AreaSqft>5</AreaSqft>
<Asset>
<AssetId>1</AssetId>
<AssetName>sample string 2</AssetName>
</Asset>
<BookId>1</BookId>
<BoundaryEast>sample string 16</BoundaryEast>
<BoundaryNorth>sample string 14</BoundaryNorth>
<BoundarySouth>sample string 15</BoundarySouth>
<BoundaryWest>sample string 17</BoundaryWest>
<Building>
<BuildingId>1</BuildingId>
<BuildingName>sample string 2</BuildingName>
</Building>
<CarpetArea>6</CarpetArea>
<Code>sample string 4</Code>
<DoorNo>sample string 13</DoorNo>
<KsebNumber>sample string 9</KsebNumber>
<MunicipalNo>sample string 11</MunicipalNo>
<PropertyId>2</PropertyId>
<PropertyName>sample string 3</PropertyName>
<RentBasisType>sample string 7</RentBasisType>
<RentPurpose>sample string 8</RentPurpose>
<Status>sample string 18</Status>
<UpdateIp>sample string 20</UpdateIp>
<UpdateUser>19</UpdateUser>
<WardNo>sample string 12</WardNo>
<WaterNumber>sample string 10</WaterNumber>
</EstRentPropertyUpdateVM>
application/x-www-form-urlencoded
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample not available.