$result = $this->callWithResponse("productv2/RequestTemplateList"); if(isset($result)) { return (array)json_decode($result); } else { return array(); }