GET api/StayBookings/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

None.

Response Information

Resource Description

StayBooking
NameDescriptionTypeAdditional information
RoomCount

integer

None.

StartDate

date

None.

EndDate

date

None.

PFNumber

string

None.

BookingName

string

None.

MobileNo

string

None.

Branch

string

None.

OfficeAddress

string

None.

HolidayHomeId

integer

None.

HolidayHome

HolidayHome

None.

BookingUserId

string

None.

User

User

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:
{
  "RoomCount": 1,
  "StartDate": "2024-10-10T20:37:41.9159172+05:30",
  "EndDate": "2024-10-10T20:37:41.9159172+05:30",
  "PFNumber": "sample string 2",
  "BookingName": "sample string 3",
  "MobileNo": "sample string 4",
  "Branch": "sample string 5",
  "OfficeAddress": "sample string 6",
  "HolidayHomeId": 7,
  "HolidayHome": {
    "StayCategory": 1,
    "Name": "sample string 2",
    "Center": "sample string 3",
    "Address": "sample string 4",
    "ContactName": "sample string 5",
    "PhoneNo": "sample string 6",
    "Email": "sample string 7",
    "MobileNo": "sample string 8",
    "FaxNo": "sample string 9",
    "ContactPersonNo": "sample string 10",
    "TotalRooms": 11,
    "AvailableRooms": 12,
    "CircleId": 1,
    "Circle": {
      "Title": "sample string 1",
      "Email": "sample string 2",
      "Description": "sample string 3",
      "IsHeadOffice": true,
      "Users": [
        {
          "FirstName": "sample string 1",
          "LastName": "sample string 2",
          "PhoneNo": "sample string 3",
          "MobileNo": "sample string 4",
          "State": "sample string 5",
          "PFNo": "sample string 6",
          "Address": "sample string 7",
          "ProfileImage": "sample string 8",
          "BirthDate": "2024-10-10T20:37:41.9159172+05:30",
          "CreatedDate": "2024-10-10T20:37:41.9159172+05:30",
          "ModifiedDate": "2024-10-10T20:37:41.9159172+05:30",
          "IsDeleted": true,
          "IsActive": true,
          "IsApproved": true,
          "IsAdmin": true,
          "CircleId": 1,
          "Email": "sample string 15",
          "EmailConfirmed": true,
          "PasswordHash": "sample string 17",
          "SecurityStamp": "sample string 18",
          "PhoneNumber": "sample string 19",
          "PhoneNumberConfirmed": true,
          "TwoFactorEnabled": true,
          "LockoutEndDateUtc": "2024-10-10T20:37:41.9159172+05:30",
          "LockoutEnabled": true,
          "AccessFailedCount": 23,
          "Roles": [],
          "Claims": [],
          "Logins": [],
          "Id": "sample string 24",
          "UserName": "sample string 25"
        },
        {
          "FirstName": "sample string 1",
          "LastName": "sample string 2",
          "PhoneNo": "sample string 3",
          "MobileNo": "sample string 4",
          "State": "sample string 5",
          "PFNo": "sample string 6",
          "Address": "sample string 7",
          "ProfileImage": "sample string 8",
          "BirthDate": "2024-10-10T20:37:41.9159172+05:30",
          "CreatedDate": "2024-10-10T20:37:41.9159172+05:30",
          "ModifiedDate": "2024-10-10T20:37:41.9159172+05:30",
          "IsDeleted": true,
          "IsActive": true,
          "IsApproved": true,
          "IsAdmin": true,
          "CircleId": 1,
          "Email": "sample string 15",
          "EmailConfirmed": true,
          "PasswordHash": "sample string 17",
          "SecurityStamp": "sample string 18",
          "PhoneNumber": "sample string 19",
          "PhoneNumberConfirmed": true,
          "TwoFactorEnabled": true,
          "LockoutEndDateUtc": "2024-10-10T20:37:41.9159172+05:30",
          "LockoutEnabled": true,
          "AccessFailedCount": 23,
          "Roles": [],
          "Claims": [],
          "Logins": [],
          "Id": "sample string 24",
          "UserName": "sample string 25"
        }
      ],
      "Id": 5,
      "IsActive": true,
      "CreatedDate": "2024-10-10T20:37:41.9159172+05:30",
      "ModifiedDate": "2024-10-10T20:37:41.9159172+05:30",
      "CreatedById": "sample string 7",
      "ModifiedById": "sample string 8"
    },
    "StayPics": [
      {
        "Type": 1,
        "HolidayHomeId": 2,
        "FileUrl": "sample string 3",
        "Id": 4,
        "IsActive": true,
        "CreatedDate": "2024-10-10T20:37:41.9159172+05:30",
        "ModifiedDate": "2024-10-10T20:37:41.9159172+05:30",
        "CreatedById": "sample string 6",
        "ModifiedById": "sample string 7"
      },
      {
        "Type": 1,
        "HolidayHomeId": 2,
        "FileUrl": "sample string 3",
        "Id": 4,
        "IsActive": true,
        "CreatedDate": "2024-10-10T20:37:41.9159172+05:30",
        "ModifiedDate": "2024-10-10T20:37:41.9159172+05:30",
        "CreatedById": "sample string 6",
        "ModifiedById": "sample string 7"
      }
    ],
    "Id": 13,
    "IsActive": true,
    "CreatedDate": "2024-10-10T20:37:41.9159172+05:30",
    "ModifiedDate": "2024-10-10T20:37:41.9159172+05:30",
    "CreatedById": "sample string 15",
    "ModifiedById": "sample string 16"
  },
  "BookingUserId": "sample string 8",
  "User": {
    "FirstName": "sample string 1",
    "LastName": "sample string 2",
    "PhoneNo": "sample string 3",
    "MobileNo": "sample string 4",
    "State": "sample string 5",
    "PFNo": "sample string 6",
    "Address": "sample string 7",
    "ProfileImage": "sample string 8",
    "BirthDate": "2024-10-10T20:37:41.9159172+05:30",
    "CreatedDate": "2024-10-10T20:37:41.9159172+05:30",
    "ModifiedDate": "2024-10-10T20:37:41.9159172+05:30",
    "IsDeleted": true,
    "IsActive": true,
    "IsApproved": true,
    "IsAdmin": true,
    "CircleId": 1,
    "Circle": {
      "Title": "sample string 1",
      "Email": "sample string 2",
      "Description": "sample string 3",
      "IsHeadOffice": true,
      "Users": [],
      "Id": 5,
      "IsActive": true,
      "CreatedDate": "2024-10-10T20:37:41.9159172+05:30",
      "ModifiedDate": "2024-10-10T20:37:41.9159172+05:30",
      "CreatedById": "sample string 7",
      "ModifiedById": "sample string 8"
    },
    "Email": "sample string 15",
    "EmailConfirmed": true,
    "PasswordHash": "sample string 17",
    "SecurityStamp": "sample string 18",
    "PhoneNumber": "sample string 19",
    "PhoneNumberConfirmed": true,
    "TwoFactorEnabled": true,
    "LockoutEndDateUtc": "2024-10-10T20:37:41.9159172+05:30",
    "LockoutEnabled": true,
    "AccessFailedCount": 23,
    "Roles": [],
    "Claims": [],
    "Logins": [],
    "Id": "sample string 24",
    "UserName": "sample string 25"
  },
  "Id": 9,
  "IsActive": true,
  "CreatedDate": "2024-10-10T20:37:41.9159172+05:30",
  "ModifiedDate": "2024-10-10T20:37:41.9159172+05:30",
  "CreatedById": "sample string 11",
  "ModifiedById": "sample string 12"
}