getAllContentsByCollection

This method returns all the contents (hotel descriptions) for a collection (hotel,car rental, property, company)

	
	$curl_post_data = array(
		"user" => $obj->user,
		"secret" => $obj->secret,
		"ubCall" => "getAllContentsByCollection",
		"ubParams" => array(
			"user" => $obj->user, 
			"collectionID" => $ID_PROPERTY,
			"lang" => $LANG_STRING
		)
	);	

	
	$objCollections = $restCall->post_rest(
		HG_REST_SERVER."post",
		array(
			"dispatcher" => json_encode($curl_post_data)
		)
	);


		
	

Value Description
name  name of the attribute 
photo  image file generated in the server 
description  generic description of the attribute 
collectionID  the collection that contains the attribute 

UpBooking API

Subscribe to our Newsletter

Get connected with our latest news, sign up to our newsletter