Introduction to the SharePoint 2013 Excel Services REST API

Source: Internet
Author: User
Tags ranges

The REST API in Excel Services is a new addition to Microsoft SharePoint Server 2010. The REST API allows you to access a workbook part or element directly by using a URL.

One, REST service is based on two requirements:

Addressing scheme for locating network resources

Methods used to return representations of these resources

The three components of the REST URL base uri are:

REST aspx page uri:http://<servername>/_vti_bin/excelrest.aspx

Workbook Location:/docs/documents/sampleworkbook.xlsx

Resource location:/model/ranges (' Nameofthenamedrange ')

Third, the API simple application and Example:

1. Cell Display:

Example: Http://URL/_vti_bin/ExcelRest.aspx/DocLib1/ExcelTest.xlsx/model/Ranges (' A1 ')

Attached: Complete Excel

2. Chart Display

Example: Special description "%e5%9b%be%e8%a1%a8%201" = = "Figure 1" means, after URL encoding

Http://URL/_vti_bin/ExcelRest.aspx/DocLib1/ExcelTest.xlsx/Model/Charts ('%e5%9b%be%e8%a1%a8%201 ')

Attached: The original Excel screenshot screen

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.