Preview Spreadsheet
Purpose
To open a spreadsheet in preview or read-only mode in Zoho Sheet.
HTTP Request URL
https://{api.office-integrator_domain}/sheet/officeapi/v1/spreadsheet/preview
Request Parameters
Parameter | Data Type | Description |
Mandatory Parameters | ||
apikey | 423s***** | Uniquely identifies the web application in which the Sheet editor is integrated. |
document or url | File or String | Method of providing the input file depending on its location. document - if the input file is from your local drive or desktop. url - if the input file is from a publicly accessible Web URL. |
Optional Parameters | ||
language | String | Enables the editor interface to open in Sheet supported languages. Default value: en (English) |
permissions | { "document.export":true, "document.print":true, } | Define spreadsheet permissions for user. Option to allow or revoke spreadsheet "Export" and "Print" access. |
Preview Spreadsheet - Error Codes
Code | Description |
2505 | Sorry! This spreadsheet exceeds the permitted limit of 256 columns per worksheet |
2840 | Unable to import. |
2841 | Unable to import from URL. |
2851 | No such spreadsheet. |
For a full list of error handling cases in Preview Spreadsheet, refer here.