UDDS CLIENT - API Documentation version 4.01 ( 2022.04.22 )

About UDDS Client

Complex types

Properties

Methods

Online booking and payments

Download

udds->getOffer ( function )


Description :

  • Call : udds->getOffer ( $debugParams )
  • Class element : method / function
  • Result : array - return only one offer
  • This function uses the following properties : udds->searchParams
  • This function not use the following properties : 'resultsPageNumber', 'resultsPerPage', 'offerName', 'gps', 'temperature', 'country', 'region', 'countryRegion', 'text'


Using this function you can obtain offer details.

Parameters :

Optional only in debugging mode by KSI.

Example

<?php

    //
    // example file
    // 
    require_once ( 'classUdds.php' ) ;    
    $udds = new classUdds ;
    
    $udds->myLogin = [ Your UDDS Login ] ;
    $udds->myConfigId = [ Your UDDS ConfigId ] ;
    $udds->srvUrl = [ Your UDDS Server ] ;

    $udds->searchParams = array() ;
    $udds->searchParams [ 'adults' ] = 2 ;
    $udds->searchParams [ 'offerId' ] = array ( '25664' ) ;    
    
    $data = $udds->getOffer () ;
    
    print_r ( $data ) ;
    
    unset ( $udds ) ;

?>

Live mode example:

Array
(
    [offerId] => 25664
    [offerCatalog] => 
    [offerCatalogX] => 
    [offerType] => F
    [offerName] => AMAR SINA BOUTIQUE HOTEL
    [offerMerlinXName] => Amar Sina
    [country] => Egipt
    [region] => Sharm El Sheikh
    [cityX] => Szarm el-Szejk
    [city] => Szarm el-Szejk
    [tourOperator] => Array
        (
            [0] => WEZY
        )

    [tourOperatorsName] => Array
        (
            [0] => Coral Travel
        )

    [feeding] => Array
        (
            [1] => All Inclusive (5)
        )

    [feedingName] => Array
        (
            [1] => Wszystko w cenie
        )

    [minpax] => 1
    [maxpax] => 2
    [minadt] => 0
    [maxadt] => 2
    [departureFrom] => Array
        (
            [0] => Katowice
        )

    [destinationTo] => Array
        (
            [0] => Sharm El Sheikh
        )

    [category] => 30
    [date] => 2024-12-17
    [departureDate] => 2024-12-17
    [departureTime] => Array
        (
            [depTime] => 0725
            [arrTime] => 1245
        )

    [returnDate] => 2024-12-23
    [returnTime] => Array
        (
            [depTime] => 2040
            [arrTime] => 2355
        )

    [length] => 7
    [lengthM] => 6
    [numberOfNights] => 6
    [transport] => Array
        (
            [F] => samolot
        )

    [attributes] => Array
        (
            [0] => Życie nocne
            [1] => Klimatyzacja
            [2] => Dostęp do internetu
            [3] => Nurkowanie
            [4] => Sporty wodne
            [5] => Sport
            [6] => Animacje dla dorosłych
            [7] => Blisko lotniska
            [8] => Basen odkryty
            [9] => Fitness/siłownia
            [10] => Hotel klubowy
            [11] => Dla rodzin z dziećmi
            [12] => Kurorty nadmorskie
            [13] => Wellness
        )

    [price] => 158700
    [extOfferId] => Array
        (
            [type] => MDS
            [hash] => c42aa02509f099244e03c94a3e75fa63000000007f0004008900040006000000
            [uniqueOfferId] => 36
        )

    [review] => Array
        (
        )

    [gps] => Array
        (
            [latitude] => 27.8701
            [longitude] => 34.3095
            [altitude] => 0
        )

    [weather] => Array
        (
            [air] => Array
                (
                    [1] => 22
                    [2] => 24
                    [3] => 26
                    [4] => 30
                    [5] => 33
                    [6] => 37
                    [7] => 37
                    [8] => 38
                    [9] => 35
                    [10] => 32
                    [11] => 28
                    [12] => 24
                    [now] => 32
                )

        )

    [images] => Array
        (
            [mx] => Array
                (
                    [0] => https://datacfstatic.merlinx.pl/WEZY/IMG/3750/c3eb4ad8d7ec8fc5403e78828d1e6c883b2c20fc17ade3f0cd0b6b082521748b.webp
                    [1] => https://datacfstatic.merlinx.pl/WEZY/IMG/3750/73ca533558cde558f60c3af0f98216e82dba5a73078accedc373d59ed305f31a.webp
                    [2] => https://datacfstatic.merlinx.pl/WEZY/IMG/3750/72e471703be226cb710f8f044f5fce7b8646f2ae67a557085ec9d7e61bf6d7c9.webp
                    [3] => https://datacfstatic.merlinx.pl/WEZY/IMG/3750/d3a81b36ac0e11ca1f488efffcf1c7d3057af1a4af22406e60cb4b179d9b49bd.webp
                    [4] => https://datacfstatic.merlinx.pl/WEZY/IMG/3750/5c5e480fcf20a85852681be06571202ce59b883a4af4e4dbd9d1d3e57fce32d7.webp
                    [5] => https://datacfstatic.merlinx.pl/WEZY/IMG/3750/760a9e885b3f04f0e2c9aea81a8b5fef1b52981b9620a7fb228f2c8563af4a9d.webp
                    [6] => https://datacfstatic.merlinx.pl/WEZY/IMG/3750/d6ca986dba58332a49d01925342c972eaa02aaa4ecb562543b7da04c832d008f.webp
                    [7] => https://datacfstatic.merlinx.pl/WEZY/IMG/3750/2ae010c334c86c4b3a16749b1e5f215b37d88b148d905d94e8bb2415a99ee8ea.webp
                    [8] => https://datacfstatic.merlinx.pl/WEZY/IMG/3750/8e414b55b4bc784bf0c00c2284e5dd5f4c549b4d110196982ae1e17af4608eaf.webp
                    [9] => https://datacfstatic.merlinx.pl/WEZY/IMG/3750/730389ee956d42c4d0f647e3a57a82aa7a429d6b61b48e64d7a72e7a2198e8a9.webp
                    [10] => https://datacfstatic.merlinx.pl/WEZY/IMG/3750/38198ec1ddc17bc6d6d2c8c9ebf1083b852a046d63c1f257b65847a41fbe384c.webp
                    [11] => https://datacfstatic.merlinx.pl/WEZY/IMG/3750/3481cfba67e1bcf487ee722d232463d27b31ba082721b14235d58bbd8f814d0d.webp
                    [12] => https://datacfstatic.merlinx.pl/WEZY/IMG/3750/d952126658dc2f750e0db5272e4ce986a6dc9c53511d2b884ad5d6d5a613b175.webp
                    [13] => https://datacfstatic.merlinx.pl/WEZY/IMG/3750/cd3af1e88f346e49f9b636b3b28f9ab9e3af9b78f656ef3da99e90797c10a5f4.webp
                    [14] => https://datacfstatic.merlinx.pl/WEZY/IMG/3750/4cc311434546eea9efb6689710f3512f9dc13f31abefc74ab03d720b9cc234b3.webp
                    [15] => https://datacfstatic.merlinx.pl/WEZY/IMG/3750/d6476d85383078c3abeebce2dfe072b392ee33e8ff15b87826957ea220ae198a.webp
                    [16] => https://datacfstatic.merlinx.pl/WEZY/IMG/3750/f010f030a1f87402ab726054ea2735cc88987e56ae831b5f9921853776b09716.webp
                    [17] => https://datacfstatic.merlinx.pl/WEZY/IMG/3750/d8979b516d74ed0c5fb575c798e2eaf1e76cee7f88bec947e83a29af210aa410.webp
                    [18] => https://datacfstatic.merlinx.pl/WEZY/IMG/3750/1949cd136b822e18b24c35c993e7f4682e317d015d391a63dc1d866f4cad58a0.webp
                    [19] => https://datacfstatic.merlinx.pl/WEZY/IMG/3750/27318714bc8f9a1ce983d53f4e9d0ad0c5b150b9b011d696c6983c6ba3600ab5.webp
                    [20] => https://datacfstatic.merlinx.pl/WEZY/IMG/3750/b05954fb63ecc9fbaed85731a45127121c68f9f82aea75eb51265be42f7fece2.webp
                    [21] => https://datacfstatic.merlinx.pl/WEZY/IMG/3750/d61cbda1b07ecd9646da9bac3e4e422f462da9a7cf5f81a6991f96abf8dd0e5c.webp
                    [22] => https://datacfstatic.merlinx.pl/WEZY/IMG/3750/e62bef3ed7276ae193d78f794cf63f42c48d139653534dc4ee2f963dcbbcf4a2.webp
                )

        )

    [hotelCode] => 3750
    [description] => Array
        (
            [0] => [subject]Kategoria hotelu[\subject][content]3*[\content][subject]Ocena TripAdvisor[\subject][content]3.5[\content][subject]Kraj[\subject][content]Egipt[\content][subject]Region[\subject][content]Sharm El Sheikh[\content][subject]Miasto[\subject][content]Sharm El Sheikh[\content][subject]Adres[\subject][content]Qesm Sharm Ash Sheikh South Sinai Governorate, Sharm El Sheikh 46628[\content][subject]Położenie[\subject][content]27.870359,34.30960900000002[\content][subject]Jedzenie i picie[\subject][content]- Restauracje
- Restauracje a la carte
- Bary
[\content][subject]All Inclusive (10:00 - 22:00)[\subject][content]Śniadanie (07:00 - 09:00) - Main Restaurant, stół szwedzki
Obiad (13:00 - 15:00) - Main Restaurant, stół szwedzki
Kolacja (19:00 - 21:00) - Main Restaurant, stół szwedzki
Balalease A La Carte Cafe, bez limitu, Kuchnia: Włoska, Egipska, Wymagana rezerwacja: Tak ¹⁾
- napoje bezalkoholowe
- alkohole lokalne
- pakiety dla nowożeńców ¹⁾
- pakiety urodzinowe (na życzenie)
- cukiernia ¹⁾
- room service ¹⁾

¹⁾ - dodatkowo płatne
[\content][subject]Half Board[\subject][content]Śniadanie (07:00 - 09:00) - Main Restaurant, stół szwedzki
Obiad (13:00 - 15:00) - Main Restaurant, stół szwedzki ¹⁾
Kolacja (19:00 - 21:00) - Main Restaurant, stół szwedzki
Balalease A La Carte Cafe, bez limitu, Kuchnia: Włoska, Egipska, Wymagana rezerwacja: Tak ¹⁾
- napoje bezalkoholowe ¹⁾
- alkohole lokalne ¹⁾
- pakiety dla nowożeńców ¹⁾
- pakiety urodzinowe (na życzenie)
- cukiernia ¹⁾
- room service ¹⁾

¹⁾ - dodatkowo płatne
[\content][subject]Standard Room[\subject][content]Dla max. 3 osób
Przestrzeń zewnętrzna: Balkon lub taras
Kanały telewizji: Rosyjski, Ukraiński, polski, angielski, Arabski
Telefon w pokoju
wanna i prysznic 
Klimatyzacja: Klimatyzacja indywidualna
[\content][subject]Standard Room Pool View[\subject][content]Dla max. 3 osób
Przestrzeń zewnętrzna: Taras
Kanały telewizji: Rosyjski, Ukraiński, polski, angielski, Arabski
Telefon w pokoju
wanna lub prysznic 
Klimatyzacja: Klimatyzacja indywidualna
[\content][subject]Sport i rozrywka[\subject][content]- Tenis stołowy
- Rzutki
- Badminton
- Siatkówka
- Bilard ¹⁾
- Parasailing ¹⁾
- Kajaki ¹⁾
- Klub nurkowy ¹⁾
- Rowery wodne ¹⁾
- Aerobik ¹⁾
- Siłownia ¹⁾

¹⁾ - dodatkowo płatne
[\content][subject]Plaża[\subject][content]Kamienista
odleglość do plaży: 1 km
Parasole - bezpłatnie
Leżaki - bezpłatnie
Ręczniki - bezpłatnie
Beach Bar
[\content][subject]Dla dzieci[\subject][content]Baseny:
- Brodzik łączony z basenem głównym
[\content][subject]Usługi dodatkowe[\subject][content]- SPA ¹⁾
- Masaż ¹⁾
- Sauna ¹⁾
- Jacuzzi ¹⁾
- Dyskoteka ¹⁾
- Salon piękności ¹⁾
- Pralnia ¹⁾
- Wi-Fi/Internet: tylko w lobby, na terenie całego hotelu ¹⁾
- Usługi medyczne ¹⁾
- Łaźnia turecka ¹⁾

¹⁾ - dodatkowo płatne
[\content]
            [sourceUrl] => https://datacf.merlinx.pl/desc/U2hhcm0gRWwgU2hlaWtoReFYsSorXg1iDcwBHN4l9sj_0TIQB_Vc1kxoyI-3WqrWobYNTA5uyNKCJYZgUBYQdorfmdE8eQpJ3-bV03jZeE9jSvOMl1T1B6HHIzSbqvW711ukAPmIvdrGYs-E0_v8Mwl_6pFvzMJdTBDWA--4y-DMG9tHAgTJP9k5upxIurMQ9tQrMqR6PZ-t7dFwX330HXiHbg_-C6iy3ufXKbrUhj7_sFB-IB6s4eCxj2YNwA2_NHZYn13VrIccj93LxPnSBmyIB-S4nvTjVxi1Qpv6diFJqsGni7Un-_TJJUigua27CpUMuxUdFj2SnQQ9YKk5FQ==?lang=pl
        )

    [season] => 0
    [xCampType] => Array
        (
        )

    [xRoomType] => Array
        (
            [1] => Pokój
            [13] => widok na park/ogród
            [51] => standardowy
            [54] => nieznane obłozenie
        )

    [arrival] => Array
        (
            [code] => Array
                (
                    [0] => 262281
                )

            [codeCarrier] => Array
                (
                    [0] => LO 6146
                )

            [returnFrom] => Array
                (
                    [code] => SSH
                )

            [returnTo] => Array
                (
                    [code] => KTW
                    [name] => Katowice
                )

            [time] => Array
                (
                    [0] => 2040
                    [1] => 2355
                )

            [date] => Array
                (
                    [0] => 20241223
                    [1] => 20241223
                )

        )

    [departure] => Array
        (
            [code] => Array
                (
                    [0] => 262271
                )

            [codeCarrier] => Array
                (
                    [0] => LO 6145
                )

            [time] => Array
                (
                    [0] => 0725
                    [1] => 1245
                )

            [fromCode] => KTW
            [toCode] => SSH
            [from] => Array
                (
                    [0] => Katowice
                )

            [to] => Array
                (
                    [0] => Sharm El Sheikh
                )

            [date] => Array
                (
                    [0] => 20241217
                    [1] => 20241217
                )

            [operator] => Array
                (
                    [0] => LOT Polish Airlines/LOT Polish Airlines
                )

        )

    [packageExtra] => Array
        (
            [isPackage] => 
            [obj_type] => H
        )

    [priceHistory] => Array
        (
            [ymax] => 0
            [ymin] => 0
            [max] => 0
            [id] => 
        )

    [descriptionDynamicUrl] => datacf.merlinx.pl/desc/U2hhcm0gRWwgU2hlaWtoReFYsSorXg1iDcwBHN4l9sj_0TIQB_Vc1kxoyI-3WqrWobYNTA5uyNKCJYZgUBYQdorfmdE8eQpJ3-bV03jZeE9jSvOMl1T1B6HHIzSbqvW711ukAPmIvdrGYs-E0_v8Mwl_6pFvzMJdTBDWA--4y-DMG9tHAgTJP9k5upxIurMQ9tQrMqR6PZ-t7dFwX330HXiHbg_-C6iy3ufXKbrUhj7_sFB-IB6s4eCxj2YNwA2_NHZYn13VrIccj93LxPnSBmyIB-S4nvTjVxi1Qpv6diFJqsGni7Un-_TJJUigua27CpUMuxUdFj2SnQQ9YKk5FQ==?lang=pl
    [distanceSki] => 99999
    [distanceBeach] => 1271
    [firstImages] => 
    [sourceUrl] => https://datacf.merlinx.pl/desc/U2hhcm0gRWwgU2hlaWtoReFYsSorXg1iDcwBHN4l9sj_0TIQB_Vc1kxoyI-3WqrWobYNTA5uyNKCJYZgUBYQdorfmdE8eQpJ3-bV03jZeE9jSvOMl1T1B6HHIzSbqvW711ukAPmIvdrGYs-E0_v8Mwl_6pFvzMJdTBDWA--4y-DMG9tHAgTJP9k5upxIurMQ9tQrMqR6PZ-t7dFwX330HXiHbg_-C6iy3ufXKbrUhj7_sFB-IB6s4eCxj2YNwA2_NHZYn13VrIccj93LxPnSBmyIB-S4nvTjVxi1Qpv6diFJqsGni7Un-_TJJUigua27CpUMuxUdFj2SnQQ9YKk5FQ==?lang=pl
    [roomType] => Array
        (
            [204263] => Standard Room Garden View
        )

    [departureTo] => Array
        (
            [0] => Sharm El Sheikh
        )

    [alternativesAllowed] => Array
        (
        )

)

KSI Media ( www.ksimedia.pl ) - technical contact : maciej.szczepanski@ksimedia.pl