PUT 17.0/database/propertyrooms/{propertyid}/{id}

Description

Update existing Property Rooms

URI Parameters

Name Description Type Additional information
propertyID

integer

Required

id

integer

Required

Name Description Type Additional information
PropertyID

integer

None.

ID

integer

None.

Description

string

String length: inclusive between 0 and 50

FullDescription

string

None.

Width

decimal number

None.

WidthSuffix

byte

None.

Length

decimal number

None.

LengthSuffix

byte

None.

FloorArea

decimal number

None.

DisplayOrder

integer

None.

application/json, text/json

Sample:
{
  "propertyID": 1,
  "id": 1,
  "description": "sample string 1",
  "fullDescription": "sample string 2",
  "width": 1.0,
  "widthSuffix": 64,
  "length": 1.0,
  "lengthSuffix": 64,
  "floorArea": 1.0,
  "displayOrder": 1
}

application/xml, text/xml

Sample:
<PropertyRoomsUpdate xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <PropertyID>1</PropertyID>
  <ID>1</ID>
  <Description>sample string 1</Description>
  <FullDescription>sample string 2</FullDescription>
  <Width>1</Width>
  <WidthSuffix>64</WidthSuffix>
  <Length>1</Length>
  <LengthSuffix>64</LengthSuffix>
  <FloorArea>1</FloorArea>
  <DisplayOrder>1</DisplayOrder>
</PropertyRoomsUpdate>

application/x-www-form-urlencoded

Sample:

Sample not available.

Name Description Type Additional information
PropertyID

integer

None.

ID

integer

None.

Description

string

String length: inclusive between 0 and 50

FullDescription

string

None.

Width

decimal number

None.

WidthSuffix

byte

None.

Length

decimal number

None.

LengthSuffix

byte

None.

FloorArea

decimal number

None.

DisplayOrder

integer

None.

application/json, text/json

Sample:
{
  "propertyID": 1,
  "id": 2,
  "description": "sample string 3",
  "fullDescription": "sample string 4",
  "width": 5.0,
  "widthSuffix": 64,
  "length": 7.0,
  "lengthSuffix": 64,
  "floorArea": 9.0,
  "displayOrder": 10
}

application/xml, text/xml

Sample:
<PropertyRooms xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <PropertyID>1</PropertyID>
  <ID>2</ID>
  <Description>sample string 3</Description>
  <FullDescription>sample string 4</FullDescription>
  <Width>5</Width>
  <WidthSuffix>64</WidthSuffix>
  <Length>7</Length>
  <LengthSuffix>64</LengthSuffix>
  <FloorArea>9</FloorArea>
  <DisplayOrder>10</DisplayOrder>
</PropertyRooms>