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
939 views

How to create list item in an external list using SharePoint workflow?

Environment: SharePoint 2013 SP1 I have an External List displaying data exposed through a WCF service. Creating, Reading, Updating and Deleting (CRUD) items in the external list works fine in the ...
0
votes
1answer
15 views

Why won't a Search REST API request not work on all Site Collections?

My organization has a SharePoint Online tenancy. I created a Test Site collection as a Subsite of the main Site Collection. I'm able to submit the following REST call through a chrome browser, and I ...
0
votes
0answers
7 views

Get User's Roleassignments / Office 365 group permissions REST API

I have added users to a Office 365 group but I can't see which users are in which group using the Sharepoint API. When I query currentuser?$expand=Groups it's empty but when I ask the roleassignments ...
0
votes
0answers
12 views

Limit results SharePoint 2013 api's

Is there a way to limit the max results serverside returned by "/_vti_bin/people.asmx" & "/_vti_bin/client.svc/ProcessQuery? Or perhaps only return exact matches (by overriding searchText ...
2
votes
1answer
1k views

Set list item level permission in jsom (javascript object model)

I need to assign permissions to a particular list item using client object model in JavaScript.Say for 5th item by id I want to assign contribute permission to a particular group. I have previously ...
1
vote
2answers
97 views

SharePoint REST API - Get 2 items only

I want to query Calendar list and get the upcoming 2 events. How should I form my query ? This is the query I have to read the items from required list : var url = _spPageContextInfo....
1
vote
1answer
1k views

401 Unauthorized Exception with SharePoint search rest API

Note: Please do not make my question as duplicate, still i haven't get any proper answer for my question. I am getting 401 unauthorized error when calling a sharepoint search rest api (/_api/search/...
0
votes
0answers
17 views

How to get Display name of MMS column using rest

I am using the rest call to get the display name of MMS column "Assetname" and I am getting the GUID https://<site>/_api/web/Lists/GetByTitle('HomePageConfig')/items?$select=TagsTitle,Assetname ...
0
votes
0answers
18 views

Access Denied when trying to create an item with SharePoint API

I am using OAuth to authenticate a client to access SharePoint and create some files. I have the access token and can access endpoints with no issues. However, when it comes to creating items, I am ...
0
votes
1answer
32 views

REST Looking for the last created / updated documents in 24h for all workspaces

I am looking for a solution to get all the created / updated documents for the last 24h for all my workspaces. How is it possible via REST API? Like an Activity Feed.
0
votes
1answer
29 views

Unable to get User details in SharePoint 2010

I am using following code to get user details.... function getUsers() { $.ajax({ url: "/_vti_bin/ListData.svc/UserInformationList", type: "GET", headers: { "...
1
vote
0answers
26 views

Expand Fields and Items in one call and filter the expanded

What i am trying to do is to get all lists and from all lists expand fields and items. Then filter some fields, and get all items (and not only first 100) /_api/Web/Lists?$select=Title, Id, Hidden&...
0
votes
3answers
270 views

Get Root Website URL in REST API

How to get SharePoint Root Website or parent web site URL in REST API?
1
vote
1answer
33 views

REST API Filter by LoginName from user list not working

I have a list A, which has a column owner of type "Person or Group". I am using REST API to query this list(using jquery). I would like to use column owner to filter records by username. I have a ...
2
votes
1answer
50 views

Workflow to count total numeric value in a column and show on a new column

Environment: SharePoint 2013 Enterprise Is it possible to sum the numeric values in a column and show the output on a new column in SharePoint 2013 List using SharePoint Designer Workflow? List ...
1
vote
2answers
56 views

Fetch lookup column data in excel using ODATA Feed from SharePoint List

I am trying to fetch a data from SharePoint list to excel. Lookup column with multiple choice (person and group field) is not getting populated in the excel. Can anyone help me with this. Below is my ...
0
votes
2answers
754 views

How to identify change to the “Modified By”, “Created By” , “CheckOutTo” column title through REST API

I am an iOS developer. In one of my application, I need to make modified by, created by and checkoutto user's information along with the document/list item information from SharePoint server through ...
2
votes
1answer
40 views

Can I query ContentItems using tags in SharePoint 2010 API?

I am experimenting with SharePoint 2010 REST Interface and SharePoint 2010 Web Services to retrieve content based on certain Tags. Is there a way to retrieve content based on social tags in ...
0
votes
0answers
27 views

Authenticate the SharePoint 2013 Foundation site into the android application

I have a site in SharePoint Foundation 2013 which is public (within organisation domain - no network boundary). Now I want to make a mobile app for this site. Below are the details: I need to develop ...
0
votes
1answer
11 views

Listdata.svc Environmental error

I have a query that works in UAT but when I run the same thing in Production, I get a 500 Internal error. The field that's breaking is 'ITProjectManager' which is of type 'Person or Group'. When I ...
0
votes
2answers
2k views

Sharepoint 2013 Rest API _api/Web/SiteUserInfoList filter Name

I have some trouble to use the Sharepoint2013 Rest API _api/Web/SiteUserInfoList. I need to use a $filter on the Name. I get always a 400 Bad Request. This is my endopoint rest ....my_site.../_api/...
0
votes
1answer
32 views

using RestAPI and jquery, we want to create term, by setting the values of description and available for tagging

In Sharepoint hosted app, using RestAPI and jquery, we want to create term, by setting the values of description and available for tagging. How will we do this?
9
votes
2answers
627 views

Which one is faster CSOM or JSOM

Understanding which one has better performance for performing CRUD operation in SharePoint List, CSOM or JSOM?
5
votes
2answers
1k views

Using REST to approve a list item

I am hoping that someone else here has tried to do this successfully. I am trying to approve a list item via JavaScript using the REST interface. I know how to do it with CSOM, but in this scenario I ...
1
vote
2answers
1k views

Getting Calendar items on Office 365 using REST API

I am having trouble with a REST call using jQuery on Office 365 and was wondering if you guys have ever experienced something similar and could give me some hints? What I am trying to achieve is to ...
7
votes
2answers
4k views

Retrieve toplevel site's subsites using REST _api

I'm currently working on an iOS app which uses _api-services to retrieve data stored in documents libraries of a SharePoint Online. Consuming _api/web/Lists/ works well so far. At the moment the REST ...
1
vote
4answers
3k 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
1answer
812 views

Is it not possible to add user to SharePoint group using REST for cross domain calls?

I am trying to add user to a SharePoint group in a "SharePoint Hosted App". First I am checking whether the user exists in that particular group or not. If not, I am trying to add that user to a group....
0
votes
0answers
12 views

Start a designer Workflow from within a designer workflow

I don't see any Action items in the designer that would allow me to call a workflow from within a workflow in SP designer 2013. However I had seen an example that this could be done by making a REST ...
1
vote
1answer
793 views

How is ViewsRecent in search results calculated?

I need to find the top 3 visited webs for the last 4 weeks and I need/want to do it via the REST search api. This is SharePoint 2013. The value ViewsRecent returned by a search query seems to be what ...
0
votes
2answers
44 views

Display REST Data

I am running into few issues. Issue # 1: When I use the following REST endpoint uri in chrome I get XML back. However, IE throws an error (IE cannot display this feed). I downloaded REST API Browser ...
0
votes
0answers
26 views

Troubling uploading file from (coldfusion) server into sharepoint with Rest

Sharepoint is giving me this message which I can't interpret. "Microsoft.SharePoint.Client.InvalidClientQueryException","message": {...see below...}" is not valid."}}}" URL: https://{...
1
vote
1answer
38 views

SharePoint REST API call not responding

Working on a project where we are creating a new Site Collection for a department. We are new to SharePoint. During our testing we created a Site Collection called Test. I came to realize that the ...
0
votes
1answer
37 views

Retrieve lookup field value using REST API

In my sharepoint site I have another sub-site. On the top level site there is a list to store 'document type'. Within the sub-site I have a document library which looksup the 'document type' list. I ...
-1
votes
1answer
39 views

Status Code:500 Internal Server Error, while calling a webmethod in SharePoint 2013

I am trying to call a webmethod written on application page but getting an error, Status Code:500 Internal Server Error JavaScript: <script type="text/javascript"> $(document).ready(...
0
votes
1answer
33 views

Get list items using REST - Only the first folder is returned

I am using following to display all the items in content query webpart but only the folder is displayed. What am I missing? Sharepoint 2013 <script type="text/javascript" src="https://ajax....
1
vote
1answer
19 views

Rest API - search for term across all columns

I have a list with the following fields: ID, Title, Location, Manager I currently have search set up such that if I enter in a term, it returns all the items with that term in the Title: ../_api/web/...
0
votes
1answer
11 views

Trying to Access Name Value for Users in a Group using REST

Is it possible to access the "Name" value in a SP members group using REST? I'm able to reach LoginName, Id, Email, but not Name. My ultimate goal is to pull out all users from a group with specific ...
3
votes
3answers
2k views

Updating SharePoint item using REST API from outside of SharePoint

I need to update (CRUD) SharePoint list items from a stand alone application outside of SharePoint. This application can only use JavaScript to call SP. Deploying it as an app on SharePoint won't be ...
1
vote
1answer
3k views

ReferenceError: SPClientTemplates is not defined

I am trying to use the client-side People Picker and I can't get it to initialize the people picker due to SPClientTemplates not being defined. I am following MS documentation line by line but cannot ...
0
votes
0answers
21 views

REST API's corresponding to the ASMX Methods

At the moment we integrate with SharePoint using the Copy.asmx and Lists.asmx Web services but as these are deprecated in Share Point 2013, we want to move to REST endpoints but the big question is ...
2
votes
1answer
819 views

Get documents and folders in SharePoint 2010 list's ROOT folder with REST

There is a question about getting files/folders in some SharePoint folder. There is advice to filter list items by parent folder path. But how can I list files/folders in the List itself? With REST I ...
0
votes
0answers
18 views

Is Authorization needed while requesting Excel online Rest API from Sharepoint Add-in JSOM?

We are trying to access an Excel spreadsheet from a sharepoint add-in. We are using JSOM in this add-in. Intention is to populate the excel spreadsheet with some flags before user can download it. So ...
1
vote
2answers
1k views

SharePoint 2013 Online adding a user to a group using a workflow

I am trying to add a user to a security group via a SharePoint 2013 workflow I am currently trying to do this using the Call HTTP web service action and I have 3 dictionary's built. All of this is ...
0
votes
1answer
42 views

SharePoint online REST API: how to get custom field list

I also want to get the custom columns via REST, If you fire up Google Postman or Advanced REST Api client you can get a desired json response for the query below. https://mydev/sites/site1/_api/SP....
0
votes
2answers
28 views

Get current SharePoint file version using REST call

I use a REST call to get file information as: http://MY_WEB_SITE/_api/web/lists/getByTitle('Documents')/items?$select=FileLeafRef Can I get the current file version using same REST call? If so how ? ...
0
votes
1answer
23 views

REST call “d/results” vs “value”

Can anyone explain why is it that when I make a REST call to retrieve items from a custom list, sometimes the items array is grouped under "d/results" path and sometimes "value" path. The results are ...
0
votes
1answer
33 views

Using REST to update list items - cannot set fields to null/blank or overwrite the ModifiedBy field

Using this resource: REST services in SPD2013, I was able to build a dictionary in order to update specific list items on demand. However, I cannot seem to find an acceptable way to set date fields ...