GET api/AccessBill

Documentation for 'GetAccessPackages'.

Response Information

Response body formats

application/json, text/json

Sample:
[
  {
    "Id": 1,
    "PackageName": "sample string 2",
    "PackageDesc": "sample string 3",
    "PackagePrice": 4.0,
    "HotelId": 5
  },
  {
    "Id": 1,
    "PackageName": "sample string 2",
    "PackageDesc": "sample string 3",
    "PackagePrice": 4.0,
    "HotelId": 5
  },
  {
    "Id": 1,
    "PackageName": "sample string 2",
    "PackageDesc": "sample string 3",
    "PackagePrice": 4.0,
    "HotelId": 5
  }
]

application/xml, text/xml

Sample:
<ArrayOfAccessPackage xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HotelBilling.Models">
  <AccessPackage>
    <HotelId>5</HotelId>
    <Id>1</Id>
    <PackageDesc>sample string 3</PackageDesc>
    <PackageName>sample string 2</PackageName>
    <PackagePrice>4</PackagePrice>
  </AccessPackage>
  <AccessPackage>
    <HotelId>5</HotelId>
    <Id>1</Id>
    <PackageDesc>sample string 3</PackageDesc>
    <PackageName>sample string 2</PackageName>
    <PackagePrice>4</PackagePrice>
  </AccessPackage>
  <AccessPackage>
    <HotelId>5</HotelId>
    <Id>1</Id>
    <PackageDesc>sample string 3</PackageDesc>
    <PackageName>sample string 2</PackageName>
    <PackagePrice>4</PackagePrice>
  </AccessPackage>
</ArrayOfAccessPackage>