The REST (Representational State Transfer) interface in provides access to lists and libraries as a relational data service. A core concept of any RESTful interface is the resource, and in SharePoint Foundation, lists and items are represented as HTTP resources that can be addressed by remote URLs.

learn more… | top users | synonyms (1)

0
votes
2answers
235 views

Postman Rest Call to _api/contextinfo failing

So I have been having this issue for awhile and im not sure what has changed. I used to be able to get the form digest value from hitting the /_api/contextinfo endpoint using a post call after ...
0
votes
2answers
59 views

Set Managed Metadata Values via REST

I am able to query and get an array of all my term names and guids within a Term Set, but now I want to be able to set these via REST. When I look at the structure in JSON the section with my Managed ...
2
votes
0answers
32 views

Is there a way in SharePoint online to programmatically find out how many users are assigned a SharePoint license in Office 365?

Basically we have a provider hosted app that needs to check the number of users in an Office 365 subscription that are assigned to a SharePoint license. Maybe some sort of Office 365 API?
0
votes
0answers
14 views

Adjust width of cells returned by Excel REST API

Scenario: I have a PivotChart in Excel that summarizes some data, but some additional info that doesn't fit the Pivot format needs to be shown too, so we have a text box in the chart that displays ...
0
votes
0answers
57 views

How to convert string to byte array and create document with that byte array using REST Queries

I am having with requirement to create a document with some specified string. I am trying to convert that string into byte array, array buffer. I am able to create a document. But unfortunately that ...
0
votes
0answers
77 views

Discussion Board : An error occurred while processing this request REST Services

I have created a list using Discussion Board template in SharePoint Server 2010 site. I am accessing the list using REST services as below. http://[servername]/_vti_bin/listdata.svc/TeamDiscussion ...
0
votes
1answer
17 views

Value of people field does not show up on result of rest api

I have two lists, Notification1 and Notification2, and they have the one people field named Owner. The first one is created via SOM, and the last one is created via SharePoint UI. The problem with the ...
0
votes
0answers
17 views

Get lists from subsite with webervice

I'm using SharePoint 2007 and try to retrieve all list from a subsite. I added reference of my subsite in my solution: http://sptest/sites/root/subsite/_vti_bin/lists.asmx Here is my code Private ...
0
votes
0answers
44 views

sharepoint rest query for multiple parameters

I am using REST query for getting values in search I am trying to use a filter that combines topic and field http://URL/_api/search/query?querytext='Path:http://URL/en/topic/article OR ...
1
vote
0answers
132 views

On Premise SharePoint 2013 host web Rest api cross domain access from MySite

We are using the OOTB REST api to access data from the Host Web App using JavaScript. The MySite has been set up under a separate Web App following the recommendations of Microsoft. This site needs ...
1
vote
1answer
61 views

preflight returns 401 response even though headers correct

I am trying to access a sharepoint server REST api to upload some files. Access is via our tomcat application Although I believe I setup correctly the headers in IIS the request does not pass the ...
0
votes
0answers
24 views

Cannot delete the web site '<url of my app>' because it is an app web

I tried to delete an application (like Power BI or Access) of my Sharepoint online with the REST API but I got an error : HTTP/1.1 500 Internal Server Error Cache-Control: private, max-age=0 ...
0
votes
3answers
72 views

How to get ItemChildCount of DocumentSet (folder) using REST Api

I used SPServices to create and get a list of custom DocSets. There were some problems with that, so I wrote the code to create them with REST services. And that works properly. I'm trying to rewrite ...
0
votes
0answers
52 views

Insert “Like” on discussion board using rest api in sharepoint2013

How can we insert “Like” for a discussion and for its replies through share point rest api and not jsom? How to go beyond this point ...
0
votes
0answers
32 views

HTTP request on lists.asmx GetVersionCollection method

While looking for a HTTP REST method to return Document Version History, I stumbled on the GetVersionCollection method. However, I have not found any syntax showing how to make the call from a ...
1
vote
1answer
58 views

REST analog of SP.Utilities.Utility.formatDateTime

I would be very glad if someone help me, I am trying to find REST analog of SP.Utilities.Utility.formatDateTime function: var context = new SP.ClientContext.get_current(); var web = ...
0
votes
1answer
39 views

Is there a way to get notifications using Sharepoint REST API?

I have created Sharepoint provider-hosted app. With the App only token, I want to get the notifications for file addition , file deletion , file shared ..,etc for all users(onedrive sites) in a ...
0
votes
0answers
20 views

SharePoint 2013 - mobile access

I wanted to take some general guidelines - how certain on-prem SharePoint 2013 publishing contents can be exposed to the mobile devices anonymously accessible to the employees. This includes some ...
0
votes
0answers
140 views

Adding Discussion board replies using REST API

Can anybody please help me by providing some sample code for adding replies to Discussion lists using REST API? I already have a look on this post, but the answered guy has given the jsom solution. ...
2
votes
0answers
36 views

Access denied while creating subsite from workflow

I am following this article to create a subsite from workflow. I am getting following error {"error":{"code":"-2147024891, ...
0
votes
1answer
21 views

SharePoint 2013 Rest list insert, log when fails?

Is it possible to log when a Restful insert into a list fails? we have a web form that should be saving back to a list an I want to know when it is failing as well as succeeding.
1
vote
1answer
48 views

how to filter based on roledefinitionbinding hidden property?

pi/web/lists(guid'myistid')/items(6)/roleassignments?$expand=member,RoleDefinitionBindings/hidden&$select=member,RoleDefinitionBindings/hidden&$filter=RoleDefinitionBindings/hidden%20eq%20fals ...
1
vote
0answers
35 views

How to convert List Name and List Field Display Names to REST API?

I'm using SharePoint 2010 REST API and noticed the a unkonwn (at least to me and to my searches) translation function is applied over List Names which go in the URL and to Fields Names in the results. ...
0
votes
2answers
36 views

How to Refresh RequestDigest in SharePoint 2010 Angular SPA

I previously built an AngularJS application in SharePoint 2013 and that is great, now I am building a similar application in SharePoint 2010. I have two questions specific to SharePoint 2010: How do ...
0
votes
2answers
125 views

REST query not working on list after 5k threshold

The following query works on one site: mysite/_api/lists/getbytitle('Listname')/items?$top=5001&$filter=IndexedCol1 le 'M' and Author/Title eq 'John ...
0
votes
0answers
54 views

REST API Image Upload - File Type Missing/Corrupted?

I am attempting to upload images to SharePoint via the REST API and the following Angular snippet: https://github.com/nervgh/angular-file-upload I will post (returns a 200), but not the full file it ...
0
votes
0answers
120 views

SharePoint designer REST call to populate lookup field in SharePoint 2013 list

I'm trying to update a multi-value lookup field in a SharePoint 2013 list from a SharePoint designer workflow using the 'Call HTTP Web Service' action. Here's how the field looks when querying a list ...
1
vote
1answer
26 views

Sharepoint usage per user for page and directory

Do you know if it's possible to get usage per user for page/directory in SharePoint? (number of page viewed etc...)? Thanks.
0
votes
0answers
19 views

Fixing System.UnauthorizedAccessException error in CAlendar REST Calls

We have a set up where we are using SAML authentication with OKTA and then we are using OAUTH for Authentication in the API. I am sure that the authentication is all working fine because I am able to ...
0
votes
0answers
20 views

Sharepoint 2013 Online prevent users to add item to list from f12 developer console

in our site, users add list items to our customized page with rest api. But i can add list items from f12 developer console also. For example i can add 1000 item in for loop with this way. I want to ...
1
vote
1answer
53 views

Sharepoint 2013 Online filter by attachments name

i want to query to list items by filtering attachments name with default WCF query. But i get an error. My query is below. Is that possible? ...
0
votes
1answer
118 views

Add item to list using Fiddler and REST Urls

I'm currently reading up on using REST urls to add data in SharePoint 2013 On-Premises. Ultimately, I'd like to use JavaScript to leverage REST. I found this guide about testing this functionality ...
0
votes
1answer
46 views

Adding property bag value with Rest

I can retrieve existing properties using REST (web/AllProperties) from site collections. As the title states, I would like to add custom property bag values to the property bag on a site collection, ...
1
vote
1answer
95 views

Updating a list item from sharepoint online workflow using HttpSend

I'm trying to update a list item in the host web from a sharepoint app using workflow's HttpSend activity in visual studio. How should I set the RequestHeader and RequestContent values ?
0
votes
0answers
87 views

File Upload to SharePoint Documents Library Failed

I have a requirement in a SharePoint Hosted App to upload file to SharePoint Documents Library but the request to upload file is getting failed with following error: Status Code: 403 ...
0
votes
2answers
51 views

rest query orderby takes null as 0

I am making an ajax call to get the list data in SharePoint 2010 I am using orderby to sort based on a column ...
0
votes
1answer
62 views

Is it possible to write from Client App Part to a list in its Appweb?

Didn´t find any information at google or at stackexchange for this topic. I wrote a sharepoint hosted app, which has a list. In default.aspx I get data from that list via Rest and have form to create ...
1
vote
2answers
70 views

Sharepoint 2010 Blog - Order rest query by Category

I've created a blog on Sharepoint 2010 and want to query the list via REST for reporting. I want to order the list by the default field Category (internal name PostCategory). Unfortunately, this is a ...
1
vote
1answer
121 views

Create new SharePoint user with REST api

Is it possible to Create a new user in SharePoint? I tried the below but it doesn't work. We use ThinkTecture as the identity provider and not the default SharePoint authentication. POST ...
0
votes
0answers
20 views

Document Follow custom implementation slowing down the page performance

Let me explain my scenario : I am pulling the documents using search rest api and populating on the page. Each document having a (custom) follow icon. So, that he can follow/un-follow the document. ...
0
votes
1answer
186 views

SharePoint 2010 Rest query for Lookup fields

I am writing a REST query to retrieve data from child parent list. States is the parent list with "Title" column. LocalGovernment is the child list with "State_Territory(InternalName) and State / ...
1
vote
0answers
37 views

Thesaurus terms ignored when search is queried through REST

I have a SharePoint 2013 portal running enterprise search. I have imported some thesaurus with the Import-SPEnterpriseSearchThesaurus cmdlet. For example, let's say as a test I have associated the ...
3
votes
1answer
245 views

sharepoint 2010 get value of choice field through api call

I have a sharepoint list ImageList, i have a column which stores its type The column name is ImageType the choices are "profile pic","thumbnail" etc i want to fetch these choice values for this ...
1
vote
1answer
36 views

KoSP binding failing (undefined) while another one works

I'm trying to link a list of my own creation up with KoSP. I created the list "Employees" which was used in the tutorial and got it to work perfectly, it consistently displays the Employee list and ...
1
vote
1answer
57 views

Update Checkmark state via REST

I'm currently building a SharePoint Hosted App which gets any task list items from various sites and pushes them into an array. I'm using AngularJS to make these requests. Running a GET request on a ...
0
votes
0answers
45 views

Author and CreatedBy, api/web and listdata.svc differences

This is such a strange problem I'm not even sure how to ask it. I have rely heavily on rest-based services to access my SP2013 data for web applications. Depending on the circumstance I'll either ...
0
votes
1answer
40 views

Unable to upload files with long Name and long folder path using REST

I am trying to upload files to Sharepoint 2013 using REST based services. The upload works fine if the name of the file is less than 109 characters and the folder path less than 123 characters. I ...
0
votes
1answer
42 views

Check if a set of groups are present in rest api

I have a set of Sharepoint groups to be created with RestApi. But before creating i have to check if the group doenst exist already and then create. Is there a way to send multiple group names and ...
1
vote
0answers
39 views

access_denied error in 3-legged oauth flow for sharepoint app

I have installed the app(tenant level) from Sharepoint store and the app gets installed successfully for every one in the organization. While doing 3-legged authorization flow, after executing ...
0
votes
1answer
193 views

Getting the list item Permission using Rest Api

I'm trying to get the list item permission using restapi in asp.net mvc. i had get the permission using below url ...