POST 17.0/database/propertyroomtemplates

Description

Create Property Room Templates

URI Parameters

None.

Name Description Type Additional information
ID

integer

None.

Description

string

String length: inclusive between 0 and 50

RoomDescription

string

String length: inclusive between 0 and 50

RoomFullDescription

string

None.

InActive

byte

None.

application/json, text/json

Sample:
{
  "id": 1,
  "description": "sample string 1",
  "roomDescription": "sample string 2",
  "roomFullDescription": "sample string 3",
  "inActive": 64
}

application/xml, text/xml

Sample:
<PropertyRoomTemplatesUpdate xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <ID>1</ID>
  <Description>sample string 1</Description>
  <RoomDescription>sample string 2</RoomDescription>
  <RoomFullDescription>sample string 3</RoomFullDescription>
  <InActive>64</InActive>
</PropertyRoomTemplatesUpdate>

application/x-www-form-urlencoded

Sample:

Sample not available.

Name Description Type Additional information
ID

integer

None.

Description

string

String length: inclusive between 0 and 50

RoomDescription

string

String length: inclusive between 0 and 50

RoomFullDescription

string

None.

InActive

byte

None.

application/json, text/json

Sample:
{
  "id": 1,
  "description": "sample string 2",
  "roomDescription": "sample string 3",
  "roomFullDescription": "sample string 4",
  "inActive": 64
}

application/xml, text/xml

Sample:
<PropertyRoomTemplates xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <ID>1</ID>
  <Description>sample string 2</Description>
  <RoomDescription>sample string 3</RoomDescription>
  <RoomFullDescription>sample string 4</RoomFullDescription>
  <InActive>64</InActive>
</PropertyRoomTemplates>