Update style for pivot table

This REST API updates the style for a pivot table.

REST API

POST http://api.aspose.cloud/v3.0/cells/{name}/worksheets/{sheetName}/pivottables/{pivotTableIndex}/FormatAll

The request parameters are:

Parameter Name Type Location Description
name string path The name of the workbook file.
sheetName string path The worksheet that contains the pivot table.
pivotTableIndex integer path Zero‑based index of the pivot table to be formatted.
style object body A style DTO that defines the formatting to apply.
needReCalculate boolean query Set to true to recalculate the pivot table after formatting; default is false.
folder string query The folder where the workbook is stored.
storageName string query The name of the storage service.

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.

Cloud SDK Family

Using an SDK is the fastest way to develop against the API. The SDK abstracts low‑level details so you can focus on your business logic. See the GitHub repository for a complete list of Aspose.Cells Cloud SDKs.

The following code example demonstrates how to call the API using the Go SDK: