public static void GetAssets(string token, List <int> assetIds, ResponseHandle handle) { ApiCaller.RequestParams rp = new ApiCaller.RequestParams(); rp.data = new Dictionary <string, string>(); rp.data.Add(Param.TOKEN, token); StringBuilder sb = new StringBuilder(); for (int i = 0; i < assetIds.Count; ++i) { sb.Append(assetIds[i]); if (i != assetIds.Count - 1) { sb.Append(","); } } rp.data.Add(Param.ASSET_IDS, sb.ToString()); rp.callback = handle; apiCaller.GetAssets(rp); }