code: def get_work_item_template(self, project, type, fields=None, as_of=None, expand=None):
          
          route_values = {}
          if project is not None:
              route_values['project'] = self._serialize.url('project', project, 'str')
          if type is not None:
              route_values['type'] = self._serialize.url('type', type, 'str')
          query_parameters = {}
          if fields is not None:
              query_parameters['fields'] = self._serialize.query('fields', fields, 'str')
          if as_of is not None:
              query_parameters['asOf'] = self._serialize.query('as_of', as_of, 'iso-8601')
          if expand is not None:
              query_parameters['$expand'] = self._serialize.query('expand', expand, 'str')
          response = self._send(http_method='GET',
                                location_id='62d3d110-0047-428c-ad3c-4fe872c91c74',
                                version='5.1-preview.3',
                                route_values=route_values,
                                query_parameters=query_parameters)
          return self._deserialize('WorkItem', response)
docs: GetWorkItemTemplate.
          [Preview API] Returns a single work item from a template.
          :param str project: Project ID or project name
          :param str type: The work item type name
          :param str fields: Comma-separated list of requested fields
          :param datetime as_of: AsOf UTC date time string
          :param str expand: The expand parameters for work item attributes. Possible options are { None, Relations, Fields, Links, All }.
          :rtype: :class:`<WorkItem> <azure.devops.v5_1.work-item-tracking.models.WorkItem>`