POST api/EstRentProperty/Save

Request Information

URI Parameters

None.

Body Parameters

EstRentPropertySaveVM
NameDescriptionTypeAdditional information
BookId

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

CreateUser

integer

Required

CreateIp

string

Required

String length: inclusive between 0 and 20

Request Formats

application/json, text/json

Sample:
{
  "BookId": 1,
  "PropertyName": "sample string 2",
  "Code": "sample string 3",
  "Asset": {
    "AssetId": 1,
    "AssetName": "sample string 2"
  },
  "Building": {
    "BuildingId": 1,
    "BuildingName": "sample string 2"
  },
  "AreaSqft": 4.0,
  "CarpetArea": 5.0,
  "RentBasisType": "sample string 6",
  "RentPurpose": "sample string 7",
  "KsebNumber": "sample string 8",
  "WaterNumber": "sample string 9",
  "MunicipalNo": "sample string 10",
  "WardNo": "sample string 11",
  "DoorNo": "sample string 12",
  "BoundaryNorth": "sample string 13",
  "BoundarySouth": "sample string 14",
  "BoundaryEast": "sample string 15",
  "BoundaryWest": "sample string 16",
  "Status": "sample string 17",
  "CreateUser": 18,
  "CreateIp": "sample string 19"
}

application/xml, text/xml

Sample:
<EstRentPropertySaveVM xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebAPI.Models">
  <AreaSqft>4</AreaSqft>
  <Asset>
    <AssetId>1</AssetId>
    <AssetName>sample string 2</AssetName>
  </Asset>
  <BookId>1</BookId>
  <BoundaryEast>sample string 15</BoundaryEast>
  <BoundaryNorth>sample string 13</BoundaryNorth>
  <BoundarySouth>sample string 14</BoundarySouth>
  <BoundaryWest>sample string 16</BoundaryWest>
  <Building>
    <BuildingId>1</BuildingId>
    <BuildingName>sample string 2</BuildingName>
  </Building>
  <CarpetArea>5</CarpetArea>
  <Code>sample string 3</Code>
  <CreateIp>sample string 19</CreateIp>
  <CreateUser>18</CreateUser>
  <DoorNo>sample string 12</DoorNo>
  <KsebNumber>sample string 8</KsebNumber>
  <MunicipalNo>sample string 10</MunicipalNo>
  <PropertyName>sample string 2</PropertyName>
  <RentBasisType>sample string 6</RentBasisType>
  <RentPurpose>sample string 7</RentPurpose>
  <Status>sample string 17</Status>
  <WardNo>sample string 11</WardNo>
  <WaterNumber>sample string 9</WaterNumber>
</EstRentPropertySaveVM>

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.