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] => 2
    [maxpax] => 4
    [minadt] => 2
    [maxadt] => 2
    [departureFrom] => Array
        (
            [0] => Katowice
        )

    [destinationTo] => Array
        (
            [0] => SHARM EL SHEIKH
        )

    [category] => 30
    [date] => 2024-05-25
    [departureDate] => 2024-05-25
    [departureTime] => Array
        (
            [depTime] => 0000
            [arrTime] => 0000
        )

    [returnDate] => 2024-06-01
    [returnTime] => Array
        (
            [depTime] => 0000
            [arrTime] => 0000
        )

    [length] => 8
    [lengthM] => 7
    [numberOfNights] => 7
    [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] => 261800
    [extOfferId] => Array
        (
            [type] => MDS
            [hash] => 4c34f4e8fc585c807990d57c3754e39d1141eda9905bbf587768eda3cfd6be5d
            [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] => 35
                )

        )

    [images] => Array
        (
            [mx] => Array
                (
                    [0] => https://datacfstatic.merlinx.pl/WEZY/IMG/3750/5c18ef33ccec71f556cf255892ea4f20dadffe7201e596786f4e2cacce2b0503.webp
                    [1] => https://datacfstatic.merlinx.pl/WEZY/IMG/3750/fad15d3c223da871be98572b1765166e5f57fd6283074eb3de7666bf4f014cc5.webp
                    [2] => https://datacfstatic.merlinx.pl/WEZY/IMG/3750/602abf38f5878ecb1c1df612fbcf20b11493cbbbc9eb3673a08ed5cd1c724703.webp
                    [3] => https://datacfstatic.merlinx.pl/WEZY/IMG/3750/a85f182df25ec3832c6a0ab0e65299e101f9fb12f0f27f9f9b2c0f4e7ddf0eb1.webp
                    [4] => https://datacfstatic.merlinx.pl/WEZY/IMG/3750/bffa935b0e919c0e87723365e4a8d62276a7c34e9234ee6270380c582b3b3968.webp
                    [5] => https://datacfstatic.merlinx.pl/WEZY/IMG/3750/56512757f60023cef565cf934f7eb536ac5721f5a7d27f651880de5835655c38.webp
                )

        )

    [hotelCode] => 3750
    [description] => Array
        (
            [0] => [subject]KATEGORIA[\subject][content] 3*[\content][subject]REGION[\subject][content] Sharm El Sheikh
[\content][subject]OPIS[\subject][content] [\content][subject]hotel[\subject][content]
 
 [\content][subject]lokalizacja[\subject][content]
1 km od centrum Sharm El Sheikh, 5 km od Na'ama Bay, 20 km od lotniska w Sharm El Sheikh. Hotel usytuowany na powierzchni: 12000 m2.
 
 
 
 [\content][subject]kategoria hotelu[\subject][content]
 3*
 
 
 [\content][subject]kategoria lokalna hotelu[\subject][content]
 3*
 
 
 
 [\content][subject]opis hotelu[\subject][subject]Data otwarcia[\subject][content]
2000 r. Odnowiony w 2017 r.
 
 
Na terenie hotelu: restauracje (4), bar, room service (płatny), sejf w recepcji (płatny), pralnia (płatna), basen odkryty. 
 
 
 
 
 
 [\content][subject]internet[\subject][content]
 
 - Wi-Fi w hotelu płatne
 
 
 [\content][subject]plaża[\subject][content]
 
1 km od hotelu, wydzielona część plaży publicznej, kamienista, 40 m długości, dojście do plaży ulicą.Do plaży kursuje bezpłatny bus hotelowy.Bezpłatne: parasole, leżaki, ręczniki plażowe, płatne: bar na plaży. 
 [\content][subject]pokoje[\subject][content]
 
Zlokalizowane są w 1 budynku:
 - 1 budynek deluxe (liczba pięter: 2)
 
Typy pokoi:
 
 
 - pokoje standardowe: klimatyzacja indywidualna, minibar (płatny), TV, telefon, łazienka (wanna lub prysznic, WC) 	
 
 
 [\content][subject]Wyżywienie[\subject][content]
 - 3 restauracje, restauracja a la carte, bar, cukiernia
 [\content][subject]śniadanie i obiadokolacja[\subject][content]
 - śniadanie (07:00-10:00), kolacja (19:00-21:00)
 - wybrane lokalne napoje bezalkoholowe do śniadania
 
 
 
 All Inclusive
 (10:00-22:00)
 
 - śniadanie (07:00-10:00),późne śniadanie (10:00-12:00),obiad (13:00-15:00), kolacja (19:00-21:00), późny posiłek (22:00-23:00) serwowane w restauracji głównej
 - napoje bezalkoholowe, lokalne napoje alkoholowe 
 Restauracje a la carte 
- płatna. Wymagana rezerwacja.
 - międzynarodowa
 
 
 
 
 [\content][subject]z myślą o dzieciach[\subject][content]
 
 - brodzik
 - animacje dla dzieci
 - plac zabaw
 - krzesełka dla dzieci w restauracji
 - łóżeczko dla dziecka do 2 lat (płatne, na zamówienie przed przyjazdem) - płatne
 
 
 [\content][subject]aktywnie i animacyjnie[\subject][content]
 
 [\content][subject]w cenie[\subject][content]
 
 - tenis stołowy
 - rzutki
 - badminton
 - siatkówka
 - animacje 
 
 
 [\content][subject]płatne[\subject][content]
 - bilard
 - sporty wodne na plaży
 - aerobik
 - siłownia
 - masaż
 - sauna
 - dyskoteka
 
 
 
 [\content][subject]dodatkowe informacje[\subject][content]
 Ze względu na procedury bezpieczeństwa zastosowane w związku z wirusem Covid-19 w danym obiekcie mogą występować ograniczenia w funkcjonowaniu infrastruktury hotelowej m. in. wyposażenie pokoju, serwis plażowy, serwis posiłków.
 
 
 Prosimy o sprawdzenie szczegółowych informacji związanych z pobytem: https://www.coraltravel.pl/bezpieczne-podrozowanie/#hotel
 Informacje na temat przepisów wjazdowych do poszczególnych krajów dostępne są pod linkiem: https://www.coraltravel.pl/bezpieczne-podrozowanie.
 
 
 
 [\content][subject]Aktualizacja opisu[\subject][content]
07.07.2023 16:00
 
 [\content][subject]usługi dostępne w hotelu[\subject][content]
 
 Disco 
 
 
 All Inclusive 
 
 
 Serwis plażowy 
 
 
 Sporty wodne[\content]
            [sourceUrl] => http://datacf.merlinx.pl/desc/U2hhcm0gRWwgU2hlaWtoRd9BqWoL197YRAWBtThZTTUDZXrw44p2NtXBmY3BWBmqocpFutU23Wr5nZe2-WYZRjtkQls-Eru54CEU7gnD_pVgNLmWh1NFo_yuio1BAZOiiZpCX8WsEL2LNm71HYzRiZ3seRuu5JWYkch-zraoZ7zWK8dDrGc2guRjqbtZQZS316MHDxLoLjE8yoOY9EfryI6szLXOw3k1e6itfRpFzrmW4JdODrmHwj6WUo9p6R3gV79-u4LgNdhjG4B4Q4PPe7IkAnoCTXsIcxg7ZacyIgFWhXEc3vNvEDznsq0m6lzVphbkUoy3ZeKuv_zPEXH-uQ==?lang=pl
        )

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

    [xRoomType] => Array
        (
            [1] => Pokój
            [7] => dwuosobowy
            [11] => widok na morze
            [51] => standardowy
        )

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

            [codeCarrier] => Array
                (
                    [0] => ENT 4004
                )

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

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

            [time] => Array
                (
                    [0] => 0000
                    [1] => 0000
                )

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

        )

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

            [codeCarrier] => Array
                (
                    [0] => ENT 4003
                )

            [time] => Array
                (
                    [0] => 0000
                    [1] => 0000
                )

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

            [to] => Array
                (
                    [0] => SHARM EL SHEIKH
                )

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

            [operator] => Array
                (
                    [0] => Enter Air/Enter Air
                )

        )

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

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

    [descriptionDynamicUrl] => datacf.merlinx.pl/desc/U2hhcm0gRWwgU2hlaWtoRd9BqWoL197YRAWBtThZTTUDZXrw44p2NtXBmY3BWBmqocpFutU23Wr5nZe2-WYZRjtkQls-Eru54CEU7gnD_pVgNLmWh1NFo_yuio1BAZOiiZpCX8WsEL2LNm71HYzRiZ3seRuu5JWYkch-zraoZ7zWK8dDrGc2guRjqbtZQZS316MHDxLoLjE8yoOY9EfryI6szLXOw3k1e6itfRpFzrmW4JdODrmHwj6WUo9p6R3gV79-u4LgNdhjG4B4Q4PPe7IkAnoCTXsIcxg7ZacyIgFWhXEc3vNvEDznsq0m6lzVphbkUoy3ZeKuv_zPEXH-uQ==?lang=pl
    [distanceSki] => 99999
    [distanceBeach] => 1271
    [firstImages] => 
    [sourceUrl] => http://datacf.merlinx.pl/desc/U2hhcm0gRWwgU2hlaWtoRd9BqWoL197YRAWBtThZTTUDZXrw44p2NtXBmY3BWBmqocpFutU23Wr5nZe2-WYZRjtkQls-Eru54CEU7gnD_pVgNLmWh1NFo_yuio1BAZOiiZpCX8WsEL2LNm71HYzRiZ3seRuu5JWYkch-zraoZ7zWK8dDrGc2guRjqbtZQZS316MHDxLoLjE8yoOY9EfryI6szLXOw3k1e6itfRpFzrmW4JdODrmHwj6WUo9p6R3gV79-u4LgNdhjG4B4Q4PPe7IkAnoCTXsIcxg7ZacyIgFWhXEc3vNvEDznsq0m6lzVphbkUoy3ZeKuv_zPEXH-uQ==?lang=pl
    [roomType] => Array
        (
            [53785] => Double Standard Room (PoolView)
        )

    [departureTo] => Array
        (
            [0] => SHARM EL SHEIKH
        )

    [alternativesAllowed] => Array
        (
        )

)

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