Тема: update geofence data
I trying to update the geofence data, i using php but i have a error 7. i dont know if need pass all parameters, i only want update the 'w' parameter.
I signed with the resource owner of geofence.
The code that i using is this:
$params = array(
'itemId' =>12123,
'id'=> 11,
'callMode'=>'update',
'n' => 'GAS_Calle 27 De Febrero',
'd' => 'Calle 27 De Febrero<br/>Balancán,Tabasco<br/>E03229',
't' => 3,
'w' => 30,
'f' => 48,
'c' => 2568583984,
'tc' => 16733440,
'ts' => 12,
'min' => 0,
'max' => 18,
'path' => '',
'libId' => 0,
);
$data = $wialon_api->resource_update_zone(json_encode($params));
i follow the api documentation: http://sdk.wialon.com/wiki/en/kit/remot … pdate_zone
can someone help me?
Thanks