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
1answer
4 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
25 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
10 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
32 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
23 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
10 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
11 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
22 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
27 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
0answers
10 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, ...
0
votes
0answers
19 views

Updating a list item from sharepoint online workflow using HttpSend

I'm trying to update an 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
24 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
36 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
0answers
26 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
1answer
39 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
0answers
14 views

REST ListData service and anonymous authentication problem

I am trying to access SharePoint 2010 list items using rest service and with anonymous authentication enabled, I am getting 404 error. ...
1
vote
1answer
35 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
13 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
40 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
23 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
54 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
16 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
20 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
17 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
22 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
22 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
28 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
38 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 ...
0
votes
3answers
36 views

Add Columns in Document Library using REST

I am creating a Document Library using REST with the body content below. At the same time as i create this Document Library i also want to create custom columns. What should i type in the body ...
2
votes
0answers
23 views

How to get the Search REST API sort to not be case sensitive?

I am using the Search REST API to get a list of users, and am trying to sort the results by last name. However, the sort seems to be case sensitive. Is there a way to change the way items are sorted? ...
1
vote
1answer
39 views

Error when querying list/roleassignment in 2013 REST API - Need to know if a user can query a list/library

In sharepoint 2013, I need to check if a the current user, has access to a specific list, for that I'm using the following REST endpoint (using AJAX) ...
4
votes
0answers
43 views

How to create ContentType with FieldLinks using REST on O365

I'm trying to create a ContentType with FieldLinks using REST only (no SP.ClientContext) on SharePoint Online, but I'm not able to make it work. Creating ContentType by POSTing to ...
2
votes
0answers
14 views

Best way to filter by distribution groups user is in and show assigned to tasks for that group

Basically, the goal is that there is a task list web part that will use REST services to see what distribution groups a user is a part of and the view will filter based on if any distribution groups ...
3
votes
0answers
28 views

Getting back-end data and displaying it in the client

My SP Admin level is strong. My SP dev level is beginner. I know some JavaScript. What is the best method of bringing Server and Farm information from the back-end to the client-side? For example, ...
1
vote
1answer
28 views

Get Department for current user using REST API (Javascript)

Is it possible to get the department of the current user using REST API (Javascript)?
3
votes
1answer
50 views

HTML5/JavaScript Form with Complex Field Types

I am developing a responsive Website on top of SharePoint using Angular and have a few list forms that I need to establish. For fields such as text and date via saving or updating against the REST ...
1
vote
0answers
9 views

Service account to access data without being able to log into the web interface?

I've been asked a tricky question. Here is the schema. A user have access to a custom web interface, no SharePoint. He wants, through this interface, to access data on SharePoint. He has no account on ...
0
votes
0answers
31 views

How to retrieve a SharePoint list item using document ID only

How can I retrieve a SharePoint list item using just the document ID? I am accessing a SharePoint 2013 server (with document IDs enabled) remotely from a .NET application. I do not know which site or ...
1
vote
0answers
15 views

How to dynamically change the drawing path in Visio Web Access Web Part

I am wondering if there's any way to dynamically change the drawing shown by a visio web access web part. I have multiple drawings I want to show on a page based on what users click on the page. Any ...
0
votes
0answers
36 views

Rest API create personal site enque

I'm trying to provision My Site by utilizing SharePoint JSOM or REST API. The JSOM code snippet (below) gives System.UnauthorizedAccessException and REST call gives me a 401. The goal here is to ...
0
votes
1answer
34 views

How to combine 2 calenders from 2 different sharepoint online sites?

I've received the assignement to combine 2 calenders from 2 different sharepointonline sites. From what i researched, this is not possible with the out of the box overlay solution SharePoint has to ...
0
votes
0answers
14 views

User Profile REST Endpoint isn't up-to-date

I'm trying to access the User Profile information so that I can personalize some information on our Intranet. I'm using the User Profile REST endpoint for it, but it seems like the REST endpoint is ...
0
votes
0answers
7 views

How to use REST on Form Libraries

I need to edit permissions on individual form items that have been added to a form library. This is within 2013 Workflows. So I only need the http call. I have tried to access using the standard ...
1
vote
0answers
18 views

Changes made in Sharepoint web interface to list aren't reflected when using REST method

I've got a Sharepoint list to which I've added some columns, like so: Now, I've been able to pull data from Sharepoint using the super awesome Rest API, using the below PowerShell code: $Items = ...
0
votes
1answer
22 views

App Permission requests

I am trying to create a 2013 workflow that uses an App step to break inheritance on a form library and give individual forms unique permissions. I am having problems, and constantly receiving ...
2
votes
2answers
45 views

How to create a folder in Sharepoint using Java and RESTFul API?

This is my Sharepoint site http://sp2k13/sites/ifsp/ and I would like to create a folder using Sharepoint RESTFul API with Java. I have already gone through Working with folders and files with REST ...
0
votes
1answer
25 views

REST to get list item by Id

I am always comfortable using JSOM, and I have used less of REST calls to access lists and its Items. But now I have a requirement to use only REST to get item by its ID. Can any one help with a ...
0
votes
3answers
45 views

Bringing back fields by internal name in SharePoint REST

Let's say I have the query: http://thisbox/_api/lists/getbytitle('ThisList')/items?$select=* But instead of "*" for selecting fields, I have a list of Field Internal Names and/or GUID's. I'd like ...
0
votes
1answer
25 views

Filtering a Lookup field using REST not working in Sharepoint 2010

I'm trying to filter a column of type lookup from a list using this method. /_vti_bin/ListData.svc/Collections()?$expand=Departments&$filter=Departments/Title eq 'Sales' And its outputting the ...
1
vote
1answer
24 views

REST calls between applications

I have a series of SharePoint applications, one being our Intranet site and one being a system for serviceinformation on our IT-systems (itstatus). I really want to make a section of out intranet ...