Excel Çalışma Sayfasında Metin Değiştirme – Aspose.Cells Cloud API
Contents
[
Hide
]
Bu REST API, Excel çalışma sayfasındaki metni Aspose.Cells metin değiştirme API’si ile değiştirir.
Güvenlik ve Kimlik Doğrulama
Aspose.Cells Cloud API’leri güvenlidir ve JWT belirteci tabanlı kimlik doğrulama gerektirir.
REST API
POST https://api.aspose.cloud/v3.0/cells/{name}/worksheets/{sheetName}/replaceText
İstek Parametreleri
| Parametre Adı | Tür | Konum | Açıklama |
|---|---|---|---|
| name | string | path | Excel çalışma kitabının adı. |
| sheetName | string | path | Çalışma sayfasının adı. |
| oldValue | string | query | Değiştirilecek metin. |
| newValue | string | query | Yeni metin. |
| folder | string | query | Dosyayı içeren klasör. |
| storageName | string | query | Depolama hizmetinin adı. |
Yanıt
{
"Status":"OK",
"Code":200,
"Workbook": {
"FileName": "test.xlsx",
"Links": [
{
"Href": "/test.xlsx",
"Rel": "self",
"Title": null,
"Type": null
},
{
"Href": "/test.xlsx",
"Rel": "alternate",
"Title": "CSV Olarak İndir",
"Type": "text/csv"
},
{
"Href": "/test.xlsx",
"Rel": "alternate",
"Title": "HTML Olarak İndir",
"Type": "text/html"
},
{
"Href": "/test.xlsx",
"Rel": "alternate",
"Title": "ODS Olarak İndir",
"Type": "application/vnd.oasis.opendocument.spreadsheet"
},
{
"Href": "/test.xlsx",
"Rel": "alternate",
"Title": "PDF Olarak İndir",
"Type": "application/pdf"
},
{
"Href": "/test.xlsx",
"Rel": "alternate",
"Title": "Tablo Ayırıcı Metin Biçimi Olarak İndir",
"Type": "text/plain"
},
{
"Href": "/test.xlsx",
"Rel": "alternate",
"Title": "TIFF Olarak İndir",
"Type": "image/tiff"
},
{
"Href": "/test.xlsx",
"Rel": "alternate",
"Title": "Microsoft Excel 2003 Olarak İndir",
"Type": "application/vnd.ms-excel"
},
{
"Href": "/test.xlsx",
"Rel": "alternate",
"Title": "Microsoft Excel 2007 Olarak İndir",
"Type": "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"
},
{
"Href": "/test.xlsx",
"Rel": "alternate",
"Title": "XPS Olarak İndir",
"Type": "application/vnd.ms-xpsdocument"
}
],
"Worksheets": {
"link": {
"Href": "/worksheets",
"Rel": "self",
"Title": null,
"Type": null
}
},
"DefaultStyle": {
"link": {
"Href": "/defaultstyle",
"Rel": "self",
"Title": null,
"Type": null
}
},
"DocumentProperties": {
"link": {
"Href": "/documentproperties",
"Rel": "self",
"Title": null,
"Type": null
}
},
"Names": {
"link": {
"Href": "/names",
"Rel": "self",
"Title": null,
"Type": null
}
},
"Settings": {
"link": {
"Href": "/settings",
"Rel": "self",
"Title": null,
"Type": null
}
},
"IsWriteProtected": "False",
"IsProtected": "False",
"IsEncryption": "false",
"Password": null
}
}
HTTP Durum Kodları
| Kod | Anlam | Açıklama |
|---|---|---|
| 200 | OK (Tamam) | Filtre başarıyla uygulandı; yanıt işlem detaylarını içerir. |
| 400 | Bad Request (Hatalı İstek) | Eksik veya geçersiz parametreler (örneğin, desteklenmeyen dosya türü). |
| 401 | Unauthorized (Yetkisiz) | Geçersiz veya eksik JWT belirteci. |
| 413 | Payload Too Large (Çok Büyük Yük) | Yüklenen dosya boyut sınırını aşıyor. |
| 500 | Internal Server Error (İç Sunucu Hatası) | Beklenmeyen sunucu hatası. |
SDK’lar ile PostWorksheetTextReplace API Nasıl Kullanılır?
PostWorksheetTextReplace API Özellikleri
OpenAPI Özellikleri, bu genel erişilebilir arayüzü tanımlar.
Hizmeti çağırmak için cURL komut satırı aracını kullanabilirsiniz:
Aspose.Cells Cloud SDK’larını Kullanma
Bir SDK kullanmak, geliştirme sürecini hızlandırmanın en iyi yoludur. SDK, düşük seviye detayları yönetir ve projenizin görevlerine odaklanmanızı sağlar. Aspose.Cells Cloud SDK’larının tam listesi için lütfen GitHub deposuna göz atın.
Aşağıdaki kod örnekleri, farklı SDK’lar kullanarak Aspose.Cells web servislerini nasıl çağıracağınızı göstermektedir: