code: def get_process_by_its_id(self, process_type_id, expand=None):
          
          route_values = {}
          if process_type_id is not None:
              route_values['processTypeId'] = self._serialize.url('process_type_id', process_type_id, 'str')
          query_parameters = {}
          if expand is not None:
              query_parameters['$expand'] = self._serialize.query('expand', expand, 'str')
          response = self._send(http_method='GET',
                                location_id='02cc6a73-5cfb-427d-8c8e-b49fb086e8af',
                                version='5.0-preview.2',
                                route_values=route_values,
                                query_parameters=query_parameters)
          return self._deserialize('ProcessInfo', response)
docs: GetProcessByItsId.
          [Preview API] Get a single process of a specified ID.
          :param str process_type_id:
          :param str expand:
          :rtype: :class:`<ProcessInfo> <azure.devops.v5_0.work_item_tracking_process.models.ProcessInfo>`