code: def _get_decision_trees_bulk(self, payload, valid_indices, invalid_indices, invalid_dts):
      
      valid_dts = self._create_and_send_json_bulk([payload[i] for i in valid_indices],
                                                  "{}/bulk/decision_tree".format(self._base_url),
                                                  "POST")
  
      if invalid_indices == []:
        return valid_dts
  
      # Put the valid and invalid decision trees in their original index
      return self._recreate_list_with_indices(valid_indices, valid_dts, invalid_indices, invalid_dts)
docs: Tool for the function get_decision_trees_bulk.
  
      :param list payload: contains the informations necessary for getting
      the trees. Its form is the same than for the function.
      get_decision_trees_bulk.
      :param list valid_indices: list of the indices of the valid agent id.
      :param list invalid_indices: list of the indices of the valid agent id.
      :param list invalid_dts: list of the invalid agent id.
  
      :return: decision trees.
      :rtype: list of dict.