UDDS CLIENT - API Documentation version 4.01 ( 2022.04.22 )

About UDDS Client

Complex types

Properties

Methods

Online booking and payments

Download

udds->getExtraDataForHotel ( function )


BETA - this function is implemented in UDDS client ver. 2.1
Description :
  • Call : udds->getExtraDataForHotel ( $debugParams )
  • Class element : method / function
  • Result : array - return extra hotels to offer (7+7)
  • This function uses the following properties : udds->searchParams
  • This function use only the following param : extOfferId
    with 'MDS' and hash to offer (7+7)


Using this function you can obtain extra data to offer 7+7.

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() ;
    // example hash can be expired !
    $udds->searchParams [ 'extOfferId' ] = array( 'MDS', 'c914a1d09e3f295c842270caaf26068b8792949eae5b83e745c6919308327de3' );
    $udds->searchParams [ 'extraData' ] = array ( 'hotelsExtra' ); // if not set default is 'priceHistory'
    $data = $udds->getExtraDataForHotel() ;

    
    print_r ( $data ) ;
    
    unset ( $udds ) ;

?>

Live mode example:

Array
(
    [HotelExtra] => Array
        (
        )

    [alternativesAllowed] => Array
        (
        )

)

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