Zoho - Trademark
Blogs
   Forums   Contact Us   Sheet Home   Toll Free : 888 900 9646

API Methods >> zohoSheet.userView.getWorkbooks


Description

To get the list of workbooks available in your Zoho Sheet account. It's also possible to give some additional criteria to limit the number of workbooks detail returned by this method.


Arguments

Returns

A list of workbooks created by that user and their associated details. For each workbook, in addition to normal properties like workbook name,created time etc, two additional properties 'workbookId' and 'updateLock' will be returned.


A Sample Call to zohoSheet.userView.getWorkbooks

Request


<
methodCall>
<methodName>zohosheet.userView.getWorkbooks</methodName>
<params>
 <param>
 <name>startIndex</name>
  <value>6</value>
 </param>
  <param>
  <name>noOfBooks</name>
 <value>5</value>
  </param>
  <param>
  <name>sortBy</name>
  <value>lastModifiedTime</value>
  </param>
  <param>
  <name>isAscending</name>
  <value>true</value>
  </param>
</params>
</methodCall>

Response


<?xml version="1.0" encoding="UTF-8" ?>
<methodResponse methodName="zohosheet.userView.getWorkbooks">
<result>
<workbook>
<workbookId>5000000000050</workbookId>
<workbookName>Welcome</workbookName>
<createdTime>2006-11-14 16:56:00</createdTime>
<lastModifiedTime>2006-11-14 17:02:31</lastModifiedTime>
<lastModifiedBy>samjackson</lastModifiedBy>
<isLocked>false</isLocked>
<updateLock>1163503951125</updateLock>
</workbook>
<workbook>
<workbookId>5000000000060</workbookId>
<workbookName>Budget_planner</workbookName>
<createdTime>2006-11-14 16:58:34</createdTime>
<lastModifiedTime>2006-11-14 17:01:16</lastModifiedTime>
<lastModifiedBy>samjackson</lastModifiedBy>
<isLocked>false</isLocked>
<updateLock>1163503876046</updateLock>
</workbook>
</result>
</methodResponse>