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 (1)

0
votes
1answer
59 views

Access Target Audience with REST API - The field or property 'Audience' does not exist

Resorting to asking a question on here as I cant seem to find anyone else who is trying to access the Target Audiences field with the REST API. If I try and pull out all the items in my list using: ...
0
votes
2answers
60 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 ...
0
votes
2answers
85 views

SharePoint Hosted App: Using Cross Domain call to access list items on Host Web

I can use Chrome Advanced REST tools to test out a get list items request on the host web http://mydev/records/_api/Web/Lists/GetByTitle('Uber Documents')/Items?$select=Title Ok now I want to use a ...
1
vote
1answer
93 views

Retrieving web part ID (GUID) with SharePoint REST API

I need to get the ID of a web part on a page before I have redirected the browser to the page. The reason for this is that I need to update a field value that contains web part settings, which are ...
0
votes
1answer
26 views

Search API development with refiner language column

I'm currently working on a search driven App in SharePoint 2013 based on JavaScript and some forms. The mission is to get results from the search refinery in real-time for a specific search term. To ...
2
votes
2answers
170 views

Dynamically get default display form url in sharepoint 2013 by REST or JSOM

How can I get default display form url of sharepoint list item via Rest or JSOM. I found the result by link: How to get the Display Form URL, using REST But the XML returns all of the display form ...
0
votes
0answers
36 views

Guest link via REST API

I would know if exist a way to generate a guest link for a file stored on sharepoint 2013 online via Rest api and access token. I tried this link passing the access token but doesn't work if you are ...
1
vote
3answers
164 views

Pulling user/group field data from SharePoint list using REST, jQuery, Knockout.js Sharepoint 2013

I'm trying to make an interactive task board based on the task list app in SharePoint 2013. The task lisk includes fields like "Title","Description","Status","% Complete","Due Date","Assigned To", ...
1
vote
2answers
87 views

How to add an AD group to a SP group using REST api?

I managed to write a code that adds a user to SP group using REST and it just posts this data: { '__metadata': { 'type': 'SP.User' }, 'LoginName':'i:0#.w|domain\\user' } to here: ...
2
votes
3answers
122 views

400 Bad Request while trying to add a user to a group using ShP 2013 REST api

I am having such a bad time trying to figure this out. I'm trying to add a user to a group by posting to: _api/web/sitegroups(8)/users The posted data looks like this: { '__metadata': { ...
3
votes
2answers
75 views

How to get deferred object for sharepoint rest queries

I want to create one common jquery library to work with REST queries in sharepoint. I have two files. REST_Operations.js consumer.js In REST_Operations.js I am writing rest queries ...
0
votes
2answers
80 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. ...
2
votes
2answers
116 views

SharePoint 2013 REST how to add pagination?

I am using SharePoint 2013 REST to display my list data in a table My list is getting long and how can I have pagination links blow my table? my code: <script> var app = ...
0
votes
1answer
7 views

What are the list workflow approval field values in a REST call?

I looked at the REST call for a list and noticed that the value for approval was <d:approval m:type="Edm.Int32">16</d:approval> for 'Approved' and <d:approval ...
3
votes
2answers
99 views

SharePoint 2013 REST display lookup fields?

I am using SharePoint 2013 REST to show data from my list, one of my field in announce list is AnnouncedBy which is a user packer field or is a lookup field how can I display it or get it using ...
2
votes
1answer
49 views

Server error when accessing Search api via REST

When trying to access the SharePoint search service via REST, I always get an internal server error with no information about the cause of the problem. My SharePoint app uses app-only permissions, ...
0
votes
1answer
52 views

UserProfile rest API

I need to retrieve User Profile information by REST. I am using this code: $(document).ready(function(){ var requestUri = ...
3
votes
2answers
111 views

How to run ReST query to a list when the item count is more than the List View Threshold?

I have a list that contains around 16000 items and will be growing. The List View Threshold is set to the default value of 5000 (SP 2010). I have nothing to do with the SP list views and UI for this ...
1
vote
1answer
34 views

Using Javascript to add to REST 2013 Sharepoint list “SPFieldMultiChoice” type

I'm trying to add to a checkbox field in my company's 2013 Sharepoint install. I'm using javascript as I've built a Chrome Extension to do some work hitting several sites and compiling information, ...
1
vote
1answer
45 views

How do I get the List REST method to return the results with the display name and not the internal name

zopv & s2u2 are internal names, but I would like the results to be returned using the display name. FileSystemObjectType: 0 Id: 2 ContentTypeId: "0x010100517BCCBD1C63034A8C1141184DAB12C5" ...
1
vote
0answers
69 views

Cross Site Collection call in SP Hosted App

I want to read a list from one of my site collection(SiteColl A) using a SP Hosted App. This App will be deployed in another Site collection(SiteColl B) in the same web application. I know one way to ...
1
vote
1answer
35 views

Get site title by its URL using REST

I am trying to get a User Profile property that contains an URL for a SharePoint site, then I want to use this URL to get the site title using REST API. Is it possible?
1
vote
1answer
36 views

Transfer times for REST API queries vary a lot

I'm making use of the REST API to get lists. But I'm finding the transfer times are varying a lot (between ~1 second and up to 20 seconds). How can I improve this? What should I look into? ...
0
votes
1answer
85 views

Cascade drop down lists in SharePoint 2013 using jQuery, REST and AJAX

This is what I have so far: Loading the States in the State lists: var ItemStateDD, ItemCountyDD, ItemIDDD; $(document).ready(function () { //state populate $.ajax({ cache: false, ...
2
votes
1answer
71 views

Field value is null in SharePoint search REST API result

I have simple search REST GET query as below : https://<site url>/_api/search/query?querytext='research'&selectproperties='Title,Author,Created,ContentTypeId' The search result XML ...
0
votes
2answers
74 views

How to use SharePoint 2013 REST service to retrieve data from lookup field

I have two lists: 'Company' and 'Customer'. In 'Customer', I have an auto look up field called 'parent'. Then I tried to use Rest to retrieve data from customer like this: ...
1
vote
1answer
70 views

How to retrieve Multi Value Lookup List using SharePoint 2013 REST Api

I have a Blog subsite of my main website. I am trying to get the Top 2 blog posts along with the number of comments and actual comments. I am able to get Number of Comments with the field ...
3
votes
3answers
279 views

Combine REST query “GetItems” action with OData $filter parameter

I'm able to call GetItems through REST by using an example by Erik C. Jordan. Now I'm trying to combine this with a simple OData $filter parameter. I have a REST query like this (jQuery on SharePoint ...
1
vote
1answer
13 views

SharePoint integration outside farm

Can someone provide me an overview of the possible ways of interaction with SharePoint from an external source. For example add items to a list from an application not running in the farm. In a farm ...
1
vote
1answer
62 views

REST Api Add item to list in App Web

I have an app that contains a few lists within its own app web. I need to add new items thru the REST Api. The problem is when I try to add an item I get a 403 Forbidden error Which is odd ...
1
vote
0answers
32 views

2013 workflow, get list item in parent web

In a sandboxed sharepoint 2013/office 365 workflow, I'm trying to query a list (using REST) in the root web, for a value. If the workflow fires in the root web, I get the value. If you call it in a ...
2
votes
1answer
34 views

Update SharedWithUsersId REST API

I've been looking at the REST API to update fields in SharePoint. I can get it to update the title without any problems, however when I go to update the SharedWithUsersId they do not update. I don't ...
1
vote
1answer
56 views

Use a CQWP to create a list of document libraries

I have a site with a large number of document libraries. There are constant adds / archiving of document libraries, so the list changes. Is it possible to generate a dynamic list of links to these ...
2
votes
1answer
120 views

How to get the Display Form URL, using REST

I need to get the display form of a list item using REST, I tried EncodedAbsoluteUrl and FileReaf, but none of them works from a SharePoint hosted App. FileReaf its just a relative url to the List, ...
0
votes
0answers
34 views

Upload aspx file to host web in App Installed remote event receiver (rest file upload)

I'm creating AppInstalled remote event receiver that should upload aspx file to host web library (library is also created in app installed receiver). If I set app permissions to Web:Manage I can't ...
1
vote
1answer
80 views

Move files between OneDrive Business accounts

Is it possible to move folders and files between Business OneDrive Accounts. From what I can see, this can be done in the same site only. This looks like it could work, can this be done through the ...
3
votes
1answer
107 views

Can I use $expand to get Managed Metadata column values?

I want to get a list, using REST, which include Managed Metadata columns. Currently I get a TermGuid for these columns, which I then have to do more work on to get their actual default values. Is ...
1
vote
1answer
35 views

SP 2013 REST throws error 500 with specific Regional Settings

I have built a SP-hosted app that uses REST API calls to get data from a list in the Host Web. The request (from fiddler) is as simple as this: GET ...
1
vote
2answers
66 views

How do you use JS Link with Pages?

I'm trying to make a JS Link script that will work with my site's Pages list. Basically I want to display a simple list of page titles. I'm using the Pages Web Part (Web Part > Apps > Pages). var ...
0
votes
0answers
33 views

Update people field 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 ...
1
vote
2answers
37 views

SharePoint 2010 REST services

I'm having a bit of trouble using the SharePoint 2010 REST services on one of our servers. We have two production servers, and if I point my system to one of the servers I am able to connect to the ...
0
votes
0answers
26 views

Rest API Endpoint for Site Collection “NewsFeed”

I have a NewsFeed on the home page of my Site Collection (out of the box feature). I am developing an iOS application to read the NewsFeed, but none of the endpoints seem to satisfy the one on my site ...
0
votes
1answer
715 views

How to select and filter list items lookup column with Sharepoint 2013 REST Feature?

I am using SharePoint 2013 REST. I have list which contains many look up columns, I can get list items through list if they are not look up columns but I can't select and also filter based on look up ...
1
vote
2answers
62 views

Is there a way to get all file URLs for a library with a single REST request?

I have a bunch of images in a library that I need to get URLs for each item. I can get the GUIDs with this: /sites/mysite/_api/web/lists/getbytitle('Rotating%20Banner')/items Is there a way to ...
0
votes
2answers
89 views

Sharepoint 2013 REST queries filter items gives error?

I using Sharepoint 2013 I want to get list items using Sharepoint 2013 REST feature I can get all items but when i put my filter it does not works I don't know where the problem is. my code: ...
0
votes
1answer
81 views

Error posting a REST request via cross domain library - Cannot handle Taxonomy Field Value

I have an app that updates a list item then starts a workflow on it. It was working fine, then stopped working the other day. It has started throwing an error regarding Taxonomy fields, but I am not ...
0
votes
1answer
111 views

Sharepoint 2013 workflow REST: service response on filter request with httpSend activity

in a declarative / visual studio workflow we want to filter a list and use a httpSend activity with http://mysite/_api/web/lists/GetByTitle('myList')/items?$filter=Title eq 'customer' for the uri ...
1
vote
1answer
46 views

Workflow with REST call save as template

I have created a workflow which does a lot of REST calls. The workflow works perfectly and I have several other sites/lists were I will need the same workflow. Therefore I would like to save the ...
0
votes
1answer
70 views

Sharepoint 2013 REST-API: get global propertybag value

on farm level we have stored several values in propertybag. As far as I've understood the REST Api there is no way to get that values because the AllProperties endpoint is on web level. So what to ...
0
votes
0answers
33 views

JSON feed for Excel data?

There is an OData feed to get data from an excel workbook via Excel Services. However, it only supports ATOM, and not JSON. is there another way to get JSON data for an excel workbook? Along these ...