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

while adding user to SP group I am getting error but the user is added when i am refreshing the group

I am facing this issue while trying to add users to SP group using REST and Jquery. While adding the user prompt comes asking for username and password, after I enter my credentials it does not ...
0
votes
0answers
6 views

Sharepoint list meta data and query all the meta data for the list item using REST

I am trying to programmatically download the sharepoint lists and list item content using REST api. Here is the approach I am taking. Get all the lists in sharepoint using lists end point _api/...
0
votes
1answer
14 views

How to post value in multiple user field via SharePoint REST API

I am new to SharePoint 2013 app develpoment, so I'm having trouble with some easy (I think it should be easy) REST Call. I got a list for issue tickets, which contains a user field column. In my SP ...
0
votes
1answer
22 views

Group query to get specific order

I use this query to populate my gallery: var queryGallery = "$select=Title,Description,Enlace,EncodedAbsUrl,Categoria/Title&$expand=Categoria/Title"; $.ajax({ url: url + "/_api/web/lists/...
0
votes
0answers
28 views

Update Multi Lookup Field in Document Library Using REST

I'm using below code to update multiple lookup fields of document library Code: var itemProperties = { '__metadata': { "type": "SP.Data.WP_x005f_DocumentsListItem" }, 'Technology_StackId': { "...
0
votes
1answer
31 views

Unauthorized Error using web api with REST in different site collection the add-in isn't deployed at

I'm trying to write a sharepoint 2013 add-in that reads certain list info from a bunch of site collections i get first and write into an array, however whenever i try to access any sitecollection but ...
0
votes
0answers
11 views

I cannot upload filename with special character in onedrive graph api [on hold]

I cannot upload filename with special character in onedrive graph api. Example eeee (756 bytes).txt
0
votes
0answers
7 views

Error from calculated field when updating document set immediately after creation using REST

BACKGROUND: I have created my own document set creation form as it's not really an option to customize within Designer. The route I use to create the document set is directly based off of Vadim's ...
0
votes
0answers
19 views

SharePoint 2013: What is the fastest way to retrieve all files and folders in a library with many items?

At first I used GetItems, but retrieving 5000 items was really slow even for indexed views. (around 2 minutes) Now I came back to use what I know retrieves them really fast (less then 10 seconds) - ...
1
vote
1answer
60 views

Is it possible to update Managed Metadata site column using REST API / SharePoint Web Service?

I am having a requirement where I need to update the Managed Metadata column value using REST API or SharePoint Web Service. I have gone through this and this and this post but this won't help me ...
2
votes
1answer
238 views

Get value from JSON from SharePoint REST [closed]

If I use below line, I get output='1'. data.d.results[i].ID; But instead of giving hardcoded ID, Is there any way to pass by variable? I already tried like: var array=["ID","Title"]; data.d....
1
vote
1answer
33 views

How can I list all document libraries under a site using REST API?

I am new to Sharepoint. I discovered that Sharepoint 2013 and later supports the REST interface. I was trying to query the REST API to find all the document libraries under a given site. I tried GET ...
1
vote
1answer
28 views

REST api postquery with SortList not working

I'm using jQuery ajax POST calls to query against my search index. That is working. I tried to add SortList following the documented model here which is basically adding the following to my query ...
0
votes
0answers
18 views

Search REST API and obtain a document's GUID?

Using the SharePoint REST API we can obtain a document's GUID, however the SharePoint Search REST API does not automatically provide a document's GUID. Is there a way to obtain the GUID of a document ...
1
vote
1answer
49 views

Update MetaData column for document library using REST C#

I am trying to update the Metadata information for a file in Document Library. I am following this article. The REST End point used in given article is var restSource = appweburl +"/_api/SP....
0
votes
0answers
16 views

REST search api working with the results

Working with this documentation and jQuery ajax to use the search features of the REST api. I'm making progress and it is starting to make some sense. I'm trying to figure out how to work with the ...
0
votes
0answers
10 views

REST API: Add item to SharePoint list with External Column

How can I add an item with a reference to an external list in SharePoint 2013?
0
votes
0answers
16 views

rest api delete folder deletes the desired folder, the document library and all sibling folders

This first call deleted the folderName AND the libraryPath and all folderName siblings (Everything in libraryPath) [...]_api/web/GetFolderByServerRelativeURL('#urlencodedformat(arguments.libraryPath)#...
1
vote
2answers
39 views

Has anyone uploaded files to sharepoint 2013, using REST, or other methods from a server.

I need some help with Server to Server upload. (not from the browser) Has anyone uploaded files to sharepoint 2013, using REST, or other methods from a server (java/coldfusion/other). I am getting a ...
1
vote
1answer
39 views

Effectivebasepermission: why 32?

Using REST API call, i am trying to get the list of available subsites for the current user, below is the endpoint uri used /_api/web/Webs$select=Title,URL,effectivebasepermissions&$filter=...
0
votes
1answer
43 views

How to create a Rest wcf service on SharePoint?

I'm trying to make a WCF Rest service inside SharePoint. but it doesn't work and I get 404 :( I set the svc file like that <%@ ServiceHost Language="C#" Debug="true" Service="MyNamespace....
1
vote
1answer
118 views

Retrieve list items in subsite using REST

I have a site called Testing. I want to retrieve list items from a list in one of the subsites using REST API. How can this be done?
0
votes
0answers
14 views

SP2010 Add/Update multi-select lookup column REST

I have a list named CAG_QUESTION with a multi select lookup column to a list named CAG_REFERENCES. I have been unable to get an update to work that includes the lookup column. I thought I needed to ...
1
vote
1answer
33 views

Sharepoint REST query - All files with last modified time greater than

I am trying to get all the files including in the subfolders that have last modified time greater than a given timestamp. The one thing I figured is that to get all files and subfolders, I need to ...
0
votes
2answers
54 views

filter ListView using RestApi in sharepoint APP

Please let me know is there any way to filter list inside listview using restapi Example: TestList And below is my custom search:(currently it is configured on Title field) Now after filter(Title=...
0
votes
0answers
10 views

Adding fields to a document set welcome page, using REST - SharePoint Online

I'm trying to add fields to the welcome page in a document set. I've tried using PnP, but there's a bug in the command Set-SPODocumentSetField -Field "Test Field" -DocumentSet "Test Document Set" -...
1
vote
2answers
35 views

Check whether List/Libray exists using REST API

I have a requirement where I need to verify whether the list/library with given name already exists or not. I am implementing REST API Calls from C# so this post does not help me as I am not getting ...
1
vote
1answer
26 views

$expand a property that is inside a folder

I have 2 lists, ParentList and ChildList. The items in ParentList are in folders. Child list has a lookup field pointing to an item in ParentList. When I attempt to run the following query: /...
0
votes
1answer
25 views

REST API to filter Document Library based on people and groups column

I have custom document library with a people and groups columns.So,whenever user upload a doc in library,manual they will specify any SharePoint group name in the people and group column.Now i would ...
-1
votes
0answers
31 views

Get Office 365 Contacts in visual webpart (ASP.NET/C#)

I want to retrieve Office 365 Contacts details (FirstName, LastName, Email... etc) and display it in custom webpart in SharePoint online. After google search i found following msdn articles, ...
1
vote
1answer
71 views

Choice field values returning as string with “\n”. How to get collection?

While parsing data returned from REST, the Choice field values are returning as Edm.string with "\n". I want the results in collection(Edm.string). Current result : {"__metadata": {"type":"...
1
vote
1answer
46 views

How to Save Manged Metadata value in List using JSOM or REST…?

As i have understand it by googling a litle, that its not posible to use REST for Taxonomy fields ? I was not able to update my list doing it by http REST . But it should be posible with JSOM. How ...
3
votes
0answers
39 views

SharePoint Designer Get an Excel Value (REST)

I have the following problem: I want to get the values of excel cells with the REST Api and in SharePoint Designer 2013. So to do this I created a workflow with the "Call HTTP web service" action. But ...
1
vote
0answers
37 views

Upload multiple files with REST API in document library with custom properties

I am trying to upload multiple documents to the document library, I followed the answer posted on this link, I am able to upload the documents but I have some custom columns in the library, please ...
0
votes
0answers
27 views

REST api error in SharePoint App [duplicate]

I need to create new item to list.. $.ajax({ url: appWebUrl + "/_api/SP.AppContextSite(@target)" + "/web/lists/getbytitle('NewList')/items?" + "@target='" + hostWebUrl + "'", method: "...
0
votes
3answers
36 views

REST API : fetch the listitem details using it's url

I need to fetch the listitem details using it's url with REST API. The list item url is like : http://<webappname>/Sites/<sitecollection name>/en-US/Pages/TVM3.aspx I want to fetch the ...
1
vote
2answers
59 views

REST API page validation error for SharePoint app

I need to do insert operation to SharePoint list. Below is my code.. $.ajax({ url: appWebUrl + "/_api/SP.AppContextSite(@target)" + "/web/lists/getbytitle('NewList')/items?" + "@target='" + ...
0
votes
1answer
34 views

Create File using SharePoint REST API call But It couldn't edit or view

url: http://site url/_api/web/GetFolderByServerRelativeUrl('/Document')/Files/add(url='abc.docx',overwrite=true), method: POST, body: "This is my doc", Headers: Authorization: "Bearer " + ...
1
vote
1answer
45 views

SharePoint 2013 REST API $expand issues

I'm new to using the SP API's and I am having an issue getting the required result using $expand on list lookup columns. I have 3 lists named ProjectList, SiteList, RegionList with relating lookup's ...
0
votes
0answers
35 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} I tried using skiptoken instead of skip but no skiptoken result is ...
1
vote
0answers
30 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
17 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
35 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
25 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
43 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
4answers
53 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
35 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
23 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 ...
1
vote
0answers
18 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
106 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....