UDDS CLIENT - API Documentation version 4.01 ( 2022.04.22 )

About UDDS Client

Complex types

Properties

Methods

Online booking and payments

Download

udds->getOfferDates ( function )


Description :

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

  • Obligatory set one offerId or extOfferId in search Params


Using this function you can obtain date lists of a chosen offer.

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' ) ;
    $udds->searchParams [ 'resultsPerPage' ] = 3 ;
    
    
    $data = $udds->getOfferDates () ;
    
    print_r ( $data ) ;
    
    unset ( $udds ) ;

?>

Live mode example:

Array
(
    [offersList] => Array
        (
            [0] => Array
                (
                    [offerId] => 25664
                    [feeding] => Array
                        (
                            [2] => Half Board (21)
                        )

                    [feedingName] => Array
                        (
                            [2] => Śniadanie i obiadokolacje
                        )

                    [room] => Array
                        (
                            [204263] => Standard Room Garden View
                        )

                    [length] => 4
                    [lengthM] => 3
                    [numberOfNights] => 3
                    [offerType] => F
                    [transport] => Array
                        (
                            [F] => samolot
                        )

                    [departureTime] => Array
                        (
                            [depTime] => 0000
                            [arrTime] => 0000
                        )

                    [departureDate] => 2024-12-14
                    [returnTime] => Array
                        (
                            [depTime] => 1635
                            [arrTime] => 2010
                        )

                    [returnDate] => 2024-12-17
                    [departureFrom] => Warszawa
                    [destinationTo] => Sharm El Sheikh
                    [minpax] => 1
                    [maxpax] => 2
                    [minadt] => 0
                    [maxadt] => 2
                    [offerName] => AMAR SINA BOUTIQUE HOTEL
                    [offerMerlinXName] => Amar Sina
                    [offerCatalog] => 
                    [offerCatalogX] => 
                    [country] => Egipt
                    [region] => Sharm El Sheikh
                    [cityX] => Szarm el-Szejk
                    [city] => Szarm el-Szejk
                    [category] => 30
                    [tourOperator] => WEZY
                    [tourOperatorsName] => Coral Travel
                    [extOfferId] => Array
                        (
                            [type] => MDS
                            [hash] => 532e9ebdd3541f033ae63d8359877d420000000085f5030009f9030003000000
                            [uniqueOfferId] => 36
                        )

                    [price] => Array
                        (
                            [price] => 188900
                            [priceOrg] => 188900
                            [currOrg] => PLN
                        )

                    [departure] => Array
                        (
                            [code] => Array
                                (
                                    [0] => 259461
                                    [1] => 259461
                                )

                            [codeCarrier] => Array
                                (
                                    [0] => ENT 4597
                                    [1] => ENT 4597
                                )

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

                            [fromCode] => WAW
                            [toCode] => SSH
                            [from] => Array
                                (
                                    [0] => Warszawa
                                    [1] => Warszawa
                                )

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

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

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

                        )

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

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

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

                            [returnTo] => Array
                                (
                                    [code] => WAW
                                    [name] => Warszawa
                                )

                            [time] => Array
                                (
                                    [0] => 1635
                                    [1] => 2010
                                )

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

                        )

                    [season] => 0
                )

            [1] => Array
                (
                    [offerId] => 25664
                    [feeding] => Array
                        (
                            [2] => Half Board (21)
                        )

                    [feedingName] => Array
                        (
                            [2] => Śniadanie i obiadokolacje
                        )

                    [room] => Array
                        (
                            [204263] => Standard Room Garden View
                        )

                    [length] => 4
                    [lengthM] => 3
                    [numberOfNights] => 3
                    [offerType] => F
                    [transport] => Array
                        (
                            [F] => samolot
                        )

                    [departureTime] => Array
                        (
                            [depTime] => 0000
                            [arrTime] => 0000
                        )

                    [departureDate] => 2024-12-14
                    [returnTime] => Array
                        (
                            [depTime] => 1635
                            [arrTime] => 2010
                        )

                    [returnDate] => 2024-12-17
                    [departureFrom] => Warszawa
                    [destinationTo] => Sharm El Sheikh
                    [minpax] => 1
                    [maxpax] => 2
                    [minadt] => 0
                    [maxadt] => 2
                    [offerName] => AMAR SINA BOUTIQUE HOTEL
                    [offerMerlinXName] => Amar Sina
                    [offerCatalog] => 
                    [offerCatalogX] => 
                    [country] => Egipt
                    [region] => Sharm El Sheikh
                    [cityX] => Szarm el-Szejk
                    [city] => Szarm el-Szejk
                    [category] => 30
                    [tourOperator] => WEZY
                    [tourOperatorsName] => Coral Travel
                    [extOfferId] => Array
                        (
                            [type] => MDS
                            [hash] => 532e9ebdd3541f033ae63d8359877d420000000085f5030009f9030003000000
                            [uniqueOfferId] => 36
                        )

                    [price] => Array
                        (
                            [price] => 188900
                            [priceOrg] => 188900
                            [currOrg] => PLN
                        )

                    [departure] => Array
                        (
                            [code] => Array
                                (
                                    [0] => 259461
                                    [1] => 259461
                                )

                            [codeCarrier] => Array
                                (
                                    [0] => ENT 4597
                                    [1] => ENT 4597
                                )

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

                            [fromCode] => WAW
                            [toCode] => SSH
                            [from] => Array
                                (
                                    [0] => Warszawa
                                    [1] => Warszawa
                                )

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

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

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

                        )

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

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

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

                            [returnTo] => Array
                                (
                                    [code] => WAW
                                    [name] => Warszawa
                                )

                            [time] => Array
                                (
                                    [0] => 1635
                                    [1] => 2010
                                )

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

                        )

                    [season] => 0
                )

            [2] => Array
                (
                    [offerId] => 25664
                    [feeding] => Array
                        (
                            [2] => Half Board (21)
                        )

                    [feedingName] => Array
                        (
                            [2] => Śniadanie i obiadokolacje
                        )

                    [room] => Array
                        (
                            [204263] => Standard Room Garden View
                        )

                    [length] => 4
                    [lengthM] => 3
                    [numberOfNights] => 3
                    [offerType] => F
                    [transport] => Array
                        (
                            [F] => samolot
                        )

                    [departureTime] => Array
                        (
                            [depTime] => 0000
                            [arrTime] => 0000
                        )

                    [departureDate] => 2024-12-07
                    [returnTime] => Array
                        (
                            [depTime] => 1635
                            [arrTime] => 2010
                        )

                    [returnDate] => 2024-12-10
                    [departureFrom] => Warszawa
                    [destinationTo] => Sharm El Sheikh
                    [minpax] => 1
                    [maxpax] => 2
                    [minadt] => 0
                    [maxadt] => 2
                    [offerName] => AMAR SINA BOUTIQUE HOTEL
                    [offerMerlinXName] => Amar Sina
                    [offerCatalog] => 
                    [offerCatalogX] => 
                    [country] => Egipt
                    [region] => Sharm El Sheikh
                    [cityX] => Szarm el-Szejk
                    [city] => Szarm el-Szejk
                    [category] => 30
                    [tourOperator] => WEZY
                    [tourOperatorsName] => Coral Travel
                    [extOfferId] => Array
                        (
                            [type] => MDS
                            [hash] => 532e9ebdd3541f033ae63d8359877d420000000084f5030008f9030003000000
                            [uniqueOfferId] => 36
                        )

                    [price] => Array
                        (
                            [price] => 189100
                            [priceOrg] => 189100
                            [currOrg] => PLN
                        )

                    [departure] => Array
                        (
                            [code] => Array
                                (
                                    [0] => 259460
                                    [1] => 259460
                                )

                            [codeCarrier] => Array
                                (
                                    [0] => ENT 4597
                                    [1] => ENT 4597
                                )

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

                            [fromCode] => WAW
                            [toCode] => SSH
                            [from] => Array
                                (
                                    [0] => Warszawa
                                    [1] => Warszawa
                                )

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

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

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

                        )

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

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

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

                            [returnTo] => Array
                                (
                                    [code] => WAW
                                    [name] => Warszawa
                                )

                            [time] => Array
                                (
                                    [0] => 1635
                                    [1] => 2010
                                )

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

                        )

                    [season] => 0
                )

            [3] => Array
                (
                    [offerId] => 25664
                    [feeding] => Array
                        (
                            [2] => Half Board (21)
                        )

                    [feedingName] => Array
                        (
                            [2] => Śniadanie i obiadokolacje
                        )

                    [room] => Array
                        (
                            [204263] => Standard Room Garden View
                        )

                    [length] => 4
                    [lengthM] => 3
                    [numberOfNights] => 3
                    [offerType] => F
                    [transport] => Array
                        (
                            [F] => samolot
                        )

                    [departureTime] => Array
                        (
                            [depTime] => 0000
                            [arrTime] => 0000
                        )

                    [departureDate] => 2024-12-14
                    [returnTime] => Array
                        (
                            [depTime] => 1345
                            [arrTime] => 1700
                        )

                    [returnDate] => 2024-12-17
                    [departureFrom] => Katowice
                    [destinationTo] => Sharm El Sheikh
                    [minpax] => 1
                    [maxpax] => 2
                    [minadt] => 0
                    [maxadt] => 2
                    [offerName] => AMAR SINA BOUTIQUE HOTEL
                    [offerMerlinXName] => Amar Sina
                    [offerCatalog] => 
                    [offerCatalogX] => 
                    [country] => Egipt
                    [region] => Sharm El Sheikh
                    [cityX] => Szarm el-Szejk
                    [city] => Szarm el-Szejk
                    [category] => 30
                    [tourOperator] => WEZY
                    [tourOperatorsName] => Coral Travel
                    [extOfferId] => Array
                        (
                            [type] => MDS
                            [hash] => 532e9ebdd3541f033ae63d8359877d420000000053f503008600040003000000
                            [uniqueOfferId] => 36
                        )

                    [price] => Array
                        (
                            [price] => 189100
                            [priceOrg] => 189100
                            [currOrg] => PLN
                        )

                    [departure] => Array
                        (
                            [code] => Array
                                (
                                    [0] => 259411
                                    [1] => 259411
                                )

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

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

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

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

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

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

                        )

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

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

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

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

                            [time] => Array
                                (
                                    [0] => 1345
                                    [1] => 1700
                                )

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

                        )

                    [season] => 0
                )

        )

    [offersCount] => 501
    [alternativesAllowed] => Array
        (
        )

)

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