PivotalTrackerAPI/Util/PivotalFilterHelper.cs
/// <summary>
/// Creates a query string to use as a filter parameter (does not prepend the ampersand)
/// </summary>
/// <param name="ids">The list of external ids to filter on</param>
/// <param name="baseFilter">the filter to extend.  Leave blank or null to create a new filter base</param>
/// <returns>A query string</returns>
Creates a query string to use as a filter parameter (does not prepend the ampersand)
Creates a query string to use as a filter parameter ( does not prepend the ampersand )
public static string BuildExternalIdFilter(IList<int> ids, string baseFilter)
    {
      string idString = "";
      foreach (int i in ids)
      {
        idString += i.ToString() + ",";
      }
      return ConstructFilter(baseFilter, "external_id", idString);
    }
public static string BuildExternalIdFilter ( IList < int > ids , string baseFilter ) { string idString = " " ; foreach ( int i in ids ) { idString += i . ToString ( ) + " " ; } return ConstructFilter ( baseFilter , " " , idString ) ; }
Creates a query string to use as a filter parameter (does not prepend the ampersand)
Creates a query string to use as a filter parameter ( does not prepend the ampersand )
A query string
A query string
ids
IList<int>
The list of external ids to filter on
The list of external ids to filter on
baseFilter
string
the filter to extend.  Leave blank or null to create a new filter base
the filter to extend . Leave blank or null to create a new filter base