You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Requesting Excel workbook data from SharePoint Server using OData
10
10
11
11
> **Note:**
12
-
> The Excel Services REST API applies to SharePoint and SharePoint 2016 on-premises. For Office 365 Education, Business, and Enterprise accounts, use the Excel REST APIs that are part of the [Microsoft Graph](http://graph.microsoft.io/en-us/docs/api-reference/v1.0/resources/excel
13
-
) endpoint.
12
+
> The Excel Services REST API applies to SharePoint and SharePoint 2016 on-premises. For Office 365 Education, Business, and Enterprise accounts, use the Excel REST APIs that are part of the [Microsoft Graph](http://graph.microsoft.io/en-us/docs/api-reference/v1.0/resources/excel) endpoint.
14
13
15
14
16
15
@@ -72,7 +71,7 @@ The Excel Services implementation of OData supports a number of the standard ODa
72
71
73
72
|****System Query Option****|****Description****|
74
73
|:-----|:-----|
75
-
|/<tableName> <br/> |Returns all rows for the table specified by <tableName>, where <tableName> is the name of a table in an Excel workbook that contains the rows that you want to retrieve. <br/> **Important:** This form of OData request returns no more than 500 rows at a time. Each set of 500 rows is one page. To get rows in further pages in a table that has more than 500 rows, use the **$skiptoken** query option (see below).The following example returns all rows up to the 500th row in Table1 in the ProductSales.xlsx workbook. <br/> |
74
+
|/\<tableName\> <br/> |Returns all rows for the table specified by \<tableName\>, where \<tableName\> is the name of a table in an Excel workbook that contains the rows that you want to retrieve. <br/> **Important:** This form of OData request returns no more than 500 rows at a time. Each set of 500 rows is one page. To get rows in further pages in a table that has more than 500 rows, use the **$skiptoken** query option (see below).<br/>The following example returns all rows up to the 500th row in Table1 in the ProductSales.xlsx workbook. <br/> |
76
75
|**$metadata** <br/> |Returns all the available tables and the type information for all rows in each table in the specified workbook. <br/> The following example returns the tables and type information for the tables in the ProductSales.xlsx workbook. <br/> http://contoso1/_vti_bin/ExcelRest.aspx/Documents/ProductSales.xlsx/OData/$metadata <br/> |
77
76
|**$orderby** <br/> |Returns rows in the specified table, sorted by the value specified by **$orderby**. <br/> The following example returns all rows from Table 1, sorted by the Name column, in the ProductSales.xlsx workbook. <br/> **Note:** The default value for **$orderby** is ascending. http://contoso1/_vti_bin/ExcelRest.aspx/Documents/ProductSales.xlsx/OData/Table1?$orderby=Name <br/> |
78
77
|**$top** <br/> |Returns N rows from the table where N is a number specified by the value of **$top**. <br/> The following example returns the first 5 rows from Table1, sorted by the Name column, in the ProductSales.xlsx workbook. <br/> http://contoso1/_vti_bin/ExcelRest.aspx/Documents/ProductSales.xlsx/OData/Table1?$orderby=Name&$top=5 <br/> |
@@ -81,7 +80,7 @@ The Excel Services implementation of OData supports a number of the standard ODa
81
80
|**$filter** <br/> |Returns the subset of rows that satisfy the conditions specified in the value of **$filter**. For more information about the operators and set of functions that you can use with **$filter**, see the OData [documentation](http://www.odata.org/documentation/odata-version-2-0/uri-conventions/). <br/> The following example returns only those rows where the value of the Price column is greater than 100. <br/> http://contoso1/_vti_bin/ExcelRest.aspx/Documents/ProductSales.xlsx/OData/Table1?$filter=Price gt 100 <br/> |
82
81
|**$format** <br/> |The Atom XML format is the only supported value and is the default for the **$format** query option. <br/> |
83
82
|**$select** <br/> |Returns the entity specified by **$select**. <br/> The following example selects the Name column from Table1 in the ProductSales.xlsx workbook. <br/> http://contoso1/_vti_bin/ExcelRest.aspx/Documents/ProductSales.xlsx/OData/Table1?$select=Name <br/> |
84
-
|**$inlinecount** <br/> | Returns the number of rows in the specified table. <br/> $ **inlinecount** can only use 1 of 2 of the following values. <br/>**allpages** - Returns the count for all rows in the table. <br/> **none** - Does not include a count of rows in the table. <br/>The following example returns the count for the total number of rows in Table1 in the ProductSales.xlsx workbook. <br/> http://contoso1/_vti_bin/ExcelRest.aspx/Documents/ProductSales.xlsx/OData/Table1?$inlinecount=allpages <br/> |
83
+
|**$inlinecount** <br/> | Returns the number of rows in the specified table. <br/> $ **inlinecount** can only use 1 of 2 of the following values. <br/><ul><li>**allpages** - Returns the count for all rows in the table.</li><li>**none** - Does not include a count of rows in the table.</li></ul><br/>The following example returns the count for the total number of rows in Table1 in the ProductSales.xlsx workbook. <br/> http://contoso1/_vti_bin/ExcelRest.aspx/Documents/ProductSales.xlsx/OData/Table1?$inlinecount=allpages <br/> |
0 commit comments