Build a new Spreadsheet with a spreadsheet template - Timeline WorkPlan Table, Sales Data Comparison, etc.

Create a new spreadsheet, which can be either a blank spreadsheet or a usable spreadsheet created based on the specified template.

Create Spreadsheet API

PUT http://api.aspose.cloud/v4.0/cells/spreadsheet/create

Request Parameters:

Parameter Name Type Path/Query String/HTTP Body Description
format String Query Specifies the name of the new spreadsheet. This name will be used to identify the spreadsheet in the system.
template String Query Optional. If provided, the new spreadsheet will be created based on the specified template. This can be useful for applying predefined layouts and styles.
outPath String Query (Optional) The folder path where the workbook is stored. The default is null.
outStorageName String Query Output file Storage Name.
region String Query The spreadsheet region setting.
password String Query The password for opening the spreadsheet file.

Response

[
    {
        "Name": "ResponseFile",
        "DataType": {
            "Identifier": "File",
            "Reference": "Stream"
        }
    }
]

Error Codes

  • 400 Bad Request: Invalid Apose.Cells Cloud API URI.
  • 401 Unauthorized: Invalid access token. Or invalid client id and secret.
  • 404 Not Found: The spreadsheet file not accessible.
  • 500 Server Error: The spreadsheet has encountered an anomaly in obtaining calculation data.

Where should we use the Create Spreadsheet API?

When you need to new a spreadsheet, you can use this API.

Why should you use the Create Spreadsheet API?

  • Not only can you create a blank spreadsheet, but you can also create a specific spreadsheet based on a template.
  • Development can be quickly completed through the existing SDK.

How to Use the Create Spreadsheet API with SDKs

Create Spreadsheet API Specification

The Create Spreadsheet API Specification defines a publicly accessible programming interface and enables REST interactions directly from a web browser.

Use Aspose.Cells Cloud SDKs

Using the SDK is the fastest way to develop, as it abstracts away the low-level details, allowing you to build the spreadsheet with short code. Please check out the GitHub repository for a complete list of Aspose.Cells Cloud SDKs.

The following code examples demonstrate how to make calls to Aspose.Cells web services using various SDKs: