 |
Toll Free : 888 900 9646 | |
 |
API Methods >> zohoSheet.userView.addWorkbookDescriptionTo import a new workbook into
your zohosheet account
Arguments - workbookName [ mandatory ]
- name to be assigned for the newly added workbook
- content [ mandatory ; datatype - base64 encoded format ]
- the content of the workbook to be added. The content should be
encoded in Base64 encoding format
- contentType [optional ; datatype - enumeration { xls | sxc | csv
} ]
- The format of the above Base64 encoded data. Zoho Sheet accepts
Base64 encoded xls/csv/sxc data.
- If no value is specified for this argument , contentType will
be considered as xls
Returns
Details of the newly added workbook
A Sample Call to zohoSheet.userView.addWorkbook method
Request
<methodCall>
<methodName>zohosheet.userView.addWorkbook</methodName>
<params>
<param>
<name>workbookName</name>
<value>ProductList</value>
</param>
<param>
<name>content</name>
<value> [Base64 encoded content] </value>
</param>
<param>
<name>contentType</name>
<value>xls</value>
</param>
</params>
</methodCall>
Response
<?xml version="1.0" encoding="UTF-8" ?>
<methodResponse methodName="zohosheet.userView.addWorkbook">
<result>
<workbookId>5000000002001</workbookId>
<workbookName>ProductList</workbookName>
<createdTime>2006-11-17 15:58:50</createdTime>
<updateLock>1163759330109</updateLock>
</result>
</methodResponse>