using Aspose.Cells.Cloud.SDK.Api;
using Aspose.Cells.Cloud.SDK.Model;
using Aspose.Cells.Cloud.SDK.Request;
using System;
using System.IO;
using System.Collections.Generic;

CellsApi cellsApi = new CellsApi(Environment.GetEnvironmentVariable("CellsCloudTestClientId"), Environment.GetEnvironmentVariable("CellsCloudTestClientSecret"));
string remoteFolder = "TestData/In";

string localName = "TestTables.xlsx";
string remoteName = "TestTables.xlsx";



var request = new PostWorksheetListObjectInsertSlicerRequest(
    name: remoteName,
    sheetName: "Sheet1",
    listObjectIndex: 0,
    columnIndex: 2,
    destCellName: "j9",
    folder: remoteFolder,
    storageName: ""
);
cellsApi.PostWorksheetListObjectInsertSlicer(request);