GET api/EStore/GetMyHotelDirectory

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

GetHotelResponse
NameDescriptionTypeAdditional information
Hotel_Details

Collection of Hotel_Details

None.

success

boolean

None.

code

string

None.

message

string

None.

errors

Collection of string

None.

Response Formats

application/json, text/json

Sample:
{
  "Hotel_Details": [
    {
      "Hotel_Email": "sample string 1",
      "Hotel_ID": 2,
      "HotelAccountInfoList": [
        {
          "CompanyName": "sample string 1",
          "ManagerName": "sample string 2",
          "ManagerEmail": "sample string 3",
          "ManagerMobile": "sample string 4"
        },
        {
          "CompanyName": "sample string 1",
          "ManagerName": "sample string 2",
          "ManagerEmail": "sample string 3",
          "ManagerMobile": "sample string 4"
        }
      ],
      "HotelWorkingSetUpList": [
        {
          "WorkingDays": [
            {
              "Working_Days": "sample string 1"
            },
            {
              "Working_Days": "sample string 1"
            }
          ],
          "WorkingFrom": "sample string 1",
          "WorkingTo": "sample string 2",
          "Address": "sample string 3",
          "Email": "sample string 4",
          "Web": "sample string 5",
          "LocationGPS": "sample string 6",
          "Office": "sample string 7",
          "OrderLine": "sample string 8",
          "Rating": 9.0,
          "IsFeatured": true,
          "ContactType": "sample string 11",
          "IsItemAdded": true
        },
        {
          "WorkingDays": [
            {
              "Working_Days": "sample string 1"
            },
            {
              "Working_Days": "sample string 1"
            }
          ],
          "WorkingFrom": "sample string 1",
          "WorkingTo": "sample string 2",
          "Address": "sample string 3",
          "Email": "sample string 4",
          "Web": "sample string 5",
          "LocationGPS": "sample string 6",
          "Office": "sample string 7",
          "OrderLine": "sample string 8",
          "Rating": 9.0,
          "IsFeatured": true,
          "ContactType": "sample string 11",
          "IsItemAdded": true
        }
      ],
      "HotelServiceTypeList": [
        {
          "ServiceTypeDetails": [
            {
              "Service": "sample string 1",
              "ServiceImageLocation": "sample string 2",
              "ServiceID": 3
            },
            {
              "Service": "sample string 1",
              "ServiceImageLocation": "sample string 2",
              "ServiceID": 3
            }
          ],
          "BuisnessCategoryDetails": [
            {
              "Buisness": "sample string 1",
              "BuisnessCategoryID": 2
            },
            {
              "Buisness": "sample string 1",
              "BuisnessCategoryID": 2
            }
          ]
        },
        {
          "ServiceTypeDetails": [
            {
              "Service": "sample string 1",
              "ServiceImageLocation": "sample string 2",
              "ServiceID": 3
            },
            {
              "Service": "sample string 1",
              "ServiceImageLocation": "sample string 2",
              "ServiceID": 3
            }
          ],
          "BuisnessCategoryDetails": [
            {
              "Buisness": "sample string 1",
              "BuisnessCategoryID": 2
            },
            {
              "Buisness": "sample string 1",
              "BuisnessCategoryID": 2
            }
          ]
        }
      ],
      "HotelUploadImagesList": [
        {
          "ImageAd": "sample string 1",
          "ImageOffer": "sample string 2",
          "ImagePrices": "sample string 3",
          "ImageAdID": 4,
          "ImageOfferID": 5,
          "ImagePricesID": 6
        },
        {
          "ImageAd": "sample string 1",
          "ImageOffer": "sample string 2",
          "ImagePrices": "sample string 3",
          "ImageAdID": 4,
          "ImageOfferID": 5,
          "ImagePricesID": 6
        }
      ],
      "HotelCatelogueImagesList": [
        {
          "Catelogue": "sample string 1"
        },
        {
          "Catelogue": "sample string 1"
        }
      ]
    },
    {
      "Hotel_Email": "sample string 1",
      "Hotel_ID": 2,
      "HotelAccountInfoList": [
        {
          "CompanyName": "sample string 1",
          "ManagerName": "sample string 2",
          "ManagerEmail": "sample string 3",
          "ManagerMobile": "sample string 4"
        },
        {
          "CompanyName": "sample string 1",
          "ManagerName": "sample string 2",
          "ManagerEmail": "sample string 3",
          "ManagerMobile": "sample string 4"
        }
      ],
      "HotelWorkingSetUpList": [
        {
          "WorkingDays": [
            {
              "Working_Days": "sample string 1"
            },
            {
              "Working_Days": "sample string 1"
            }
          ],
          "WorkingFrom": "sample string 1",
          "WorkingTo": "sample string 2",
          "Address": "sample string 3",
          "Email": "sample string 4",
          "Web": "sample string 5",
          "LocationGPS": "sample string 6",
          "Office": "sample string 7",
          "OrderLine": "sample string 8",
          "Rating": 9.0,
          "IsFeatured": true,
          "ContactType": "sample string 11",
          "IsItemAdded": true
        },
        {
          "WorkingDays": [
            {
              "Working_Days": "sample string 1"
            },
            {
              "Working_Days": "sample string 1"
            }
          ],
          "WorkingFrom": "sample string 1",
          "WorkingTo": "sample string 2",
          "Address": "sample string 3",
          "Email": "sample string 4",
          "Web": "sample string 5",
          "LocationGPS": "sample string 6",
          "Office": "sample string 7",
          "OrderLine": "sample string 8",
          "Rating": 9.0,
          "IsFeatured": true,
          "ContactType": "sample string 11",
          "IsItemAdded": true
        }
      ],
      "HotelServiceTypeList": [
        {
          "ServiceTypeDetails": [
            {
              "Service": "sample string 1",
              "ServiceImageLocation": "sample string 2",
              "ServiceID": 3
            },
            {
              "Service": "sample string 1",
              "ServiceImageLocation": "sample string 2",
              "ServiceID": 3
            }
          ],
          "BuisnessCategoryDetails": [
            {
              "Buisness": "sample string 1",
              "BuisnessCategoryID": 2
            },
            {
              "Buisness": "sample string 1",
              "BuisnessCategoryID": 2
            }
          ]
        },
        {
          "ServiceTypeDetails": [
            {
              "Service": "sample string 1",
              "ServiceImageLocation": "sample string 2",
              "ServiceID": 3
            },
            {
              "Service": "sample string 1",
              "ServiceImageLocation": "sample string 2",
              "ServiceID": 3
            }
          ],
          "BuisnessCategoryDetails": [
            {
              "Buisness": "sample string 1",
              "BuisnessCategoryID": 2
            },
            {
              "Buisness": "sample string 1",
              "BuisnessCategoryID": 2
            }
          ]
        }
      ],
      "HotelUploadImagesList": [
        {
          "ImageAd": "sample string 1",
          "ImageOffer": "sample string 2",
          "ImagePrices": "sample string 3",
          "ImageAdID": 4,
          "ImageOfferID": 5,
          "ImagePricesID": 6
        },
        {
          "ImageAd": "sample string 1",
          "ImageOffer": "sample string 2",
          "ImagePrices": "sample string 3",
          "ImageAdID": 4,
          "ImageOfferID": 5,
          "ImagePricesID": 6
        }
      ],
      "HotelCatelogueImagesList": [
        {
          "Catelogue": "sample string 1"
        },
        {
          "Catelogue": "sample string 1"
        }
      ]
    }
  ],
  "success": true,
  "code": "sample string 2",
  "message": "sample string 3",
  "errors": [
    "sample string 1",
    "sample string 2"
  ]
}

application/xml, text/xml

Sample:
<GetHotelResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/QatarPay.Models">
  <code>sample string 2</code>
  <errors xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </errors>
  <message>sample string 3</message>
  <success>true</success>
  <Hotel_Details>
    <Hotel_Details>
      <HotelAccountInfoList>
        <HotelAccountInfo>
          <CompanyName>sample string 1</CompanyName>
          <ManagerEmail>sample string 3</ManagerEmail>
          <ManagerMobile>sample string 4</ManagerMobile>
          <ManagerName>sample string 2</ManagerName>
        </HotelAccountInfo>
        <HotelAccountInfo>
          <CompanyName>sample string 1</CompanyName>
          <ManagerEmail>sample string 3</ManagerEmail>
          <ManagerMobile>sample string 4</ManagerMobile>
          <ManagerName>sample string 2</ManagerName>
        </HotelAccountInfo>
      </HotelAccountInfoList>
      <HotelCatelogueImagesList>
        <Hotel_CatelogueImages>
          <Catelogue>sample string 1</Catelogue>
        </Hotel_CatelogueImages>
        <Hotel_CatelogueImages>
          <Catelogue>sample string 1</Catelogue>
        </Hotel_CatelogueImages>
      </HotelCatelogueImagesList>
      <HotelServiceTypeList>
        <HotelServiceType>
          <BuisnessCategoryDetails>
            <BuisnessCategory>
              <Buisness>sample string 1</Buisness>
              <BuisnessCategoryID>2</BuisnessCategoryID>
            </BuisnessCategory>
            <BuisnessCategory>
              <Buisness>sample string 1</Buisness>
              <BuisnessCategoryID>2</BuisnessCategoryID>
            </BuisnessCategory>
          </BuisnessCategoryDetails>
          <ServiceTypeDetails>
            <ServiceType>
              <Service>sample string 1</Service>
              <ServiceID>3</ServiceID>
              <ServiceImageLocation>sample string 2</ServiceImageLocation>
            </ServiceType>
            <ServiceType>
              <Service>sample string 1</Service>
              <ServiceID>3</ServiceID>
              <ServiceImageLocation>sample string 2</ServiceImageLocation>
            </ServiceType>
          </ServiceTypeDetails>
        </HotelServiceType>
        <HotelServiceType>
          <BuisnessCategoryDetails>
            <BuisnessCategory>
              <Buisness>sample string 1</Buisness>
              <BuisnessCategoryID>2</BuisnessCategoryID>
            </BuisnessCategory>
            <BuisnessCategory>
              <Buisness>sample string 1</Buisness>
              <BuisnessCategoryID>2</BuisnessCategoryID>
            </BuisnessCategory>
          </BuisnessCategoryDetails>
          <ServiceTypeDetails>
            <ServiceType>
              <Service>sample string 1</Service>
              <ServiceID>3</ServiceID>
              <ServiceImageLocation>sample string 2</ServiceImageLocation>
            </ServiceType>
            <ServiceType>
              <Service>sample string 1</Service>
              <ServiceID>3</ServiceID>
              <ServiceImageLocation>sample string 2</ServiceImageLocation>
            </ServiceType>
          </ServiceTypeDetails>
        </HotelServiceType>
      </HotelServiceTypeList>
      <HotelUploadImagesList>
        <HotelUploadImages>
          <ImageAd>sample string 1</ImageAd>
          <ImageAdID>4</ImageAdID>
          <ImageOffer>sample string 2</ImageOffer>
          <ImageOfferID>5</ImageOfferID>
          <ImagePrices>sample string 3</ImagePrices>
          <ImagePricesID>6</ImagePricesID>
        </HotelUploadImages>
        <HotelUploadImages>
          <ImageAd>sample string 1</ImageAd>
          <ImageAdID>4</ImageAdID>
          <ImageOffer>sample string 2</ImageOffer>
          <ImageOfferID>5</ImageOfferID>
          <ImagePrices>sample string 3</ImagePrices>
          <ImagePricesID>6</ImagePricesID>
        </HotelUploadImages>
      </HotelUploadImagesList>
      <HotelWorkingSetUpList>
        <HotelWorkingSetUp>
          <Address>sample string 3</Address>
          <ContactType>sample string 11</ContactType>
          <Email>sample string 4</Email>
          <IsFeatured>true</IsFeatured>
          <IsItemAdded>true</IsItemAdded>
          <LocationGPS>sample string 6</LocationGPS>
          <Office>sample string 7</Office>
          <OrderLine>sample string 8</OrderLine>
          <Rating>9</Rating>
          <Web>sample string 5</Web>
          <WorkingDays>
            <WorkingDays>
              <Working_Days>sample string 1</Working_Days>
            </WorkingDays>
            <WorkingDays>
              <Working_Days>sample string 1</Working_Days>
            </WorkingDays>
          </WorkingDays>
          <WorkingFrom>sample string 1</WorkingFrom>
          <WorkingTo>sample string 2</WorkingTo>
        </HotelWorkingSetUp>
        <HotelWorkingSetUp>
          <Address>sample string 3</Address>
          <ContactType>sample string 11</ContactType>
          <Email>sample string 4</Email>
          <IsFeatured>true</IsFeatured>
          <IsItemAdded>true</IsItemAdded>
          <LocationGPS>sample string 6</LocationGPS>
          <Office>sample string 7</Office>
          <OrderLine>sample string 8</OrderLine>
          <Rating>9</Rating>
          <Web>sample string 5</Web>
          <WorkingDays>
            <WorkingDays>
              <Working_Days>sample string 1</Working_Days>
            </WorkingDays>
            <WorkingDays>
              <Working_Days>sample string 1</Working_Days>
            </WorkingDays>
          </WorkingDays>
          <WorkingFrom>sample string 1</WorkingFrom>
          <WorkingTo>sample string 2</WorkingTo>
        </HotelWorkingSetUp>
      </HotelWorkingSetUpList>
      <Hotel_Email>sample string 1</Hotel_Email>
      <Hotel_ID>2</Hotel_ID>
    </Hotel_Details>
    <Hotel_Details>
      <HotelAccountInfoList>
        <HotelAccountInfo>
          <CompanyName>sample string 1</CompanyName>
          <ManagerEmail>sample string 3</ManagerEmail>
          <ManagerMobile>sample string 4</ManagerMobile>
          <ManagerName>sample string 2</ManagerName>
        </HotelAccountInfo>
        <HotelAccountInfo>
          <CompanyName>sample string 1</CompanyName>
          <ManagerEmail>sample string 3</ManagerEmail>
          <ManagerMobile>sample string 4</ManagerMobile>
          <ManagerName>sample string 2</ManagerName>
        </HotelAccountInfo>
      </HotelAccountInfoList>
      <HotelCatelogueImagesList>
        <Hotel_CatelogueImages>
          <Catelogue>sample string 1</Catelogue>
        </Hotel_CatelogueImages>
        <Hotel_CatelogueImages>
          <Catelogue>sample string 1</Catelogue>
        </Hotel_CatelogueImages>
      </HotelCatelogueImagesList>
      <HotelServiceTypeList>
        <HotelServiceType>
          <BuisnessCategoryDetails>
            <BuisnessCategory>
              <Buisness>sample string 1</Buisness>
              <BuisnessCategoryID>2</BuisnessCategoryID>
            </BuisnessCategory>
            <BuisnessCategory>
              <Buisness>sample string 1</Buisness>
              <BuisnessCategoryID>2</BuisnessCategoryID>
            </BuisnessCategory>
          </BuisnessCategoryDetails>
          <ServiceTypeDetails>
            <ServiceType>
              <Service>sample string 1</Service>
              <ServiceID>3</ServiceID>
              <ServiceImageLocation>sample string 2</ServiceImageLocation>
            </ServiceType>
            <ServiceType>
              <Service>sample string 1</Service>
              <ServiceID>3</ServiceID>
              <ServiceImageLocation>sample string 2</ServiceImageLocation>
            </ServiceType>
          </ServiceTypeDetails>
        </HotelServiceType>
        <HotelServiceType>
          <BuisnessCategoryDetails>
            <BuisnessCategory>
              <Buisness>sample string 1</Buisness>
              <BuisnessCategoryID>2</BuisnessCategoryID>
            </BuisnessCategory>
            <BuisnessCategory>
              <Buisness>sample string 1</Buisness>
              <BuisnessCategoryID>2</BuisnessCategoryID>
            </BuisnessCategory>
          </BuisnessCategoryDetails>
          <ServiceTypeDetails>
            <ServiceType>
              <Service>sample string 1</Service>
              <ServiceID>3</ServiceID>
              <ServiceImageLocation>sample string 2</ServiceImageLocation>
            </ServiceType>
            <ServiceType>
              <Service>sample string 1</Service>
              <ServiceID>3</ServiceID>
              <ServiceImageLocation>sample string 2</ServiceImageLocation>
            </ServiceType>
          </ServiceTypeDetails>
        </HotelServiceType>
      </HotelServiceTypeList>
      <HotelUploadImagesList>
        <HotelUploadImages>
          <ImageAd>sample string 1</ImageAd>
          <ImageAdID>4</ImageAdID>
          <ImageOffer>sample string 2</ImageOffer>
          <ImageOfferID>5</ImageOfferID>
          <ImagePrices>sample string 3</ImagePrices>
          <ImagePricesID>6</ImagePricesID>
        </HotelUploadImages>
        <HotelUploadImages>
          <ImageAd>sample string 1</ImageAd>
          <ImageAdID>4</ImageAdID>
          <ImageOffer>sample string 2</ImageOffer>
          <ImageOfferID>5</ImageOfferID>
          <ImagePrices>sample string 3</ImagePrices>
          <ImagePricesID>6</ImagePricesID>
        </HotelUploadImages>
      </HotelUploadImagesList>
      <HotelWorkingSetUpList>
        <HotelWorkingSetUp>
          <Address>sample string 3</Address>
          <ContactType>sample string 11</ContactType>
          <Email>sample string 4</Email>
          <IsFeatured>true</IsFeatured>
          <IsItemAdded>true</IsItemAdded>
          <LocationGPS>sample string 6</LocationGPS>
          <Office>sample string 7</Office>
          <OrderLine>sample string 8</OrderLine>
          <Rating>9</Rating>
          <Web>sample string 5</Web>
          <WorkingDays>
            <WorkingDays>
              <Working_Days>sample string 1</Working_Days>
            </WorkingDays>
            <WorkingDays>
              <Working_Days>sample string 1</Working_Days>
            </WorkingDays>
          </WorkingDays>
          <WorkingFrom>sample string 1</WorkingFrom>
          <WorkingTo>sample string 2</WorkingTo>
        </HotelWorkingSetUp>
        <HotelWorkingSetUp>
          <Address>sample string 3</Address>
          <ContactType>sample string 11</ContactType>
          <Email>sample string 4</Email>
          <IsFeatured>true</IsFeatured>
          <IsItemAdded>true</IsItemAdded>
          <LocationGPS>sample string 6</LocationGPS>
          <Office>sample string 7</Office>
          <OrderLine>sample string 8</OrderLine>
          <Rating>9</Rating>
          <Web>sample string 5</Web>
          <WorkingDays>
            <WorkingDays>
              <Working_Days>sample string 1</Working_Days>
            </WorkingDays>
            <WorkingDays>
              <Working_Days>sample string 1</Working_Days>
            </WorkingDays>
          </WorkingDays>
          <WorkingFrom>sample string 1</WorkingFrom>
          <WorkingTo>sample string 2</WorkingTo>
        </HotelWorkingSetUp>
      </HotelWorkingSetUpList>
      <Hotel_Email>sample string 1</Hotel_Email>
      <Hotel_ID>2</Hotel_ID>
    </Hotel_Details>
  </Hotel_Details>
</GetHotelResponse>