adding service template API