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
        (
        )

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

)

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