Add Condition
Contents
[
Hide
]
This REST API adds a condition to a format condition.
REST API
PUT http://api.aspose.cloud/v3.0/cells/{name}/worksheets/{sheetName}/conditionalFormattings/{index}/condition
Request parameters
| Parameter Name | Type | Location | Description |
|---|---|---|---|
| name | string | path | Name of the workbook file. |
| sheetName | string | path | Name of the worksheet. |
| index | integer | path | Index of the conditional formatting collection. |
| type | string | query | Type of the condition (e.g., CellValue, Expression). |
| operatorType | string | query | Operator used for the condition (e.g., Equal, GreaterThan). |
| formula1 | string | query | First formula or value for the condition. |
| formula2 | string | query | Second formula or value (used with some operators). |
| folder | string | query | Folder in storage where the workbook is located. |
| storageName | string | query | 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 best way to speed up development. An SDK handles low‑level details and lets you 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: