Replace Range Content in Remote a Spreadsheet
Contents
[
Hide
]
Efficiently replace specified text within a range of a remote spreadsheet file.
Replace Content in Remote Range API
PUT http://api.aspose.cloud/v4.0/cells/{name}/worksheets/{worksheet}/ranges/{cellArea}/replace/content
Request Parameters:
Parameter Name | Type | Path/Query String/HTTP Body | Description |
---|---|---|---|
name | String | Path | The name of the workbook file to be modified. |
searchText | String | Query | The text to search for within the spreadsheet. |
replaceText | String | Query | The text to replace the searched text with. |
worksheet | String | Path | The name of the worksheet where the replacement will occur. |
cellArea | String | Path | The specific cell area for the replacement. |
folder | String | Query | The folder path where the workbook is stored. |
storageName | String | Query | (Optional) The name of the storage if using custom cloud storage. Use default storage if omitted. |
region | String | Query | The spreadsheet region setting. |
password | String | Query | The password for opening the spreadsheet file. |
Response
{
"Name": "CellsCloudResponse",
"Type": "Class",
"Properties": [
{
"Name": "Code",
"DataType": {
"Identifier": "Integer",
}
},
{
"Name": "Status",
"DataType": {
"Identifier": "String",
}
}
]
}
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 Replace content of Range in Remote Spreadsheet API?
When you need to replace content of Range in remote spreadsheet, you can use this API.
Why should you use the Replace content of Range in Remote Spreadsheet API?
- Quickly replace content of Range in remote spreadsheets.
- Development can be quickly completed through the existing SDK.
How to Use the Replace content of Range in Remote Spreadsheet API with SDKs
OpenAPI Specification
The OpenAPI Specification defines a publicly accessible programming interface and lets you carry out REST interactions directly from a web browser.
Use Aspose.Cells Cloud SDKs
Using the SDK is the best way to accelerate development. The SDK handles the underlying details, allowing you to simply implement replace content in spreadsheets for cells with minimal 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: