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
(
    [alternativesAllowed] => Array
        (
        )

)

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