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)

1
vote
2answers
16 views

How to update List item with Managed Metadata column using REST or JSOM

How can i update List item with Managed Metadata column using REST or JSOM? Any good sample or suggestion will be appriciated....
0
votes
1answer
226 views

Remote authentication using REST

I am trying to access SharePoint online using REST API's remotely. Office 365 Smart links are enabled for the site. As per this blog I don't receive wsse\\:BinarySecurityToken in the response. My code ...
0
votes
2answers
38 views

Null Lookup column getting from REST API with Expand it give no key for expanded column

I am using REST API to for getting data from SharePoint. I have one list like category with three column Title and two lookup name like childcategory, parentcategory. I have some data in which there ...
0
votes
0answers
26 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 ...
-2
votes
1answer
33 views

SharePointREST API unread/mention count

I like to retrieve unread/mention count using REST API but I do not know how to begin? Can anyone tell me how should I begin and do I need any credential when consuming the REST service?
0
votes
0answers
9 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
24 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
0answers
30 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
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
1answer
32 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 ...
1
vote
1answer
831 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
0answers
11 views

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

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 ...
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 "...
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 ...
1
vote
2answers
42 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 ...
0
votes
1answer
851 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
1answer
45 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
2k views

SharePoint 2013 REST API: how to get or set document fields

I want to get and also set document properties defined in a content type via a Rest call in either and app or a workflow Activity. If you fire up Google Postman or Advanced REST Api client you can ...
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 ...
1
vote
1answer
914 views

Authentication using Sharepoint Online REST API to create Task for Organizational Site

I have a Office 365 Organizational SharePoint Online Account. I want to Add Few Tasks in one of the list programmatically. I saw options of using JavaScript API or hitting the REST URL's https://...
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) - ...
2
votes
1answer
240 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....
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
65 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
855 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 ...
1
vote
1answer
50 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....
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 ...
2
votes
1answer
804 views

REST api to get the value of richhtml field without tags

I'm trying to get a field named Content from list which is of type RichHtml. When I try to get this using REST api call, I'm getting the content the html tags. How can I get the value only from this ...
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
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)#...
2
votes
3answers
1k views

How to create a folder in Sharepoint using Java and RESTFul API?

This is my Sharepoint site http://sp2k13/sites/ifsp/ and I would like to create a folder using Sharepoint RESTFul API with Java. I have already gone through Working with folders and files with REST ...
0
votes
2answers
99 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 ...
0
votes
0answers
17 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 ...
10
votes
4answers
23k views

REST API filter by start and end dates using 'today'

I'm new to filtering dates with REST in SP but am trying to do something like below but am not sure how to get today's date in as a variable into the request. I don't think I'm too far off so any help ...
2
votes
1answer
2k 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
0answers
20 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 ...
2
votes
4answers
4k 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 ...
0
votes
1answer
36 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
2answers
250 views

Getting all sub-sites using rest

I have tried the below code for getting all sub-sites using rest... <script src="http://code.jquery.com/jquery-2.1.4.min.js"></script> <script> ExecuteOrDelayUntilScriptLoaded(...
0
votes
1answer
762 views

Update metadata column using Java REST

As I understand, you have to make a 3 steps to update the metadata on the file. I have uploaded a file to my document library using POST and after that made a GET and took out the metadata i need to ...
0
votes
0answers
11 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?
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=...
1
vote
1answer
671 views

RoleAssignments with REST API and oAuth

I'm attempting to use the REST API to migrate files from our users' personal sharepoint sites (e.g. http://organization-my.sharepoint.com/personal/bob@organization.onmicrosoft.com). The account which ...
9
votes
5answers
11k views

Query SP2013 Managed metadata term store

I was wondering if it is possible to query the Term Store via the REST API or Javascript Client Object Model in SP2013. I can't quite seem to work out the naming scheme for the REST API to discover ...
1
vote
1answer
119 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
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
15 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
2k views

Office 365 SharePoint Online 2013 REST with SoapUI

Im trying to run Office 365 SharePoint Online REST API calls. I get an error message: <m:error xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata"> <m:code>-...