Added get template API