def exact_search_request_hash(type, value)
      # turn it into an array if it's not one already
      values = Array(value)

      hash = {
          "PartnershipId" => Defaults.partnership_id,
          "ExactSearch" => []
      }

      values.each do |value|
        hash["ExactSearch"] << {
            "Type" => type.to_s.upcase,
            "Value" => value
        }
      end
    
      return hash
    end
def exact_search_request_hash(type, value)
      # turn it into an array if it's not one already
      values = Array(value)

      hash = {
          "PartnershipId" => Defaults.partnership_id,
          "ExactSearch" => []
      }

      values.each do |value|
        hash["ExactSearch"] << {
            "Type" => type.to_s.upcase,
            "Value" => value
        }
      end
    
      return hash
    end
Produce BD request hash for exact search of type eg "ISBN"
 value can be a singel value, or an array of values. For array,
 BD will "OR" them.