// For complete examples and data files, please go to https://github.com/aspose-cells-cloud/aspose-cells-cloud-dotnet/
namespace Aspose.Cells.Cloud.SDK.Example
{
    using Aspose.Cells.Cloud.SDK.Api;
    using Aspose.Cells.Cloud.SDK.Request;
    using System;

    public partial class CellsApiExample
    {
        public void PostWorkbooksMergeExample()
        {
            CellsApi cellsApi = new CellsApi(Environment.GetEnvironmentVariable("CellsCloudTestClientId"), Environment.GetEnvironmentVariable("CellsCloudTestClientSecret"));
            PostWorkbooksMergeRequest request = new PostWorkbooksMergeRequest { name = "Book1.xlsx",  mergeWith = "myDocument.xlsx", folder = "TestData/In" };
            cellsApi.PostWorkbooksMerge(request);
        }
    }
}
//  Obsolete
//CellsWorkbookApi instance = new CellsWorkbookApi(GetConfiguration());
//string name = "Book1.xlsx";
//string mergeWith = "myDocument.xlsx";
//string folder = null;
//UpdateDataFile(folder, name);
//UpdateDataFile("", mergeWith);
//var response = instance.CellsWorkbookPostWorkbooksMerge(name, mergeWith, folder);