POST API/DetailRevenuereport/GenerateExcel
Request Information
URI Parameters
None.
Body Parameters
DetailRevenuereport| Name | Description | Type | Additional information |
|---|---|---|---|
| HotelId | integer |
None. |
|
| GuestName | string |
None. |
|
| ChkInDt | string |
None. |
|
| ChkOutDt | string |
None. |
|
| RoomNo | string |
None. |
|
| Nights | integer |
None. |
|
| Tariff | decimal number |
None. |
|
| TotalTariff | decimal number |
None. |
|
| FoodAmount | decimal number |
None. |
|
| Laundry | decimal number |
None. |
|
| Tax | decimal number |
None. |
|
| TotalAmount | decimal number |
None. |
Request Formats
application/json, text/json
Sample:
{
"HotelId": 1,
"GuestName": "sample string 1",
"ChkInDt": "sample string 2",
"ChkOutDt": "sample string 3",
"RoomNo": "sample string 4",
"Nights": 5,
"Tariff": 6.0,
"TotalTariff": 7.0,
"FoodAmount": 8.0,
"Laundry": 9.0,
"Tax": 10.0,
"TotalAmount": 11.0
}
application/xml, text/xml
Sample:
<DetailRevenuereport xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HMSApi.Models"> <ChkInDt>sample string 2</ChkInDt> <ChkOutDt>sample string 3</ChkOutDt> <FoodAmount>8</FoodAmount> <GuestName>sample string 1</GuestName> <HotelId>1</HotelId> <Laundry>9</Laundry> <Nights>5</Nights> <RoomNo>sample string 4</RoomNo> <Tariff>6</Tariff> <Tax>10</Tax> <TotalAmount>11</TotalAmount> <TotalTariff>7</TotalTariff> </DetailRevenuereport>
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.