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
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
17 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
1k 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
21 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? ...
2
votes
1answer
449 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.
4
votes
3answers
5k views

Query SP2013 Managed metadata term store

I was wondering if it is possible to query the Term Store via the REST API or Javascript Client Object Model in SP2013. I can't quite seem to work out the naming scheme for the REST API to discover ...
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 ...
1
vote
3answers
2k 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
1k 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
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
1answer
924 views

Office 365 SharePoint Online 2013 REST with SoapUI

Im trying to run Office 365 SharePoint Online REST API calls. I get an error message: <m:error xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata"> ...
0
votes
0answers
18 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
35 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 ...
1
vote
1answer
37 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
0answers
21 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 ...
0
votes
1answer
24 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 ...
1
vote
0answers
13 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. ...
7
votes
1answer
525 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
38 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
296 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
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
46 views

How do I find the Tenant ID of my SharePoint Online Account?

I am trying to create a simple PHP script that uses oAuth and I seem to require the Tenant ID of my SharePoint Online account. I'm sure this is something very straight forward, but I can't seem to ...
3
votes
1answer
53 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
1k views

Sharepoint 2013 REST API - Shared Documents / Author Info In one Call?

We are in the process of integrating from Sharepoint 2007 to Sharepoint 2013. We have a java based application using Sharepoint 2007 SOAP based webservices. In Sharepoint 2013 we are using the REST ...
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 ...
1
vote
1answer
19 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
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 ...
0
votes
0answers
16 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 ...
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
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 ...
0
votes
1answer
37 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
49 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
35 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
84 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
97 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
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? ...
0
votes
2answers
594 views

Upload attachment in a document library using c#

Our client is running CRM and SharePoint and they would like to upload attachments from CRM into SharePoint 2013 Online. I started searching the web for some help and I came to this Microsoft page. ...
0
votes
1answer
98 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
38 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 ...
4
votes
1answer
688 views

SP 2013 REST API How to get Approval Status for Version History items

This is how SP presents Version History: I use this URL to get file history: ...
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, ...
0
votes
2answers
814 views

How to get the ID of a list item with a given GUID in Sharepoint online with REST api?

I tried a request at a url of the following form .../_api/web/Lists/getByTitle('docLib')/items?$select=id,GUID&$top=1&$filter=GUID eq '2779cf8051-381f-4834-93dc-ece6345dde33' and i get ...