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

Best practice to implement paging in rest api for Get Items Endpoint

I currently managed to do it with /GetItems(query=@v1)?@v1=${query}&$expand=${expand}&$top=${pageSize}&$skip=${top} but looks like it is much slower slower (2minutes vs 20seconds) then ...
1
vote
0answers
12 views

requesting excel services rest from console application but the server returns error code 403 forbidden

I just want to access an excel document in SharePoint, which is possible through excel services. I've written the following code for that but still it is giving me error of 403 forbidden. My code: ...
0
votes
0answers
13 views

How can I enumerate an AD Group using REST or CSOM

Our organization has decided to use only AD Groups (against my recommendation to use a mix of AD and users in SP Groups). So now I'm trying to List members of an AD Group, and find out if the current ...
0
votes
0answers
22 views

REST API / People Search Results

In my people search results I am querying the REST api to get a link to each person's CV, which are all held in a single document library. I am returning the correct results, but rather than one CV ...
0
votes
1answer
19 views

Allow User to Read List Data Over REST Only

I have a list (used as a lookup) that I don't want users to be able to see or get access to any of the view pages to see the items in the list. I have a form on another site that populates a drop ...
0
votes
1answer
34 views

SharePoint 2010 file upload via REST api

I am developing application that access files on SharePoint 2010 via REST API I referenced this link, so I made it download and get metadata for documents. But, While I am trying upload file, I can'...
1
vote
3answers
36 views

Making async calls in for loop

I need the function addColumns(which has an async call in it) to be executed as many times as limited in the for loop ,and when the for loop is done then i want to call the function InitData. The ...
0
votes
1answer
18 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
15 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 ...
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 ...
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....
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
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
1answer
30 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
27 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&...
1
vote
1answer
35 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
52 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 ...
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 ...
1
vote
2answers
61 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 ...
10
votes
2answers
636 views

Which one is faster CSOM or JSOM

Understanding which one has better performance for performing CRUD operation in SharePoint List, CSOM or JSOM?
0
votes
1answer
34 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?
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 ...
0
votes
2answers
48 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
1answer
43 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
44 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
0answers
28 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://{...
0
votes
1answer
34 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 ...
1
vote
1answer
40 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
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 ...
0
votes
0answers
24 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 ...
0
votes
2answers
31 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
44 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
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
2answers
35 views

Pull data from particular subsite and show on root site

SharePoint online : I want to develop a portal where content will be in subsite (sub sites will be created based on country name). Now depending on the current logged in user country, data should be ...
0
votes
1answer
35 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 ...
0
votes
1answer
26 views

Need help with REST Query against Task List

Our O365 Site has come crawling to a snail's pace, after speaking with Microsoft Support they have told me the OOBE Web Parts are causing the speed issue and that I need to use CSOM or REST Queries to ...
1
vote
2answers
20 views

How to inherit permissions in SharePoint 2013 through Rest Api?

In Sharepoint 2013, there is a rest API to break permissions and add permissions to the object, but is there an rest Api to inherit permissions on the object again? Thanks
1
vote
1answer
22 views

Name property of Folder is blank when folder is created using REST API

I tried creating a Folder in a SharePoint 2013 library using REST API. I used the examples provided in Microsoft MSDN site using "folders" end point as well as "add" end point. Folder was created ...
1
vote
1answer
13 views

List not showing up on making REST call

I have a custom list that I am trying to get contents from a designer workflow. I am testing the link on the browser, but the list does not show up and instead throws "page not found" error when I try ...
3
votes
1answer
67 views

filtering rest api call by calculated column

I am not getting any results when I try to filter by a calculated column/field. The calculated field returns yes/no and it displays YESes and NOs in the view on browser. But when filtered for Yes or ...
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
20 views

How to get 1 specific site property in SharePoint 2013 REST api?

In SP2013, I want to get a specific property I made in sharepoint designer. If I use the url http://mysite/_api/web/AllProperties then I can get all properties including the one I want, but how can ...
1
vote
1answer
20 views

User Permissions Binary Representation Map

I'm trying to get user permissions using the REST API. At the moment, I can call an endpoint like this: _api/web/lists/getbytitle('Documents')/getusereffectivepermissions(@u)?@u=%27i%3A0%23.f%...
0
votes
0answers
24 views

Consistent way to create FieldLinks within content types using javascript

Word of caution: This question is related to question How to create ContentType with FieldLinks using REST but is more specific as we are looking to find a solution until (if?) MS brings the API ...
0
votes
1answer
35 views

SPFileCollection.Add REST endpoint

I am working on a project where I need to copy a document from one site to another site in Office365. I want to achieve this using SP designer workflows. I learn that I can use SPFileCollection.Add ...
1
vote
2answers
32 views

How can I populate a dropdown with a SP list?

I have a SP List with data that I need to be in a dropdown list. I also need these to have specific classes. I'm trying something like the following but having no luck: $().SPServices({ ...
0
votes
0answers
13 views

EnableAssignToEmail on List Creation via REST

I'm creating a task list using the REST API. This is what the beginning of the list's properties look like: "__metadata":{"type":"SP.List"},"AllowContentTypes":"true","BaseTemplate":171,"...
1
vote
1answer
65 views

Sharepoint REST call to get file by ID - GetFileById fail on 404

There are some files. when I'm trying to get their content by ID (GetFileById) I'm getting 404 Not found error. I'm getting the file unique id from the item properties and then trying to get the ...