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
77 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 ...
1
vote
2answers
68 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 ...
0
votes
1answer
20 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
41 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 ...
0
votes
1answer
42 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
0answers
32 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
0answers
44 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
97 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
3answers
2k views

Accessing list data from another site collection or web application using REST services?

I have a list (Links template) of URLs that is on a site collection and I was wondering if it is possible to include this list as a jQuery megamenu on another site - ideally another web application on ...
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
18 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
18 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
39 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? ...
2
votes
1answer
470 views

How to use LINQPad with SharePoint 2013 REST service (/_api)?

It is working just fine with /_vti_bin/ListData.svc, but I can't create connection for /_api URI.
0
votes
1answer
83 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 ...
1
vote
3answers
3k views

How to get the ContentType Field From Task List Using REST API In SharePoint 2013

How can I get the ContentType Field value From Task List Using REST API In SharePoint 2013 ? I tried this code and i got results for ID, Title etc. but for the ContentType field he returned ...
1
vote
2answers
2k views

Get ContentType name with select fields

I have a problem with getting the ContentType name for a item. when i use http://sp2013dev/sites/mms/_api/web/lists/GetByTitle('List')/items(1)/?$expand=ContentType I get as response all Fields ...
0
votes
0answers
60 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
48 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 ...
7
votes
1answer
602 views

Configure Navigation Inheritance when create site with Rest API

I wonder how do I keep the navigation bar of the parent site when I create a subsite. Below is the code I'm using to create the subsite and thought it might be some parameter that I could use to do ...
0
votes
1answer
116 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 / ...
3
votes
3answers
453 views

How do I use getbytitle with special characters?

I have a list named "St. John's Calendar". How do I use it with SP.CamlQuery? I'm thinking I need to encode it in some way, but nothing so far has worked. Something like: ...
1
vote
1answer
74 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
16 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. ...
3
votes
1answer
174 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
0answers
30 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 ...
1
vote
1answer
46 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 ...
1
vote
1answer
31 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 ...
0
votes
0answers
37 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
32 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 ...
1
vote
0answers
38 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
37 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 ...
0
votes
1answer
129 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 ...
3
votes
1answer
80 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 ...
0
votes
3answers
84 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 ...
1
vote
0answers
98 views

Workflow HTTP PUT request error

Receiving this error when trying to update a list item via HTTP PUT in SPD Workflow: error":{"code":"-1, ...
3
votes
0answers
137 views

sharepoint workflow rest api add role assignment exception

I develop a workflow and i want to grant unique permission on item in list using sharepoint rest api ...
2
votes
0answers
71 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? ...
0
votes
1answer
135 views

Downloading large binary files and upload it to SharePoint document library using REST

I am building a SharePoint hosted app that communicates With a REST service, also built by us. The REST service provides a method to get a file (image or video file, typically 4Mb - 50Mb, but also ...
1
vote
1answer
55 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) ...
6
votes
0answers
69 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
24 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
33 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
129 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)?
1
vote
0answers
11 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 ...
1
vote
1answer
32 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 ...
0
votes
0answers
76 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
50 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 ...
1
vote
1answer
330 views

How to authenticate user in SharePoint Online using rest api

I have a website on SharePoint Online and a website on SharePoint On-premise. From my On-premise website i want to create a new list on my SharePoint Online site. To authenticate I used the ...
1
vote
0answers
40 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 ...