The REST (Representational State Transfer) interface in Microsoft SharePoint Foundation 2010 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 ...

learn more… | top users | synonyms

0
votes
3answers
366 views

REST filter=startswith not working when filtering using Id field

When filtering a text column like in built Title field using startswith, proper results are returned. Example: http://aissp2013:111/_vti_bin/ListData.svc/ChangeRules()?$filter=startswith(Title,'Ti') ...
1
vote
0answers
9 views

SPListItem.BackwardLinks equivalent in CSOM, JSOM, or REST?

In the Server API for SPListItem there is a property called BackwardLinks that returns a collection of items that link to the item. I don't see the same property in CSOM, JSOM, or REST. Is there a ...
0
votes
2answers
847 views

Using REST API to get Site Groups in SP 2013

I'm trying to use the REST API in SharePoint 2013 to get the site groups. I've been using this link for a little help... http://msdn.microsoft.com/en-us/library/jj245927.aspx It's to do it with the ...
4
votes
3answers
1k views

How to create a folder in SharePoint 2010 document library using REST or HTTP methods

I am using Java to make calls to the SharePoint REST Interface to get list items of a document library and HTTP methods to upload documents to SharePoint. But, I am having a difficult time trying to ...
0
votes
2answers
48 views

Insert a list item using REST form webpart: 403 error even when X-RequestDigest is present

I intend to insert a list item from the main page in intranet to a list hosted on another site collection. I made this simple HTML & JS to get it done, but I always get the 403 / FORBIDDEN error: ...
0
votes
1answer
19 views

Filtering REST queries by multiple parameters

I have no problems getting a REST query to return the expected result set when I use a single clause- http://website/_api/web/lists/getbytitle('MyList')/items?$filter= StartDate ge ...
3
votes
1answer
56 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: ...
1
vote
2answers
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 ...
0
votes
0answers
21 views

error 404 for REST web service

I have deployed a REST service in a local SharePoint 2013 with Visual Studio 2012. Anyway, when I try to access the svc url: http://mylocalpc/_vti_bin/adsvc/Service.svc I get error 404 file not ...
1
vote
1answer
417 views

REST API In SharePoint 2013 Uploading and Setting a Property

I am currently in the process of trying to upload a file from using SharePoint 2013 Restful Service as well as setting the fields in the same document library at the same time. I have had success ...
1
vote
2answers
183 views

Get survey questions via Rest API

I am able to get all the fields in a survey using the web api url : _api/Web/Lists(guid'cecxc8b4-bbvc-472c-ae3f-d648bd0bb025')/Fields How ever I am not able to distinguish questions from the ...
0
votes
1answer
446 views

Clear all values in a multi-value lookup, via REST, SP 2010

Conditions: SP 2010, html/javascript, using REST to read/write to various lists. Im using a jquery multiselect plugin to set a multi-value lookup column. I need the selecting Groups of items, easy ...
-1
votes
1answer
22 views

iterating list using _api rest - Not working

I can see 2 records in the console but my alert doesnt print out any data and doesnt append to the table either. See below and thanks in advance // begin work to call across network var ...
1
vote
0answers
708 views

How do I call SharePoint 2010 REST API from C# if that site has claims based auth?

For example, this site is secured via Claims Auth (It has both FBA and Windows Auth). My guess my issue is security. I ultimately want to use the credentials that my IIS app pool is running under. ...
2
votes
2answers
68 views

What are the advantages of using SP Services?

What advantages would I gain by using the SP Services library in SharePoint releases 2010 and later? The 2013 (and even the 2010) JavaScript Object Model and REST API seem to cover a significant ...
0
votes
2answers
37 views

SPServices GetListItems GroupBy

I am using the SPService, the method GetListItems. I need to groupBy the result (distinct). This is my code: var CamlQuery = '<Query><GroupBy Collapse="TRUE"><FieldRef Name="nameA" ...
0
votes
2answers
80 views

SharePoint2013 REST: Get user profile properties

I've been fighting to get user data using the REST API but I can't get it to work mainly because I am getting a server error 500 "Network Error: 500 Internet Server Error - ...
1
vote
0answers
28 views

How to dynamically set credentials when calling a REST web service with code in Infopath

Our SharePoint is configured to use Claims Based Authentication. We want authenticated users in SharePoint to fill a form and some fields will be automatically filled with their personal data. We ...
3
votes
1answer
40 views

Downloading and saving sharepoint 2013 file into browser client

I'm trying to get and save files from SharePoint app using REST, the files are located inside the host SP. Once got the file, I'm saving/downloading it into the browser with a save function. When I ...
0
votes
1answer
22 views

Check In file with Javascript and REST

I am trying to check in a file from my sharepoint-hosted app with jsom and rest, but it wont work my code look like this: function checkInFile() { var hostUrl = ...
0
votes
1answer
76 views

SharePoint 2013 REST-API: Reliable way to retrieve all field values of a list item?

I am trying to retrieve all field values of a specific list item via the REST-API of SharePoint 2013. The values will be used for further processing. The goal is to retrieve all field values ...
8
votes
3answers
3k views

REST POST: How to add a list item with 'people and group', 'choice,' and 'URL' fields?

I am trying to create a form for a SharePoint Hosted app that will allow users to request a teamsite. The form writes to a list that is contained in the SharePoint site collection, from which a timer ...
5
votes
1answer
1k views

Using REST for a DVWP DataSource with Office365

I'm trying to use the REST services (ListData.svc) to retrieve items from a list in a very simple test with Office365. I can't seem to get the connection to work without adding my credentials to the ...
0
votes
0answers
6 views

Listdata.svc is available on a site, but not its parent

I have a Sharepoint 2010 Enterprise site with many subsites. I'd like to access listdata.svc with REST, but I find that out of 60 sites and subsites, ...
0
votes
0answers
25 views

Using SharePoint REST API to retrieve user group in InfoPath

I'd like to display a current user's group list somewhere in my custom InfoPath form. I can't use static addresses (like http://mysite) so I can't use the SOAP services. Does someone know how to ...
0
votes
0answers
23 views

Office Online Public Site Cross Domain using REST Api to query List

I have a public Office 365 SharePoint site. I am using the REST Api to query some lists. Well since I have a custom DNS name, upon making my site public I lost the SSL cert on the site. This is ...
1
vote
1answer
716 views

How to copy files between sites using REST API in SharePoint Online

I have a file in a document library called images: https://xxx.sharepoint.com/Site1/Images ... and I would like to copy the file to the document library called backup in this site: ...
1
vote
1answer
188 views

SharePoint 2013 REST - Create list item with user field and lookup field

I'm trying to add an SPListItem to an SPList via REST, but have a problem with User or Group and Lookup (information already on this site). function adddullitem() { var item = { ...
0
votes
0answers
29 views

Javascript REST API clearing error state

I am working on a SharePoint web app, and using the cross-domain library. I am looking for ways to recover from errors that the deferred functions return, and was wondering if SharePoint REST API has ...
1
vote
0answers
49 views

Updating multi-value fields using REST API

I searched previous posts and the closest to my question is: Updating Lookup Values with the REST API however I am using the cross-domain library and my update query uses ValidateUpdateListItem ...
0
votes
2answers
44 views

REST API OData Filter on Boolean not Working

When I perform a REST query to the following URL: _api/web/lists/getbytitle('BtProjects')/items?$filter=Active eq true I receive only the one item that has this field marked as false. I get the same ...
0
votes
2answers
165 views

Force users to enter document metadata before creating a new document in Sharepoint 2013 document library?

First off, I'm new to Sharepoint. With that out of the way, I have a document library based on a custom content type. When working with Sharepoint document libraries some users find the document info ...
3
votes
2answers
129 views

Sharepoint REST service

Is there any way of reading the documents names of a Document Library using JavaScript from a web application that is not hosted in SharePoint? by the way, my requirement if for SharePoint 2010 not ...
2
votes
2answers
119 views

Copying files AND folders via REST/Javascript

I'm trying to build a the following functionality into a library view: Each document has a checkbox beside it User checks off which documents/folders they want to copy User clicks a "Copy Files" ...
2
votes
2answers
96 views

Creating Folder using REST and JavaScript

I'm trying to create a Folder in a SharePoint Image library. I found an answer here but I can't seem to get it to work var web = 'my relative path to the current web'; var lib = 'name of the image ...
5
votes
3answers
797 views

Updating Lookup Values with the REST API

Is it possible to update a List Item's Lookup Field Value via the Rest API? I can retrieve the field value if I use $select and $expand, but I can't find documentation anywhere that explains how to ...
2
votes
0answers
165 views

Using JSOM or REST get list items stored in a different web application

In an on-premises SharePoint 2013 environment I need to read list items stored in a different web application using JavaScript based solution. This could either be JavaScript in Script Editor web part ...
0
votes
1answer
101 views

creating a subsite using c# and the rest api

Im trying to create a site using the rest api from a console app. I keep getting a "Not well formed JSON Stream". I cant find much on calling the rest api from c# so have been piecing it together ...
2
votes
1answer
75 views

Getting List with REST Service to HTML page on different domain

I am trying to get data from SharePoint and display it in an HTML page on a separate domain using SharePoint 2013's API. The SP instance sits on-prem and the other domain is also within our firewall ...
0
votes
1answer
614 views

Check to see if location exists in sharepoint 2013

I'm developing an application and a part of it involves storing user submitted documents to a document library in sharepoint. Each folder in the document library is identified by the User ID. And ...
0
votes
1answer
53 views

Understanding authorization schemas for a custom SharePoint web service

I am building a custom Rest service to be hosted on a SharePoint 2013 farm. The service currently has only one method called "Ping" which simply return the current DateTime. public interface IService ...
0
votes
0answers
88 views

How to upload a file using REST and C#

I already go a connection with the OAuth 2.0 protocol. I am using REST and C# to get file- and folder information, create folders etc. through WinForms. Im not able to upload a picture. (A text file ...
0
votes
0answers
27 views

Enable Create/Update/Delete operations for the REST API

I'm using the REST API with two Sharepoint installations (one using Sharepoint Online, the second using Sharepoint Server). When I'm using Sharepoint Online, everything is fine. When I'm using ...
0
votes
1answer
78 views

How to parse the output returned from REST (/_api/)?

When we use REST we get output as xml how do we parse this via JSOM and fetch the values? Also, please provide some information on how to use this in SSOM instead of JSOM?
1
vote
1answer
665 views

Attempting to get data from sharepoint 2013 using C# results in HTTP 500

HttpWebRequest wr = (HttpWebRequest)HttpWebRequest.Create(new Uri("https://sharepointurl/_api/lists/")); wr.Credentials = CredentialCache.DefaultNetworkCredentials; var v = ...
0
votes
1answer
32 views

Error when using REST URL

Hello we can use foll URL in IE and get XML output: http://intranet:1111/_api/SP.UserProfiles.PeopleManager/GetMyProperties/PictureUrl But if we try to use the below URL we get error as feed format ...
1
vote
1answer
87 views

How can I authenticate SharePoint REST calls from Android App?

I have a website that is built using SharePoint Foundation 2013.I have a number of list and libraries there. For Example: I need to develop a android application to show the SharePoint List ...
0
votes
1answer
33 views

What governs the decision to use server object model or client object model or javascript object model or REST?

What governs the decision to use (in SharePoint 2013)?: server object model (ssom) client object model (csom) JavaScript object model (jsom) REST
0
votes
1answer
47 views

SharePoint 2010 REST API to get entry permissions

Using the SharePoint 2013 REST API, I am able to get file\folder permissions using GetFileByServerRelativeUrl or GetFolderByServerRelativeUrl and then expanding RoleAssignments to get all the ...
0
votes
2answers
43 views

Error: The security validation for this page is invalid

I have as simple function to just upload 1 document in 1 library. I made a REST service as part of a SharePoint solution which I deploy/debug against sp2013. However the list.Rootfolder.Files.Add ...