Skip to content

Managing Accommodations for Country Specific Landing Pages

lukmay edited this page Aug 6, 2023 · 1 revision

The SetAccosforLandingpages() Function

The SetAccosforLandingpages() function is designed specifically to update the Accommodation objects for various landing pages based on country codes. This is achieved by using specific lists of accommodation IDs for certain countries.

Lists of Accommodation IDs

There are four specific lists used in this function:

  • accoslistNL: Contains the accommodation IDs for the Netherlands.
  • accoslistBE: Contains the accommodation IDs for Belgium.
  • accoslistCZ: Contains the accommodation IDs for the Czech Republic.
  • accoslistPL: Contains the accommodation IDs for Poland.

Tags

For each of the lists mentioned above, a specific tag is added:

  • nl-campaign-2017winter: Added to the Accommodation objects contained in the accoslistNL.
  • be-campaign-2017winter: Added to the Accommodation objects contained in the accoslistBE.
  • cz-campaign-2017winter: Added to the Accommodation objects contained in the accoslistCZ.
  • pl-campaign-2017winter: Added to the Accommodation objects contained in the accoslistPL.

Lists (August 2023)

        List<string> accoslistNL = new List<string>(){`
            `"C0DF8CE676D911D18F2900A02427D15E",`
            `"824D84D929E711D599D20050DA7125DB",`
            `"C0DF961976D911D18F2900A02427D15E",`
            `"C0DF9AE976D911D18F2900A02427D15E",`
            `"E3263FAA874DB135DA34388E24F5F2E3",`
            `"C0DF990276D911D18F2900A02427D15E",`
            `"C0DF93B176D911D18F2900A02427D15E",`
            `"C0DF98F776D911D18F2900A02427D15E",`
            `"C0DF93C376D911D18F2900A02427D15E",`
            `"C0DF98ED76D911D18F2900A02427D15E",`
            `"724fdbdecfc811d1ba6b444553540000",`
            `"b7b9b720f57311d1b2a800104b36eae5",`
            `"b7b9b717f57311d1b2a800104b36eae5",`
            `"724fdbf3cfc811d1ba6b444553540000",`
            `"724FDBE7CFC811D1BA6B444553540000",`
            `"b7b9b606f57311d1b2a800104b36eae5",`
            `"724FDBC6CFC811D1BA6B444553540000"`
        `};`

        `List<string> accoslistBE = new List<string>(){`
            `"c57911eb63b611d4aaee00105a4ab73f",`
            `"C57911F763B611D4AAEE00105A4AB73F",`
            `"A7D574ED766311D3A84700104BE4ECF9",`
            `"c57911f163b611d4aaee00105a4ab73f",`
            `"a7d574a8766311d3a84700104be4ecf9",`
            `"1627455B7FA111D2A14100A0246F59E1",`
            `"F1FF604DA38211D1925F00805A150B0B",`
            `"F1FF6231A38211D1925F00805A150B0B",`
            `"162745317FA111D2A14100A0246F59E1",`
            `"5D46E8BA76F611D1957100805A150B0B",`
            `"162745527FA111D2A14100A0246F59E1",`
            `"31976EFA934511D2879000608C0B00B7",`
            `"31976EFD934511D2879000608C0B00B7",`
            `"E650C2883DC111D29536004F56000ECA",`
            `"a2e20808c4b211d19c5d006097af193b",`
            `"E3012CA2C88711D18916444553540000",`
            `"A2E2088CC4B211D19C5D006097AF193B",`
            `"E650C2133DC111D29536004F56000ECA",`
            `"ACEB3FD176F011D1957100805A150B0B",`
            `"FA695840324F11D4ADB500E07D7BF1D1",`
            `"0E550CF8309211D4BAA8009027F15066",`
            `"4D519171461B47A4890A3858367CB2C6",`
            `"FA695894324F11D4ADB500E07D7BF1D1",`
            `"E650C2103DC111D29536004F56000ECA"`
        `};`


        `List<string> accoslistCZ = new List<string>(){`
           `"86DB9DB6547A11D3BBA90000E870A1E4",`
            `"86DB9DB3547A11D3BBA90000E870A1E4",`
            `"86DB9DDA547A11D3BBA90000E870A1E4",`
            `"1A69A2F524B811D4A9430050DA4A23AF",`
            `"86db9cd7547a11d3bba90000e870a1e4",`
            `"2542F80E544811D2968200A0244EAF51",`
            `"c57911eb63b611d4aaee00105a4ab73f",`
            `"55cd059af0eba0620be414db27b784e1",`
            `"C57911F763B611D4AAEE00105A4AB73F",`
            `"A7D574ED766311D3A84700104BE4ECF9",`
            `"DA31499C6F2211D291A100104BAF1B41",`
            `"c57911f163b611d4aaee00105a4ab73f",`
            `"1627455B7FA111D2A14100A0246F59E1",`
            `"F1FF604DA38211D1925F00805A150B0B",`
            `"F1FF6231A38211D1925F00805A150B0B",`
            `"162745317FA111D2A14100A0246F59E1",`
            `"E650C08A3DC111D29536004F56000ECA",`
            `"A95A0607E8BC11D1891600104B49314F",`
            `"31976EFA934511D2879000608C0B00B7",`
            `"40B8F4D2BE7111D1971B006097DCCB90",`
            `"4A85C0D3363611D4BAA8009027F15066",`
            `"31976EFD934511D2879000608C0B00B7",`
            `"E650C2883DC111D29536004F56000ECA",`
            `"a2e20808c4b211d19c5d006097af193b",`
            `"E3012CA2C88711D18916444553540000",`
            `"4F8ECAEE0EAF11D3BC2800105ADF01B6",`
            `"A2E2088CC4B211D19C5D006097AF193B",`
            `"E650C2133DC111D29536004F56000ECA",`
            `"ACEB3FD176F011D1957100805A150B0B",`
            `"FA695840324F11D4ADB500E07D7BF1D1",`
            `"676A6578B98211D49B5A00E07D7F048E",`
            `"0E550CF8309211D4BAA8009027F15066",`
            `"4F8ECA6A0EAF11D3BC2800105ADF01B6",`
            `"e75396538d8011d1ad760020aff92740",`
            `"4D519171461B47A4890A3858367CB2C6"`
        `};`

        `List<string> accoslistPL = new List<string>()`
        `{`
            `"86DB9DB6547A11D3BBA90000E870A1E4",`
            `"86DB9DB3547A11D3BBA90000E870A1E4",`
            `"86DB9DDA547A11D3BBA90000E870A1E4",`
            `"1A69A2F524B811D4A9430050DA4A23AF",`
            `"86db9cd7547a11d3bba90000e870a1e4",`
            `"2542F80E544811D2968200A0244EAF51",`
            `"55cd059af0eba0620be414db27b784e1",`
            `"DA31499C6F2211D291A100104BAF1B41",`
            `"c57911f163b611d4aaee00105a4ab73f",`
            `"5a812cf6171611d2ba1300a024493247",`
            `"1627455B7FA111D2A14100A0246F59E1",`
            `"F1FF604DA38211D1925F00805A150B0B",`
            `"F1FF6231A38211D1925F00805A150B0B",`
            `"162745317FA111D2A14100A0246F59E1",`
            `"E650C2103DC111D29536004F56000ECA",`
            `"A95A0607E8BC11D1891600104B49314F",`
            `"31976EFA934511D2879000608C0B00B7",`
            `"31976EFD934511D2879000608C0B00B7",`
            `"E650C2883DC111D29536004F56000ECA",`
            `"a2e20808c4b211d19c5d006097af193b",`
            `"E3012CA2C88711D18916444553540000",`
            `"4F8ECAEE0EAF11D3BC2800105ADF01B6",`
            `"A2E2088CC4B211D19C5D006097AF193B",`
            `"E650C2133DC111D29536004F56000ECA",`
            `"FA695840324F11D4ADB500E07D7BF1D1",`
            `"676A6578B98211D49B5A00E07D7F048E",`
            `"0E550CF8309211D4BAA8009027F15066",`
            `"4F8ECA6A0EAF11D3BC2800105ADF01B6",`
            `"e75396538d8011d1ad760020aff92740",`
            `"4D519171461B47A4890A3858367CB2C6"`
        `};
Clone this wiki locally