GET api/service/getserviceitems/{servicetype}/{HotelId}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| servicetype | string |
Required |
|
| HotelId | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of ServiceEntry| Name | Description | Type | Additional information |
|---|---|---|---|
| shortcode | string |
None. |
|
| roomtype | string |
None. |
|
| label | string |
None. |
|
| guestid | integer |
None. |
|
| guestname | string |
None. |
|
| Id | integer |
None. |
|
| taxid | integer |
None. |
|
| serviceitems | string |
None. |
|
| Amount | decimal number |
None. |
|
| taxname | string |
None. |
|
| taxpercent | decimal number |
None. |
|
| Tobecalculated | string |
None. |
|
| TobecalculatedId | integer |
None. |
|
| ValidFrom | date |
None. |
|
| ValidTo | date |
None. |
|
| checkinid | integer |
None. |
|
| roomid | integer |
None. |
|
| HotelId | integer |
None. |
|
| nettariff | decimal number |
None. |
|
| ChkInDtlsId | integer |
None. |
|
| Type | string |
None. |
|
| Billno | string |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"shortcode": "sample string 1",
"roomtype": "sample string 2",
"label": "sample string 3",
"guestid": 1,
"guestname": "sample string 4",
"Id": 5,
"taxid": 6,
"serviceitems": "sample string 7",
"Amount": 8.0,
"taxname": "sample string 9",
"taxpercent": 10.0,
"Tobecalculated": "sample string 11",
"TobecalculatedId": 12,
"ValidFrom": "2026-06-13T19:17:46.2439082+05:30",
"ValidTo": "2026-06-13T19:17:46.2439082+05:30",
"checkinid": 1,
"roomid": 15,
"HotelId": 16,
"nettariff": 17.0,
"ChkInDtlsId": 1,
"Type": "sample string 18",
"Billno": "sample string 19"
},
{
"shortcode": "sample string 1",
"roomtype": "sample string 2",
"label": "sample string 3",
"guestid": 1,
"guestname": "sample string 4",
"Id": 5,
"taxid": 6,
"serviceitems": "sample string 7",
"Amount": 8.0,
"taxname": "sample string 9",
"taxpercent": 10.0,
"Tobecalculated": "sample string 11",
"TobecalculatedId": 12,
"ValidFrom": "2026-06-13T19:17:46.2439082+05:30",
"ValidTo": "2026-06-13T19:17:46.2439082+05:30",
"checkinid": 1,
"roomid": 15,
"HotelId": 16,
"nettariff": 17.0,
"ChkInDtlsId": 1,
"Type": "sample string 18",
"Billno": "sample string 19"
}
]
application/xml, text/xml
Sample:
<ArrayOfServiceEntry xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HMSApi.Models">
<ServiceEntry>
<Amount>8</Amount>
<Billno>sample string 19</Billno>
<ChkInDtlsId>1</ChkInDtlsId>
<HotelId>16</HotelId>
<Id>5</Id>
<Tobecalculated>sample string 11</Tobecalculated>
<TobecalculatedId>12</TobecalculatedId>
<Type>sample string 18</Type>
<ValidFrom>2026-06-13T19:17:46.2439082+05:30</ValidFrom>
<ValidTo>2026-06-13T19:17:46.2439082+05:30</ValidTo>
<checkinid>1</checkinid>
<guestid>1</guestid>
<guestname>sample string 4</guestname>
<label>sample string 3</label>
<nettariff>17</nettariff>
<roomid>15</roomid>
<roomtype>sample string 2</roomtype>
<serviceitems>sample string 7</serviceitems>
<shortcode>sample string 1</shortcode>
<taxid>6</taxid>
<taxname>sample string 9</taxname>
<taxpercent>10</taxpercent>
</ServiceEntry>
<ServiceEntry>
<Amount>8</Amount>
<Billno>sample string 19</Billno>
<ChkInDtlsId>1</ChkInDtlsId>
<HotelId>16</HotelId>
<Id>5</Id>
<Tobecalculated>sample string 11</Tobecalculated>
<TobecalculatedId>12</TobecalculatedId>
<Type>sample string 18</Type>
<ValidFrom>2026-06-13T19:17:46.2439082+05:30</ValidFrom>
<ValidTo>2026-06-13T19:17:46.2439082+05:30</ValidTo>
<checkinid>1</checkinid>
<guestid>1</guestid>
<guestname>sample string 4</guestname>
<label>sample string 3</label>
<nettariff>17</nettariff>
<roomid>15</roomid>
<roomtype>sample string 2</roomtype>
<serviceitems>sample string 7</serviceitems>
<shortcode>sample string 1</shortcode>
<taxid>6</taxid>
<taxname>sample string 9</taxname>
<taxpercent>10</taxpercent>
</ServiceEntry>
</ArrayOfServiceEntry>