GET api/Bookings

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Collection of Booking
NameDescriptionTypeAdditional information
FullName

string

None.

PFNo

string

None.

GuestHouseCity

string

None.

Circle

string

None.

Email

string

None.

MobileNumber

string

None.

Rooms

integer

None.

Adults

integer

None.

Kids

integer

None.

CheckInDate

date

None.

CheckOutDate

date

None.

GuestHouseId

integer

None.

GuestHouse

GuestHouse

None.

Id

integer

None.

IsActive

boolean

None.

CreatedDate

date

None.

ModifiedDate

date

None.

CreatedById

string

None.

ModifiedById

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "FullName": "sample string 1",
    "PFNo": "sample string 2",
    "GuestHouseCity": "sample string 3",
    "Circle": "sample string 4",
    "Email": "sample string 5",
    "MobileNumber": "sample string 6",
    "Rooms": 7,
    "Adults": 8,
    "Kids": 9,
    "CheckInDate": "2024-10-04T18:59:17.9891501+05:30",
    "CheckOutDate": "2024-10-04T18:59:17.9891501+05:30",
    "GuestHouseId": 1,
    "GuestHouse": {
      "Name": "sample string 1",
      "GuestHouseCity": "sample string 2",
      "CostPerRoom": 3.1,
      "RoomsCount": 4,
      "GuestHouseManagerName": "sample string 5",
      "GuestHouseManagerNumber": "sample string 6",
      "Address": "sample string 7",
      "Description": "sample string 8",
      "Bookings": [],
      "GuestHouseImages": [
        {
          "Url": "sample string 1",
          "GuestHouseId": 1,
          "Id": 2,
          "IsActive": true,
          "CreatedDate": "2024-10-04T18:59:17.9891501+05:30",
          "ModifiedDate": "2024-10-04T18:59:17.9891501+05:30",
          "CreatedById": "sample string 4",
          "ModifiedById": "sample string 5"
        },
        {
          "Url": "sample string 1",
          "GuestHouseId": 1,
          "Id": 2,
          "IsActive": true,
          "CreatedDate": "2024-10-04T18:59:17.9891501+05:30",
          "ModifiedDate": "2024-10-04T18:59:17.9891501+05:30",
          "CreatedById": "sample string 4",
          "ModifiedById": "sample string 5"
        }
      ],
      "Id": 9,
      "IsActive": true,
      "CreatedDate": "2024-10-04T18:59:17.9891501+05:30",
      "ModifiedDate": "2024-10-04T18:59:17.9891501+05:30",
      "CreatedById": "sample string 11",
      "ModifiedById": "sample string 12"
    },
    "Id": 12,
    "IsActive": true,
    "CreatedDate": "2024-10-04T18:59:17.9891501+05:30",
    "ModifiedDate": "2024-10-04T18:59:17.9891501+05:30",
    "CreatedById": "sample string 14",
    "ModifiedById": "sample string 15"
  },
  {
    "FullName": "sample string 1",
    "PFNo": "sample string 2",
    "GuestHouseCity": "sample string 3",
    "Circle": "sample string 4",
    "Email": "sample string 5",
    "MobileNumber": "sample string 6",
    "Rooms": 7,
    "Adults": 8,
    "Kids": 9,
    "CheckInDate": "2024-10-04T18:59:17.9891501+05:30",
    "CheckOutDate": "2024-10-04T18:59:17.9891501+05:30",
    "GuestHouseId": 1,
    "GuestHouse": {
      "Name": "sample string 1",
      "GuestHouseCity": "sample string 2",
      "CostPerRoom": 3.1,
      "RoomsCount": 4,
      "GuestHouseManagerName": "sample string 5",
      "GuestHouseManagerNumber": "sample string 6",
      "Address": "sample string 7",
      "Description": "sample string 8",
      "Bookings": [],
      "GuestHouseImages": [
        {
          "Url": "sample string 1",
          "GuestHouseId": 1,
          "Id": 2,
          "IsActive": true,
          "CreatedDate": "2024-10-04T18:59:17.9891501+05:30",
          "ModifiedDate": "2024-10-04T18:59:17.9891501+05:30",
          "CreatedById": "sample string 4",
          "ModifiedById": "sample string 5"
        },
        {
          "Url": "sample string 1",
          "GuestHouseId": 1,
          "Id": 2,
          "IsActive": true,
          "CreatedDate": "2024-10-04T18:59:17.9891501+05:30",
          "ModifiedDate": "2024-10-04T18:59:17.9891501+05:30",
          "CreatedById": "sample string 4",
          "ModifiedById": "sample string 5"
        }
      ],
      "Id": 9,
      "IsActive": true,
      "CreatedDate": "2024-10-04T18:59:17.9891501+05:30",
      "ModifiedDate": "2024-10-04T18:59:17.9891501+05:30",
      "CreatedById": "sample string 11",
      "ModifiedById": "sample string 12"
    },
    "Id": 12,
    "IsActive": true,
    "CreatedDate": "2024-10-04T18:59:17.9891501+05:30",
    "ModifiedDate": "2024-10-04T18:59:17.9891501+05:30",
    "CreatedById": "sample string 14",
    "ModifiedById": "sample string 15"
  }
]