POST API/DedicatedClients/GetRoomTypes

Request Information

URI Parameters

None.

Body Parameters

DedicatedClients
NameDescriptionTypeAdditional information
HotelId

integer

None.

HotelType

string

None.

HotelName

string

None.

Type

string

None.

CorporateId

integer

None.

CorporateName

string

None.

TheadRoomTypeId

integer

None.

TheadRoomType

string

None.

RoomTypeId

integer

None.

label

string

None.

RoomNo

string

None.

RoomNoId

integer

None.

RoomType

string

None.

DedicatedRooms

Collection of DedicatedRoomsArray

None.

UserId

integer

None.

AgreementDate

string

None.

FromDt

string

None.

ToDt

string

None.

RateInterval

string

None.

ImagePath

string

None.

ResultId

string

None.

StartDate

string

None.

EndDate

string

None.

DedicatedId

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "HotelId": 1,
  "HotelType": "sample string 2",
  "HotelName": "sample string 3",
  "Type": "sample string 4",
  "CorporateId": 5,
  "CorporateName": "sample string 6",
  "TheadRoomTypeId": 7,
  "TheadRoomType": "sample string 8",
  "RoomTypeId": 9,
  "label": "sample string 10",
  "RoomNo": "sample string 11",
  "RoomNoId": 12,
  "RoomType": "sample string 13",
  "DedicatedRooms": [
    {
      "RoomType": "sample string 1",
      "RoomNo": "sample string 2",
      "RoomNoId": 3,
      "RoomTypeId": 4,
      "RoomTariff": 5.0,
      "DedicatedDtlsId": 6
    },
    {
      "RoomType": "sample string 1",
      "RoomNo": "sample string 2",
      "RoomNoId": 3,
      "RoomTypeId": 4,
      "RoomTariff": 5.0,
      "DedicatedDtlsId": 6
    }
  ],
  "UserId": 14,
  "AgreementDate": "sample string 15",
  "FromDt": "sample string 16",
  "ToDt": "sample string 17",
  "RateInterval": "sample string 18",
  "ImagePath": "sample string 19",
  "ResultId": "sample string 20",
  "StartDate": "sample string 21",
  "EndDate": "sample string 22",
  "DedicatedId": 23
}

application/xml, text/xml

Sample:
<DedicatedClients xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HMSApi.Models">
  <AgreementDate>sample string 15</AgreementDate>
  <CorporateId>5</CorporateId>
  <CorporateName>sample string 6</CorporateName>
  <DedicatedId>23</DedicatedId>
  <DedicatedRooms>
    <DedicatedRoomsArray>
      <DedicatedDtlsId>6</DedicatedDtlsId>
      <RoomNo>sample string 2</RoomNo>
      <RoomNoId>3</RoomNoId>
      <RoomTariff>5</RoomTariff>
      <RoomType>sample string 1</RoomType>
      <RoomTypeId>4</RoomTypeId>
    </DedicatedRoomsArray>
    <DedicatedRoomsArray>
      <DedicatedDtlsId>6</DedicatedDtlsId>
      <RoomNo>sample string 2</RoomNo>
      <RoomNoId>3</RoomNoId>
      <RoomTariff>5</RoomTariff>
      <RoomType>sample string 1</RoomType>
      <RoomTypeId>4</RoomTypeId>
    </DedicatedRoomsArray>
  </DedicatedRooms>
  <EndDate>sample string 22</EndDate>
  <FromDt>sample string 16</FromDt>
  <HotelId>1</HotelId>
  <HotelName>sample string 3</HotelName>
  <HotelType>sample string 2</HotelType>
  <ImagePath>sample string 19</ImagePath>
  <RateInterval>sample string 18</RateInterval>
  <ResultId>sample string 20</ResultId>
  <RoomNo>sample string 11</RoomNo>
  <RoomNoId>12</RoomNoId>
  <RoomType>sample string 13</RoomType>
  <RoomTypeId>9</RoomTypeId>
  <StartDate>sample string 21</StartDate>
  <TheadRoomType>sample string 8</TheadRoomType>
  <TheadRoomTypeId>7</TheadRoomTypeId>
  <ToDt>sample string 17</ToDt>
  <Type>sample string 4</Type>
  <UserId>14</UserId>
  <label>sample string 10</label>
</DedicatedClients>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.