$id ] ); } static function crmDealProductRowsGet($id){ return CRest::call( 'crm.deal.productrows.get', [ 'id'=>$id ] ); } static function fdatetime($x){ $h = date('H'); return date('Y-m-d').'T'.($h<10?'0':'').$h.date(':i:s').'+03:00'; } static function test(){ $client_id = 'local.5fead9dae0df76.26701771'; $client_server = 'UzAKF55Ar3zTdzCiUXiOWtGmeYlNMQ306gwtfJ2T2FgRh4l30u'; } static function installApp(){ CRest::installApp(); } static function checkServer(){ CRest::checkServer(); } }