Jump to content

Edit History

gusman126

gusman126

Resolved :

Need change lib file 

public function get($options){
..............
if (count($url_params) > 0) {
$url .= '?' . http_build_query($url_params);
}

//add 
if($options['date'] == '1'){
	$url .= '&date=1';
}

}

Create order webservice :

$hoy = date('Y-m-d');
			$opt = array(
				'resource' => 'products',
				'date' => '1',
				'display' => 'full',
				
				'filter[date_upd]' => '>['.$hoy.']',
				
				
			);

IMPORTANT! SIMBOL ">" FOR greater than date or "<" smaller than

Dates = array

 

Webservice full of bugs!!!

 

gusman126

gusman126

Resolved :

Need change lib file 

public function get($options){
..............
if (count($url_params) > 0) {
$url .= '?' . http_build_query($url_params);
}

//add 
if($options['date'] == '1'){
	$url .= '&date=1';
}

}

Create order webservice :

$hoy = date('Y-m-d');
			$opt = array(
				'resource' => 'products',
				'date' => '1',
				'display' => 'full',
				
				'filter[date_upd]' => '>['.$hoy.']',
				
				
			);

IMPORTANT! SIMBOL ">" FOR greater than date or "<" smaller than

Dates = array

 

FUCK Webservice full of bugs!!!

 

×
×
  • Create New...