POST API/Occupancy/OccupancyChart
Request Information
URI Parameters
None.
Body Parameters
Occupancy| Name | Description | Type | Additional information |
|---|---|---|---|
| StartDate | string |
None. |
|
| EndDate | string |
None. |
|
| HotelId | integer |
None. |
|
| DT | string |
None. |
|
| RoomId | integer |
None. |
|
| BedId | integer |
None. |
|
| RoomName | string |
None. |
|
| RoomTypeName | string |
None. |
|
| GuestName | string |
None. |
|
| Type | string |
None. |
|
| Property | string |
None. |
|
| Id | integer |
None. |
|
| RoomCount | integer |
None. |
|
| RoomTypeId | integer |
None. |
|
| ChkInPer | decimal number |
None. |
|
| ChkOutPer | decimal number |
None. |
|
| DIFFPer | decimal number |
None. |
Request Formats
application/json, text/json
Sample:
{
"StartDate": "sample string 1",
"EndDate": "sample string 2",
"HotelId": 3,
"DT": "sample string 4",
"RoomId": 5,
"BedId": 6,
"RoomName": "sample string 7",
"RoomTypeName": "sample string 8",
"GuestName": "sample string 9",
"Type": "sample string 10",
"Property": "sample string 11",
"Id": 12,
"RoomCount": 13,
"RoomTypeId": 14,
"ChkInPer": 15.0,
"ChkOutPer": 16.0,
"DIFFPer": 17.0
}
application/xml, text/xml
Sample:
<Occupancy xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HMSApi.Models"> <BedId>6</BedId> <ChkInPer>15</ChkInPer> <ChkOutPer>16</ChkOutPer> <DIFFPer>17</DIFFPer> <DT>sample string 4</DT> <EndDate>sample string 2</EndDate> <GuestName>sample string 9</GuestName> <HotelId>3</HotelId> <Id>12</Id> <Property>sample string 11</Property> <RoomCount>13</RoomCount> <RoomId>5</RoomId> <RoomName>sample string 7</RoomName> <RoomTypeId>14</RoomTypeId> <RoomTypeName>sample string 8</RoomTypeName> <StartDate>sample string 1</StartDate> <Type>sample string 10</Type> </Occupancy>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.