GET api/FavouriteSelectionApi/Get/{name}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
name

string

None.

Body Parameters

None.

Response Information

Resource Description

GetAllFavouriteSelectionsResponse
NameDescriptionTypeAdditional information
Selections

Collection of FavouriteSelectionContract

None.

ResultQueryInfo

Сообщения

ResultQueryInfoContainer

None.

Response Formats

application/json, text/json

Sample:
{
  "Selections": [
    {
      "Id": 1,
      "Name": "sample string 2",
      "Tours": [
        {
          "Id": 1,
          "FavouriteSelectionsId": 1,
          "DepartureCityCode": "sample string 2",
          "DepartureCityName": "sample string 3",
          "DepartureDate": "sample string 4",
          "Nights": 5,
          "HotelName": "sample string 6",
          "HotelCode": "sample string 7",
          "MealTypeCode": "sample string 8",
          "MealTypeName": "sample string 9",
          "Accommodation": "sample string 10",
          "Price": 11,
          "CurrencyCode": "sample string 12",
          "Adults": 13,
          "Kids": "sample string 14",
          "ImageId": "sample string 15",
          "SupplierCode": "sample string 16",
          "CountryCode": "sample string 17",
          "CountryName": "sample string 18",
          "CityCode": "sample string 19",
          "CityName": "sample string 20",
          "CategoryCode": "sample string 21",
          "CategoryName": "sample string 22",
          "SupplierName": "sample string 23",
          "Rating": "sample string 24",
          "Hotels": [
            {
              "Nights": 1,
              "HotelName": "sample string 2",
              "HotelCode": "sample string 3",
              "Accommodation": "sample string 4",
              "Adults": 5,
              "Kids": "sample string 6",
              "ImageId": "sample string 7",
              "MealTypeCode": "sample string 8",
              "MealTypeName": "sample string 9",
              "CategoryCode": "sample string 10",
              "CategoryName": "sample string 11",
              "CountryCode": "sample string 12",
              "CountryName": "sample string 13",
              "CityCode": "sample string 14",
              "CityName": "sample string 15",
              "Rating": "sample string 16",
              "HotelDescription": "sample string 17"
            },
            {
              "Nights": 1,
              "HotelName": "sample string 2",
              "HotelCode": "sample string 3",
              "Accommodation": "sample string 4",
              "Adults": 5,
              "Kids": "sample string 6",
              "ImageId": "sample string 7",
              "MealTypeCode": "sample string 8",
              "MealTypeName": "sample string 9",
              "CategoryCode": "sample string 10",
              "CategoryName": "sample string 11",
              "CountryCode": "sample string 12",
              "CountryName": "sample string 13",
              "CityCode": "sample string 14",
              "CityName": "sample string 15",
              "Rating": "sample string 16",
              "HotelDescription": "sample string 17"
            }
          ]
        },
        {
          "Id": 1,
          "FavouriteSelectionsId": 1,
          "DepartureCityCode": "sample string 2",
          "DepartureCityName": "sample string 3",
          "DepartureDate": "sample string 4",
          "Nights": 5,
          "HotelName": "sample string 6",
          "HotelCode": "sample string 7",
          "MealTypeCode": "sample string 8",
          "MealTypeName": "sample string 9",
          "Accommodation": "sample string 10",
          "Price": 11,
          "CurrencyCode": "sample string 12",
          "Adults": 13,
          "Kids": "sample string 14",
          "ImageId": "sample string 15",
          "SupplierCode": "sample string 16",
          "CountryCode": "sample string 17",
          "CountryName": "sample string 18",
          "CityCode": "sample string 19",
          "CityName": "sample string 20",
          "CategoryCode": "sample string 21",
          "CategoryName": "sample string 22",
          "SupplierName": "sample string 23",
          "Rating": "sample string 24",
          "Hotels": [
            {
              "Nights": 1,
              "HotelName": "sample string 2",
              "HotelCode": "sample string 3",
              "Accommodation": "sample string 4",
              "Adults": 5,
              "Kids": "sample string 6",
              "ImageId": "sample string 7",
              "MealTypeCode": "sample string 8",
              "MealTypeName": "sample string 9",
              "CategoryCode": "sample string 10",
              "CategoryName": "sample string 11",
              "CountryCode": "sample string 12",
              "CountryName": "sample string 13",
              "CityCode": "sample string 14",
              "CityName": "sample string 15",
              "Rating": "sample string 16",
              "HotelDescription": "sample string 17"
            },
            {
              "Nights": 1,
              "HotelName": "sample string 2",
              "HotelCode": "sample string 3",
              "Accommodation": "sample string 4",
              "Adults": 5,
              "Kids": "sample string 6",
              "ImageId": "sample string 7",
              "MealTypeCode": "sample string 8",
              "MealTypeName": "sample string 9",
              "CategoryCode": "sample string 10",
              "CategoryName": "sample string 11",
              "CountryCode": "sample string 12",
              "CountryName": "sample string 13",
              "CityCode": "sample string 14",
              "CityName": "sample string 15",
              "Rating": "sample string 16",
              "HotelDescription": "sample string 17"
            }
          ]
        }
      ]
    },
    {
      "Id": 1,
      "Name": "sample string 2",
      "Tours": [
        {
          "Id": 1,
          "FavouriteSelectionsId": 1,
          "DepartureCityCode": "sample string 2",
          "DepartureCityName": "sample string 3",
          "DepartureDate": "sample string 4",
          "Nights": 5,
          "HotelName": "sample string 6",
          "HotelCode": "sample string 7",
          "MealTypeCode": "sample string 8",
          "MealTypeName": "sample string 9",
          "Accommodation": "sample string 10",
          "Price": 11,
          "CurrencyCode": "sample string 12",
          "Adults": 13,
          "Kids": "sample string 14",
          "ImageId": "sample string 15",
          "SupplierCode": "sample string 16",
          "CountryCode": "sample string 17",
          "CountryName": "sample string 18",
          "CityCode": "sample string 19",
          "CityName": "sample string 20",
          "CategoryCode": "sample string 21",
          "CategoryName": "sample string 22",
          "SupplierName": "sample string 23",
          "Rating": "sample string 24",
          "Hotels": [
            {
              "Nights": 1,
              "HotelName": "sample string 2",
              "HotelCode": "sample string 3",
              "Accommodation": "sample string 4",
              "Adults": 5,
              "Kids": "sample string 6",
              "ImageId": "sample string 7",
              "MealTypeCode": "sample string 8",
              "MealTypeName": "sample string 9",
              "CategoryCode": "sample string 10",
              "CategoryName": "sample string 11",
              "CountryCode": "sample string 12",
              "CountryName": "sample string 13",
              "CityCode": "sample string 14",
              "CityName": "sample string 15",
              "Rating": "sample string 16",
              "HotelDescription": "sample string 17"
            },
            {
              "Nights": 1,
              "HotelName": "sample string 2",
              "HotelCode": "sample string 3",
              "Accommodation": "sample string 4",
              "Adults": 5,
              "Kids": "sample string 6",
              "ImageId": "sample string 7",
              "MealTypeCode": "sample string 8",
              "MealTypeName": "sample string 9",
              "CategoryCode": "sample string 10",
              "CategoryName": "sample string 11",
              "CountryCode": "sample string 12",
              "CountryName": "sample string 13",
              "CityCode": "sample string 14",
              "CityName": "sample string 15",
              "Rating": "sample string 16",
              "HotelDescription": "sample string 17"
            }
          ]
        },
        {
          "Id": 1,
          "FavouriteSelectionsId": 1,
          "DepartureCityCode": "sample string 2",
          "DepartureCityName": "sample string 3",
          "DepartureDate": "sample string 4",
          "Nights": 5,
          "HotelName": "sample string 6",
          "HotelCode": "sample string 7",
          "MealTypeCode": "sample string 8",
          "MealTypeName": "sample string 9",
          "Accommodation": "sample string 10",
          "Price": 11,
          "CurrencyCode": "sample string 12",
          "Adults": 13,
          "Kids": "sample string 14",
          "ImageId": "sample string 15",
          "SupplierCode": "sample string 16",
          "CountryCode": "sample string 17",
          "CountryName": "sample string 18",
          "CityCode": "sample string 19",
          "CityName": "sample string 20",
          "CategoryCode": "sample string 21",
          "CategoryName": "sample string 22",
          "SupplierName": "sample string 23",
          "Rating": "sample string 24",
          "Hotels": [
            {
              "Nights": 1,
              "HotelName": "sample string 2",
              "HotelCode": "sample string 3",
              "Accommodation": "sample string 4",
              "Adults": 5,
              "Kids": "sample string 6",
              "ImageId": "sample string 7",
              "MealTypeCode": "sample string 8",
              "MealTypeName": "sample string 9",
              "CategoryCode": "sample string 10",
              "CategoryName": "sample string 11",
              "CountryCode": "sample string 12",
              "CountryName": "sample string 13",
              "CityCode": "sample string 14",
              "CityName": "sample string 15",
              "Rating": "sample string 16",
              "HotelDescription": "sample string 17"
            },
            {
              "Nights": 1,
              "HotelName": "sample string 2",
              "HotelCode": "sample string 3",
              "Accommodation": "sample string 4",
              "Adults": 5,
              "Kids": "sample string 6",
              "ImageId": "sample string 7",
              "MealTypeCode": "sample string 8",
              "MealTypeName": "sample string 9",
              "CategoryCode": "sample string 10",
              "CategoryName": "sample string 11",
              "CountryCode": "sample string 12",
              "CountryName": "sample string 13",
              "CityCode": "sample string 14",
              "CityName": "sample string 15",
              "Rating": "sample string 16",
              "HotelDescription": "sample string 17"
            }
          ]
        }
      ]
    }
  ],
  "RedirectUrl": "sample string 1",
  "ResultQueryInfo": {
    "ResultsCount": 1,
    "HasError": false,
    "Info": [],
    "CacheStorageTimeEnd": true,
    "RefreshPeriod": 0,
    "DelFromCacheDateTime": "2024-11-23T17:32:35.9225268+03:00",
    "UserMessages": "",
    "UserMessagesHtml": ""
  }
}

application/xml, text/xml

Sample:
<GetAllFavouriteSelectionsResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Mag.TourGate.TourGateWebClient.Models.FavouriteTour.Contract">
  <RedirectUrl xmlns="http://schemas.datacontract.org/2004/07/Mag.TourGate.TourGateWebClient.Models.Common.Contract">sample string 1</RedirectUrl>
  <ResultQueryInfo xmlns="http://schemas.datacontract.org/2004/07/Mag.TourGate.TourGateWebClient.Models.Common.Contract">
    <_x003C_DelFromCacheDateTime_x003E_k__BackingField>2024-11-23T17:32:35.9225268+03:00</_x003C_DelFromCacheDateTime_x003E_k__BackingField>
    <_x003C_ResultsCount_x003E_k__BackingField>1</_x003C_ResultsCount_x003E_k__BackingField>
    <info />
  </ResultQueryInfo>
  <Selections>
    <FavouriteSelectionContract>
      <Id>1</Id>
      <Name>sample string 2</Name>
      <Tours>
        <TourOfferInfo>
          <Accommodation>sample string 10</Accommodation>
          <Adults>13</Adults>
          <CategoryCode>sample string 21</CategoryCode>
          <CategoryName>sample string 22</CategoryName>
          <CityCode>sample string 19</CityCode>
          <CityName>sample string 20</CityName>
          <CountryCode>sample string 17</CountryCode>
          <CountryName>sample string 18</CountryName>
          <CurrencyCode>sample string 12</CurrencyCode>
          <DepartureCityCode>sample string 2</DepartureCityCode>
          <DepartureCityName>sample string 3</DepartureCityName>
          <DepartureDate>sample string 4</DepartureDate>
          <FavouriteSelectionsId>1</FavouriteSelectionsId>
          <HotelCode>sample string 7</HotelCode>
          <HotelName>sample string 6</HotelName>
          <Hotels>
            <TourOfferHotelInfo>
              <Accommodation>sample string 4</Accommodation>
              <Adults>5</Adults>
              <CategoryCode>sample string 10</CategoryCode>
              <CategoryName>sample string 11</CategoryName>
              <CityCode>sample string 14</CityCode>
              <CityName>sample string 15</CityName>
              <CountryCode>sample string 12</CountryCode>
              <CountryName>sample string 13</CountryName>
              <HotelCode>sample string 3</HotelCode>
              <HotelDescription>sample string 17</HotelDescription>
              <HotelName>sample string 2</HotelName>
              <ImageId>sample string 7</ImageId>
              <Kids>sample string 6</Kids>
              <MealTypeCode>sample string 8</MealTypeCode>
              <MealTypeName>sample string 9</MealTypeName>
              <Nights>1</Nights>
              <Rating>sample string 16</Rating>
            </TourOfferHotelInfo>
            <TourOfferHotelInfo>
              <Accommodation>sample string 4</Accommodation>
              <Adults>5</Adults>
              <CategoryCode>sample string 10</CategoryCode>
              <CategoryName>sample string 11</CategoryName>
              <CityCode>sample string 14</CityCode>
              <CityName>sample string 15</CityName>
              <CountryCode>sample string 12</CountryCode>
              <CountryName>sample string 13</CountryName>
              <HotelCode>sample string 3</HotelCode>
              <HotelDescription>sample string 17</HotelDescription>
              <HotelName>sample string 2</HotelName>
              <ImageId>sample string 7</ImageId>
              <Kids>sample string 6</Kids>
              <MealTypeCode>sample string 8</MealTypeCode>
              <MealTypeName>sample string 9</MealTypeName>
              <Nights>1</Nights>
              <Rating>sample string 16</Rating>
            </TourOfferHotelInfo>
          </Hotels>
          <Id>1</Id>
          <ImageId>sample string 15</ImageId>
          <Kids>sample string 14</Kids>
          <MealTypeCode>sample string 8</MealTypeCode>
          <MealTypeName>sample string 9</MealTypeName>
          <Nights>5</Nights>
          <Price>11</Price>
          <Rating>sample string 24</Rating>
          <SupplierCode>sample string 16</SupplierCode>
          <SupplierName>sample string 23</SupplierName>
        </TourOfferInfo>
        <TourOfferInfo>
          <Accommodation>sample string 10</Accommodation>
          <Adults>13</Adults>
          <CategoryCode>sample string 21</CategoryCode>
          <CategoryName>sample string 22</CategoryName>
          <CityCode>sample string 19</CityCode>
          <CityName>sample string 20</CityName>
          <CountryCode>sample string 17</CountryCode>
          <CountryName>sample string 18</CountryName>
          <CurrencyCode>sample string 12</CurrencyCode>
          <DepartureCityCode>sample string 2</DepartureCityCode>
          <DepartureCityName>sample string 3</DepartureCityName>
          <DepartureDate>sample string 4</DepartureDate>
          <FavouriteSelectionsId>1</FavouriteSelectionsId>
          <HotelCode>sample string 7</HotelCode>
          <HotelName>sample string 6</HotelName>
          <Hotels>
            <TourOfferHotelInfo>
              <Accommodation>sample string 4</Accommodation>
              <Adults>5</Adults>
              <CategoryCode>sample string 10</CategoryCode>
              <CategoryName>sample string 11</CategoryName>
              <CityCode>sample string 14</CityCode>
              <CityName>sample string 15</CityName>
              <CountryCode>sample string 12</CountryCode>
              <CountryName>sample string 13</CountryName>
              <HotelCode>sample string 3</HotelCode>
              <HotelDescription>sample string 17</HotelDescription>
              <HotelName>sample string 2</HotelName>
              <ImageId>sample string 7</ImageId>
              <Kids>sample string 6</Kids>
              <MealTypeCode>sample string 8</MealTypeCode>
              <MealTypeName>sample string 9</MealTypeName>
              <Nights>1</Nights>
              <Rating>sample string 16</Rating>
            </TourOfferHotelInfo>
            <TourOfferHotelInfo>
              <Accommodation>sample string 4</Accommodation>
              <Adults>5</Adults>
              <CategoryCode>sample string 10</CategoryCode>
              <CategoryName>sample string 11</CategoryName>
              <CityCode>sample string 14</CityCode>
              <CityName>sample string 15</CityName>
              <CountryCode>sample string 12</CountryCode>
              <CountryName>sample string 13</CountryName>
              <HotelCode>sample string 3</HotelCode>
              <HotelDescription>sample string 17</HotelDescription>
              <HotelName>sample string 2</HotelName>
              <ImageId>sample string 7</ImageId>
              <Kids>sample string 6</Kids>
              <MealTypeCode>sample string 8</MealTypeCode>
              <MealTypeName>sample string 9</MealTypeName>
              <Nights>1</Nights>
              <Rating>sample string 16</Rating>
            </TourOfferHotelInfo>
          </Hotels>
          <Id>1</Id>
          <ImageId>sample string 15</ImageId>
          <Kids>sample string 14</Kids>
          <MealTypeCode>sample string 8</MealTypeCode>
          <MealTypeName>sample string 9</MealTypeName>
          <Nights>5</Nights>
          <Price>11</Price>
          <Rating>sample string 24</Rating>
          <SupplierCode>sample string 16</SupplierCode>
          <SupplierName>sample string 23</SupplierName>
        </TourOfferInfo>
      </Tours>
    </FavouriteSelectionContract>
    <FavouriteSelectionContract>
      <Id>1</Id>
      <Name>sample string 2</Name>
      <Tours>
        <TourOfferInfo>
          <Accommodation>sample string 10</Accommodation>
          <Adults>13</Adults>
          <CategoryCode>sample string 21</CategoryCode>
          <CategoryName>sample string 22</CategoryName>
          <CityCode>sample string 19</CityCode>
          <CityName>sample string 20</CityName>
          <CountryCode>sample string 17</CountryCode>
          <CountryName>sample string 18</CountryName>
          <CurrencyCode>sample string 12</CurrencyCode>
          <DepartureCityCode>sample string 2</DepartureCityCode>
          <DepartureCityName>sample string 3</DepartureCityName>
          <DepartureDate>sample string 4</DepartureDate>
          <FavouriteSelectionsId>1</FavouriteSelectionsId>
          <HotelCode>sample string 7</HotelCode>
          <HotelName>sample string 6</HotelName>
          <Hotels>
            <TourOfferHotelInfo>
              <Accommodation>sample string 4</Accommodation>
              <Adults>5</Adults>
              <CategoryCode>sample string 10</CategoryCode>
              <CategoryName>sample string 11</CategoryName>
              <CityCode>sample string 14</CityCode>
              <CityName>sample string 15</CityName>
              <CountryCode>sample string 12</CountryCode>
              <CountryName>sample string 13</CountryName>
              <HotelCode>sample string 3</HotelCode>
              <HotelDescription>sample string 17</HotelDescription>
              <HotelName>sample string 2</HotelName>
              <ImageId>sample string 7</ImageId>
              <Kids>sample string 6</Kids>
              <MealTypeCode>sample string 8</MealTypeCode>
              <MealTypeName>sample string 9</MealTypeName>
              <Nights>1</Nights>
              <Rating>sample string 16</Rating>
            </TourOfferHotelInfo>
            <TourOfferHotelInfo>
              <Accommodation>sample string 4</Accommodation>
              <Adults>5</Adults>
              <CategoryCode>sample string 10</CategoryCode>
              <CategoryName>sample string 11</CategoryName>
              <CityCode>sample string 14</CityCode>
              <CityName>sample string 15</CityName>
              <CountryCode>sample string 12</CountryCode>
              <CountryName>sample string 13</CountryName>
              <HotelCode>sample string 3</HotelCode>
              <HotelDescription>sample string 17</HotelDescription>
              <HotelName>sample string 2</HotelName>
              <ImageId>sample string 7</ImageId>
              <Kids>sample string 6</Kids>
              <MealTypeCode>sample string 8</MealTypeCode>
              <MealTypeName>sample string 9</MealTypeName>
              <Nights>1</Nights>
              <Rating>sample string 16</Rating>
            </TourOfferHotelInfo>
          </Hotels>
          <Id>1</Id>
          <ImageId>sample string 15</ImageId>
          <Kids>sample string 14</Kids>
          <MealTypeCode>sample string 8</MealTypeCode>
          <MealTypeName>sample string 9</MealTypeName>
          <Nights>5</Nights>
          <Price>11</Price>
          <Rating>sample string 24</Rating>
          <SupplierCode>sample string 16</SupplierCode>
          <SupplierName>sample string 23</SupplierName>
        </TourOfferInfo>
        <TourOfferInfo>
          <Accommodation>sample string 10</Accommodation>
          <Adults>13</Adults>
          <CategoryCode>sample string 21</CategoryCode>
          <CategoryName>sample string 22</CategoryName>
          <CityCode>sample string 19</CityCode>
          <CityName>sample string 20</CityName>
          <CountryCode>sample string 17</CountryCode>
          <CountryName>sample string 18</CountryName>
          <CurrencyCode>sample string 12</CurrencyCode>
          <DepartureCityCode>sample string 2</DepartureCityCode>
          <DepartureCityName>sample string 3</DepartureCityName>
          <DepartureDate>sample string 4</DepartureDate>
          <FavouriteSelectionsId>1</FavouriteSelectionsId>
          <HotelCode>sample string 7</HotelCode>
          <HotelName>sample string 6</HotelName>
          <Hotels>
            <TourOfferHotelInfo>
              <Accommodation>sample string 4</Accommodation>
              <Adults>5</Adults>
              <CategoryCode>sample string 10</CategoryCode>
              <CategoryName>sample string 11</CategoryName>
              <CityCode>sample string 14</CityCode>
              <CityName>sample string 15</CityName>
              <CountryCode>sample string 12</CountryCode>
              <CountryName>sample string 13</CountryName>
              <HotelCode>sample string 3</HotelCode>
              <HotelDescription>sample string 17</HotelDescription>
              <HotelName>sample string 2</HotelName>
              <ImageId>sample string 7</ImageId>
              <Kids>sample string 6</Kids>
              <MealTypeCode>sample string 8</MealTypeCode>
              <MealTypeName>sample string 9</MealTypeName>
              <Nights>1</Nights>
              <Rating>sample string 16</Rating>
            </TourOfferHotelInfo>
            <TourOfferHotelInfo>
              <Accommodation>sample string 4</Accommodation>
              <Adults>5</Adults>
              <CategoryCode>sample string 10</CategoryCode>
              <CategoryName>sample string 11</CategoryName>
              <CityCode>sample string 14</CityCode>
              <CityName>sample string 15</CityName>
              <CountryCode>sample string 12</CountryCode>
              <CountryName>sample string 13</CountryName>
              <HotelCode>sample string 3</HotelCode>
              <HotelDescription>sample string 17</HotelDescription>
              <HotelName>sample string 2</HotelName>
              <ImageId>sample string 7</ImageId>
              <Kids>sample string 6</Kids>
              <MealTypeCode>sample string 8</MealTypeCode>
              <MealTypeName>sample string 9</MealTypeName>
              <Nights>1</Nights>
              <Rating>sample string 16</Rating>
            </TourOfferHotelInfo>
          </Hotels>
          <Id>1</Id>
          <ImageId>sample string 15</ImageId>
          <Kids>sample string 14</Kids>
          <MealTypeCode>sample string 8</MealTypeCode>
          <MealTypeName>sample string 9</MealTypeName>
          <Nights>5</Nights>
          <Price>11</Price>
          <Rating>sample string 24</Rating>
          <SupplierCode>sample string 16</SupplierCode>
          <SupplierName>sample string 23</SupplierName>
        </TourOfferInfo>
      </Tours>
    </FavouriteSelectionContract>
  </Selections>
</GetAllFavouriteSelectionsResponse>