This REST API calculates all formulas in an Excel workbook.
REST API
POST https://api.aspose.cloud/v3.0/cells/{name}/calculateformula
The request parameters are listed below:
Parameter Name
Type
Location
Description
name
string
path
Name of the workbook file.
options
CalculationOptions
body
JSON object that specifies calculation settings (e.g., CalcStackSize, IgnoreError).
ignoreError
boolean
query
When true, errors encountered during calculation are ignored.
folder
string
query
Path to the folder that contains the workbook.
storageName
string
query
Name of the storage service where the workbook is stored.
The OpenAPI Specification defines a publicly accessible programming interface and lets you carry out REST interactions directly from a web browser.
You can use the cURL command‑line tool to access Aspose.Cells web services easily. The following example shows how to make a call to the Cloud API with cURL.
Response Details
Field
Type
Description
Code
int
HTTP‑like status code (200 indicates success).
Status
string
Short textual description of the result (e.g., OK).
WorkbookUrl
string
Direct URL from which the updated workbook can be downloaded.
ErrorMessage
string
Detailed error information when the request fails; null on success.
Next Steps / Common Errors
Handle calculation errors – set ignoreError=false to receive an error response when a formula cannot be evaluated.
Rate‑limit awareness – check the X-RateLimit-Remaining header; if it reaches 0, back‑off before retrying.
HTTP status guidance:
400 – Invalid request parameters.
401 – Authentication failed (invalid or expired JWT).
404 – Workbook not found.
500 – Server‑side error; contact Aspose support if it persists.
Cloud SDK Family
Using an SDK is the best way to speed up development. An SDK handles low‑level details so you can focus on your project tasks. Please check out the GitHub repository for a complete list of Aspose.Cells Cloud SDKs.
The following code examples demonstrate how to call Aspose.Cells web services using various SDKs: