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
31 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
36 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
28 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
50 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
58 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
14 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
84 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 ...
11
votes
2answers
688 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
40 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
52 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
2answers
91 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
59 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
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
36 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
22 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
12 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
50 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
27 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
36 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
40 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
52 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
34 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
42 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
38 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
30 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
22 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
28 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
91 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
33 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
24 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
21 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
29 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
40 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
33 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
17 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
75 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 ...
1
vote
0answers
35 views

URL Length restriction on GetFileByServerRelativeUrl

I'm trying to get file by using GetFileByServerRelativeUrl and getting the url length restriction error. In some posts I see that people recommend to use this call with parameter , like this : https:/...
0
votes
2answers
44 views

Is there any way to overcome URL length limitation in REST API “GET” Requests?

Is there any way to overcome the 2083 characters limit using REST API GET request itself.
1
vote
1answer
32 views

How to save current login name to SharePoint people and group column using angularjs?

Add.js $scope.addEntity = function (entity, $event) { entity.dateString = $("#dpFrom").val(); entity.ExpDateString = $("#dpTo").val(); if (entity && ...
0
votes
1answer
32 views

numeric column/field received through API call always gets saved as 0 to designer workflow variable

When I retrieve an O365 site's list's items in the designer workflow (2013) using rest api call, the Number type columns always get set to local integer variables as zeros. I have inspected the ...
0
votes
1answer
37 views

REST returning [object Object]

I converted a CAML query to REST and one of the fields that displayed the data using CAML now appears as [object Object] when using REST. Why and how to correct. Thanks
0
votes
1answer
20 views

How to Parse GetMyProperties REST Response

This is what the pre-parsed data looks like in the console after querying http://mysharepointsite/_api/SP.UserProfiles.PeopleManager/GetMyProperties?$select=Department : I am trying to get the ...
0
votes
1answer
41 views

Need help using SEARCH REST API

Im currently trying to build a SharePoint Add-in that tells you who's birthday it is on the current date. I would like to use the SharePoint search api for this but im struggling with an issue. ...
3
votes
1answer
59 views

Retrieve Images Not Working Via REST API

I am trying to retrieve Images using the REST API from iOS/Android. The issue I’m running into is when the images are stored in the /sites/siteName directory, the REST call does not work. Let me ...
0
votes
2answers
49 views

Upload document to SharePoint from External Application

I have an external application where we want to show a upload form where documents uploaded should go in SharePoint Document library in the backend. Is there any REST api that can do this job for us? ...
1
vote
3answers
104 views

Tool to inspect json data returned from REST API call to Sharepoint online/Office365 Sites

What tool should I be using to inspect the JSON data returned as a result of making a rest api call to the sharepoint online or Office365 site. The browsers return xml and I am having issues using ...
0
votes
0answers
17 views

JSOM / REST Modify Field EntityPropertyName

I can't figure out how to modify a SPFieldEntityPropertyName, perhaps it be unachievable using just SharePoint javascript API. JSOM context.web.get_fields() setter methods are: Note: I think ...