GET API/GuestDetailUpdate/GetAll/{HotelId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
HotelId

integer

Required

Body Parameters

GuestDetailReport
NameDescriptionTypeAdditional information
GuestName

string

None.

MobileNumber

string

None.

Address

string

None.

Id

integer

None.

CountryId

integer

None.

CountryName

string

None.

StateId

integer

None.

StateName

string

None.

CityId

integer

None.

CityName

string

None.

EmailId

string

None.

Title

string

None.

ListGuestDtl1

Collection of GuestDtlOne

None.

ListGuestDtl2

Collection of GuestDtlTwo

None.

UserId

integer

None.

HotelId

integer

None.

Msg

string

None.

Request Formats

application/json, text/json

Sample:
{
  "GuestName": "sample string 1",
  "MobileNumber": "sample string 2",
  "Address": "sample string 3",
  "Id": 4,
  "CountryId": 5,
  "CountryName": "sample string 6",
  "StateId": 7,
  "StateName": "sample string 8",
  "CityId": 9,
  "CityName": "sample string 10",
  "EmailId": "sample string 11",
  "Title": "sample string 12",
  "ListGuestDtl1": [
    {
      "TitleId": 1,
      "Title": "sample string 2"
    },
    {
      "TitleId": 1,
      "Title": "sample string 2"
    }
  ],
  "ListGuestDtl2": [
    {
      "GuestName": "sample string 1",
      "MobileNumber": "sample string 2",
      "Address": "sample string 3",
      "Id": 4,
      "CountryId": 5,
      "CountryName": "sample string 6",
      "StateId": 7,
      "StateName": "sample string 8",
      "CityId": 9,
      "CityName": "sample string 10",
      "EmailId": "sample string 11",
      "Title": "sample string 12"
    },
    {
      "GuestName": "sample string 1",
      "MobileNumber": "sample string 2",
      "Address": "sample string 3",
      "Id": 4,
      "CountryId": 5,
      "CountryName": "sample string 6",
      "StateId": 7,
      "StateName": "sample string 8",
      "CityId": 9,
      "CityName": "sample string 10",
      "EmailId": "sample string 11",
      "Title": "sample string 12"
    }
  ],
  "UserId": 13,
  "HotelId": 14,
  "Msg": "sample string 15"
}

application/xml, text/xml

Sample:
<GuestDetailReport xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HMSApi.Models">
  <Address>sample string 3</Address>
  <CityId>9</CityId>
  <CityName>sample string 10</CityName>
  <CountryId>5</CountryId>
  <CountryName>sample string 6</CountryName>
  <EmailId>sample string 11</EmailId>
  <GuestName>sample string 1</GuestName>
  <HotelId>14</HotelId>
  <Id>4</Id>
  <ListGuestDtl1>
    <GuestDtlOne>
      <Title>sample string 2</Title>
      <TitleId>1</TitleId>
    </GuestDtlOne>
    <GuestDtlOne>
      <Title>sample string 2</Title>
      <TitleId>1</TitleId>
    </GuestDtlOne>
  </ListGuestDtl1>
  <ListGuestDtl2>
    <GuestDtlTwo>
      <Address>sample string 3</Address>
      <CityId>9</CityId>
      <CityName>sample string 10</CityName>
      <CountryId>5</CountryId>
      <CountryName>sample string 6</CountryName>
      <EmailId>sample string 11</EmailId>
      <GuestName>sample string 1</GuestName>
      <Id>4</Id>
      <MobileNumber>sample string 2</MobileNumber>
      <StateId>7</StateId>
      <StateName>sample string 8</StateName>
      <Title>sample string 12</Title>
    </GuestDtlTwo>
    <GuestDtlTwo>
      <Address>sample string 3</Address>
      <CityId>9</CityId>
      <CityName>sample string 10</CityName>
      <CountryId>5</CountryId>
      <CountryName>sample string 6</CountryName>
      <EmailId>sample string 11</EmailId>
      <GuestName>sample string 1</GuestName>
      <Id>4</Id>
      <MobileNumber>sample string 2</MobileNumber>
      <StateId>7</StateId>
      <StateName>sample string 8</StateName>
      <Title>sample string 12</Title>
    </GuestDtlTwo>
  </ListGuestDtl2>
  <MobileNumber>sample string 2</MobileNumber>
  <Msg>sample string 15</Msg>
  <StateId>7</StateId>
  <StateName>sample string 8</StateName>
  <Title>sample string 12</Title>
  <UserId>13</UserId>
</GuestDetailReport>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Collection of GuestDetailReport
NameDescriptionTypeAdditional information
GuestName

string

None.

MobileNumber

string

None.

Address

string

None.

Id

integer

None.

CountryId

integer

None.

CountryName

string

None.

StateId

integer

None.

StateName

string

None.

CityId

integer

None.

CityName

string

None.

EmailId

string

None.

Title

string

None.

ListGuestDtl1

Collection of GuestDtlOne

None.

ListGuestDtl2

Collection of GuestDtlTwo

None.

UserId

integer

None.

HotelId

integer

None.

Msg

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "GuestName": "sample string 1",
    "MobileNumber": "sample string 2",
    "Address": "sample string 3",
    "Id": 4,
    "CountryId": 5,
    "CountryName": "sample string 6",
    "StateId": 7,
    "StateName": "sample string 8",
    "CityId": 9,
    "CityName": "sample string 10",
    "EmailId": "sample string 11",
    "Title": "sample string 12",
    "ListGuestDtl1": [
      {
        "TitleId": 1,
        "Title": "sample string 2"
      },
      {
        "TitleId": 1,
        "Title": "sample string 2"
      }
    ],
    "ListGuestDtl2": [
      {
        "GuestName": "sample string 1",
        "MobileNumber": "sample string 2",
        "Address": "sample string 3",
        "Id": 4,
        "CountryId": 5,
        "CountryName": "sample string 6",
        "StateId": 7,
        "StateName": "sample string 8",
        "CityId": 9,
        "CityName": "sample string 10",
        "EmailId": "sample string 11",
        "Title": "sample string 12"
      },
      {
        "GuestName": "sample string 1",
        "MobileNumber": "sample string 2",
        "Address": "sample string 3",
        "Id": 4,
        "CountryId": 5,
        "CountryName": "sample string 6",
        "StateId": 7,
        "StateName": "sample string 8",
        "CityId": 9,
        "CityName": "sample string 10",
        "EmailId": "sample string 11",
        "Title": "sample string 12"
      }
    ],
    "UserId": 13,
    "HotelId": 14,
    "Msg": "sample string 15"
  },
  {
    "GuestName": "sample string 1",
    "MobileNumber": "sample string 2",
    "Address": "sample string 3",
    "Id": 4,
    "CountryId": 5,
    "CountryName": "sample string 6",
    "StateId": 7,
    "StateName": "sample string 8",
    "CityId": 9,
    "CityName": "sample string 10",
    "EmailId": "sample string 11",
    "Title": "sample string 12",
    "ListGuestDtl1": [
      {
        "TitleId": 1,
        "Title": "sample string 2"
      },
      {
        "TitleId": 1,
        "Title": "sample string 2"
      }
    ],
    "ListGuestDtl2": [
      {
        "GuestName": "sample string 1",
        "MobileNumber": "sample string 2",
        "Address": "sample string 3",
        "Id": 4,
        "CountryId": 5,
        "CountryName": "sample string 6",
        "StateId": 7,
        "StateName": "sample string 8",
        "CityId": 9,
        "CityName": "sample string 10",
        "EmailId": "sample string 11",
        "Title": "sample string 12"
      },
      {
        "GuestName": "sample string 1",
        "MobileNumber": "sample string 2",
        "Address": "sample string 3",
        "Id": 4,
        "CountryId": 5,
        "CountryName": "sample string 6",
        "StateId": 7,
        "StateName": "sample string 8",
        "CityId": 9,
        "CityName": "sample string 10",
        "EmailId": "sample string 11",
        "Title": "sample string 12"
      }
    ],
    "UserId": 13,
    "HotelId": 14,
    "Msg": "sample string 15"
  }
]

application/xml, text/xml

Sample:
<ArrayOfGuestDetailReport xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HMSApi.Models">
  <GuestDetailReport>
    <Address>sample string 3</Address>
    <CityId>9</CityId>
    <CityName>sample string 10</CityName>
    <CountryId>5</CountryId>
    <CountryName>sample string 6</CountryName>
    <EmailId>sample string 11</EmailId>
    <GuestName>sample string 1</GuestName>
    <HotelId>14</HotelId>
    <Id>4</Id>
    <ListGuestDtl1>
      <GuestDtlOne>
        <Title>sample string 2</Title>
        <TitleId>1</TitleId>
      </GuestDtlOne>
      <GuestDtlOne>
        <Title>sample string 2</Title>
        <TitleId>1</TitleId>
      </GuestDtlOne>
    </ListGuestDtl1>
    <ListGuestDtl2>
      <GuestDtlTwo>
        <Address>sample string 3</Address>
        <CityId>9</CityId>
        <CityName>sample string 10</CityName>
        <CountryId>5</CountryId>
        <CountryName>sample string 6</CountryName>
        <EmailId>sample string 11</EmailId>
        <GuestName>sample string 1</GuestName>
        <Id>4</Id>
        <MobileNumber>sample string 2</MobileNumber>
        <StateId>7</StateId>
        <StateName>sample string 8</StateName>
        <Title>sample string 12</Title>
      </GuestDtlTwo>
      <GuestDtlTwo>
        <Address>sample string 3</Address>
        <CityId>9</CityId>
        <CityName>sample string 10</CityName>
        <CountryId>5</CountryId>
        <CountryName>sample string 6</CountryName>
        <EmailId>sample string 11</EmailId>
        <GuestName>sample string 1</GuestName>
        <Id>4</Id>
        <MobileNumber>sample string 2</MobileNumber>
        <StateId>7</StateId>
        <StateName>sample string 8</StateName>
        <Title>sample string 12</Title>
      </GuestDtlTwo>
    </ListGuestDtl2>
    <MobileNumber>sample string 2</MobileNumber>
    <Msg>sample string 15</Msg>
    <StateId>7</StateId>
    <StateName>sample string 8</StateName>
    <Title>sample string 12</Title>
    <UserId>13</UserId>
  </GuestDetailReport>
  <GuestDetailReport>
    <Address>sample string 3</Address>
    <CityId>9</CityId>
    <CityName>sample string 10</CityName>
    <CountryId>5</CountryId>
    <CountryName>sample string 6</CountryName>
    <EmailId>sample string 11</EmailId>
    <GuestName>sample string 1</GuestName>
    <HotelId>14</HotelId>
    <Id>4</Id>
    <ListGuestDtl1>
      <GuestDtlOne>
        <Title>sample string 2</Title>
        <TitleId>1</TitleId>
      </GuestDtlOne>
      <GuestDtlOne>
        <Title>sample string 2</Title>
        <TitleId>1</TitleId>
      </GuestDtlOne>
    </ListGuestDtl1>
    <ListGuestDtl2>
      <GuestDtlTwo>
        <Address>sample string 3</Address>
        <CityId>9</CityId>
        <CityName>sample string 10</CityName>
        <CountryId>5</CountryId>
        <CountryName>sample string 6</CountryName>
        <EmailId>sample string 11</EmailId>
        <GuestName>sample string 1</GuestName>
        <Id>4</Id>
        <MobileNumber>sample string 2</MobileNumber>
        <StateId>7</StateId>
        <StateName>sample string 8</StateName>
        <Title>sample string 12</Title>
      </GuestDtlTwo>
      <GuestDtlTwo>
        <Address>sample string 3</Address>
        <CityId>9</CityId>
        <CityName>sample string 10</CityName>
        <CountryId>5</CountryId>
        <CountryName>sample string 6</CountryName>
        <EmailId>sample string 11</EmailId>
        <GuestName>sample string 1</GuestName>
        <Id>4</Id>
        <MobileNumber>sample string 2</MobileNumber>
        <StateId>7</StateId>
        <StateName>sample string 8</StateName>
        <Title>sample string 12</Title>
      </GuestDtlTwo>
    </ListGuestDtl2>
    <MobileNumber>sample string 2</MobileNumber>
    <Msg>sample string 15</Msg>
    <StateId>7</StateId>
    <StateName>sample string 8</StateName>
    <Title>sample string 12</Title>
    <UserId>13</UserId>
  </GuestDetailReport>
</ArrayOfGuestDetailReport>