Skip to main content

Questions tagged [api]

Application Programming Interface (API) is a set of functions and procedures allowing the creation of applications that access the features or data of an operating system, application, or other service. When used as a question tag, please be sure to describe in your question which APIs are being used.

Filter by
Sorted by
Tagged with
0 votes
1 answer
1k views

How to merge and bind the results of two different "listdata.svc" calls to a jquery Datatable (datatable.js)

I have to query two different document libraries with some metadata columns and show the results in single grid. Both the document libraries have identical columns. I am using Datatable.js for ...
Amit Tyagi's user avatar
0 votes
1 answer
67 views

Pull metadata about all documents in all subsites

ok so what im looking for is to get metadata about every single document from a site down including all subsites. I'm new to sharepoint and am finding it rather confusing. I have found several ...
ProperPenguin's user avatar
1 vote
1 answer
355 views

SP2010 API: How to insert data into list with folders

I have used SPServices for a long time, both creating, deleting and getting list items from my sharepoint sites. Now I got a new site, and in this site the previous developer has created lists with ...
Anders Gerner's user avatar
0 votes
2 answers
606 views

Get items publishing status and validity via search api

I am trying to receive items via the SharePoint 2016 REST Search API, which works pretty good. However as I have some people with the permissions to view unpublished items or items which have expired, ...
kekub's user avatar
  • 187
1 vote
1 answer
57 views

How to access a Sharepoint's API on LogicApps?

I'm trying to connect to Sharepoint's API. So when I create an account on CRM I need , with LogicApps, access a sharepoint site and create a Group. When i am testing the api access on Postman I have ...
Sara Freitas's user avatar
1 vote
1 answer
931 views

AJAX Rest get currency format

I have a 'Price' column of type Currency, but the data in the returned ajax object is just a number. Is the currency format somehow available? Returned data .... Modified:"2017-01-20T14:50:42Z" ...
JJD's user avatar
  • 493
0 votes
1 answer
262 views

sharepoint rest api file upload works when I have console open and breakpoints enabled

This is strange, but this is my current scenario I am using this script and HTML <script> 'use strict'; jQuery(document).ready(function () { // Check for FileReader API (...
Vignesh Subramanian's user avatar
0 votes
2 answers
681 views

Inserting multiple AssignedTo in a task list

I'm trying to insert a new task in a standard SharePoint task list, this is my item: var item = { Title: taskTitle + " - " + subSiteName , ProjectId: projectID, AssignedToId: {'results': ...
Dave van Klink's user avatar
-1 votes
2 answers
2k views

Fetching external data into SharePoint online sites

Is it possible to get data from external sources into SharePoint online sites? I suppose rest API's is an option, but how can that be done? Any suggestions would be much appreciated.
mohd tahir's user avatar
  • 2,416
0 votes
1 answer
591 views

you don't have authorization to view this page

I can't open web services link in SharePoint Getting this error when open http://site/_vti_bin you don't have authorization to view this page If someone can help me. I will be appreciated
Sophie Douglas's user avatar
4 votes
1 answer
1k views

Insert item in an external list via REST API

I'm trying to insert an item in an external list (a SQL server table linked to SP through BCS) via javascript...i thought it was simple but... this is the function for insert this.insertListItem = ...
teoooo78's user avatar
0 votes
2 answers
4k views

Sharepoint 2013: simple api call not working

[site name]_api/web/lists/GetByTitle(‘ListName’)/items So why does this not work? All the examples I see indicate that it should work. <m:error xmlns:m="http://schemas.microsoft.com/ado/2007/08/...
MaxK-2773298's user avatar
0 votes
1 answer
2k views

Sharepoint PHP File Upload

I'm new to Sharepoint integration. I'm hoping to get some answers and direction for the script. The current process requires an XML file to be uploaded into a library, from a separate website. My ...
Mark's user avatar
  • 1
6 votes
1 answer
2k views

Using REST when colon appears in column name

I have a columns named 'Image:Thumbnail' and 'Image:Picture'. I am trying to refer to these columns using the REST API. I have tried using '_x003a_' (as in 'Image_x003a_Thumbnail') instead of the ...
Jason James's user avatar
2 votes
1 answer
1k views

Weather App Part for SharePoint Online

I need to implement weather widget on my SharePoint Online portal. Below are my basic requirement. • Each user of the portal tagged to specific location worldwide. Every time user logged into ...
Pratik Shah's user avatar
1 vote
0 answers
167 views

SharePoint 2016 compatibility

Does anyone know the link to API or document for API in SharePoint 2016? We are currently using '.Net client API' for SharePoint 2013 and want to check if the methods used from it will still be ...
user60704's user avatar
1 vote
3 answers
878 views

How to create a Request Http "GET" to url

I want to make a request http Webservice API to https://sms.vietguys.biz/api/u=[user]&pwd=[password]&from=[Title]&phone=[phonenumber]&sms=[ContentSMS] using javascript. Can I do ...
Văn Trịnh's user avatar
1 vote
0 answers
70 views

SharePoint Online/365 with SAP API [closed]

Has anyone pulled data into SharePoint Online (365) from SAP using an API? Any recommendations on where to start, what to think about, and what to watch out for? Any tips appreciated!
dikuw's user avatar
  • 502
1 vote
1 answer
642 views

REST - Get expanded property data for use in angular

I am trying to figure out how to get the expanded property data and be able to use that data in my angular code. REST call to get expanded property Data: /_api/Web/GetFolderByServerRelativeUrl('...
dbrown's user avatar
  • 35
3 votes
1 answer
7k views

Get file data from REST

I am trying to find a way to combine two rest calls so that it gives me the correct files as well as the relevant data. This call gives me the correct data /_api/Lists/GetByTitle('Pages')/Items?$...
user60584's user avatar
2 votes
1 answer
444 views

Was -NoADLookup Removed from New-SPOMigrationPackage?

In the SharePoint migration API, you use the SharePoint Online Management Console, in 2015-June they added the -NoADLookup parameter to the New-SPOMigrationPackage command. It appears as though the ...
Aboba's user avatar
  • 725
0 votes
1 answer
193 views

SPD 2013 REST API: Passing multiple type properties in metadata for creating a list item

how can I define two type properties in one __metadata then pass them in one rest call (post) in designer? For example, how can I pass SP.Data.ProjectPolicyItemListItem and SP.FieldUrlValue in one ...
davjaq's user avatar
  • 41
0 votes
1 answer
3k views

Interpret Search with refiners url query string

After the defult search web part with refiners is loaded, i need to execute the same query in a second moment. I have a complex url to interpret (decoded yet), like this: ...#/Default={"k":"b*","r"...
nlllrt9's user avatar
2 votes
0 answers
237 views

Add .aspx file via REST

I'm able to add a .txt file to my Sharepoint library by posting to this URL: https://my_subdomain.sharepoint.com/sites/my_path/_api/web/GetFolderByServerRelativeUrl('/sites/my_path/Pages')/Files/add(...
Gregor's user avatar
  • 121
4 votes
1 answer
3k views

SOAP API to get site Collection Users

How can I get list of all users present in the SharePoint Site collection using SOAP API. Is that possible? Please suggest something. Because I have to use that URL in InfoPath form.
Akshay Dattatray Nangare's user avatar
2 votes
0 answers
631 views

SharePoint Online : Using REST API for getting list items return null

I am trying to create a Sharepoint hosted add-ins to get data list items. My code are below var hostweburl; var appweburl; //The SharePoint site where the App is installed hostweburl = ...
Intan's user avatar
  • 371
1 vote
1 answer
3k views

Problem with workflow REST

I seem to be having a problem making a rest call to create a list or add a user to a SharePoint group. Both give me the same error - Response: {"error":{"code":"-1, Microsoft.SharePoint.Client....
Nick9one1's user avatar
5 votes
3 answers
3k views

$batch operations on SharePoint 2013 on-premise not working

I need to do bulk inserts and learned that there is the $batch operation in the REST API. https://msdn.microsoft.com/en-us/library/office/dn903506.aspx I read through this and following and explored ...
Jens's user avatar
  • 131
3 votes
2 answers
14k views

SharePoint throttling: Receiving a 429 without any details

In an application I'm working, from time to time I see throttling related errors. In some cases I get a 429 error, like this: 429 TOO MANY REQUESTS. However, I also get errors, with only the HTTP ...
Haris Osmanagić's user avatar
1 vote
1 answer
6k 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 ...
Jay T.'s user avatar
  • 23
2 votes
2 answers
1k views

Upload files with REST or alternatives

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 ...
user3005033's user avatar
1 vote
1 answer
5k 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 ...
V-K's user avatar
  • 21
1 vote
1 answer
307 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 " + ...
thulasika Vijayanathan's user avatar
1 vote
1 answer
1k 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 ...
vikingrs6's user avatar
0 votes
1 answer
4k 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'...
Jehyun Shim's user avatar
2 votes
0 answers
194 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 ...
prog_24's user avatar
  • 211
1 vote
1 answer
149 views

what is different between office 365 SharePoint and SharePoint on-premise? (using API)

I want to develop application that can access SharePoint on-premise server and download files from that server. I already developed JAVA application using REST API of Office 365 SharePoint. so what ...
Jehyun Shim's user avatar
2 votes
1 answer
1k views

Records Management CSOM API in SharePoint 2016

Does anyone know if with SharePoint 2016 (online) we finally get a CSOM interface to the records management functions?
Juergen Riemer's user avatar
1 vote
2 answers
9k 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.
Vishnu PS's user avatar
  • 467
0 votes
1 answer
833 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 ...
Bassie's user avatar
  • 676
0 votes
1 answer
418 views

"Create Translation Package" via API?

On multilingual SharePoint websites you can export/import the content with XLIFF files. Is this functionality somehow available via the API? Multi-language website background here: Create a multi-...
Remy's user avatar
  • 101
0 votes
1 answer
945 views

Filtering REST query by multiple boolean conditions

I am trying convert this pseudo sql query to search api SELECT * FROM Sites WHERE Path IN ("www.xyz.xx","www.zys.xx") AND Type = "STS_Web" Basically I just want to return info about sites by given ...
user1075940's user avatar
0 votes
1 answer
69 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.
fcb1900's user avatar
  • 101
0 votes
1 answer
2k views

How to create multiple fields with their datatypes using REST API?

According to MSDN, we can create field like below.. $.ajax({ url: "http://<site url>/_api/web/lists(guid'da58632f-faf0-4a78-8219-99c307747741') /fields", type: "POST", data: "{ '...
swati patil's user avatar
0 votes
1 answer
1k views

Adding blog post item category with REST API Sharepoint 2013

I want to insert a billet item list with related category ID in REST API Sharepoint. I proceeded as follows: POST /_api/lists/getbytitle('Billets')/items { "__metadata": { "type": "SP.Data....
barbuslex's user avatar
  • 131
0 votes
1 answer
396 views

SharePoint Rest API Problem

I am using Rest API in an a web application using JavaScript, JQuery, and HTML and I'm having issues with pulling phone numbers. I have 3 phone number fields and they all show similar to this <d:...
user1330008's user avatar
2 votes
1 answer
2k views

Execute crud operations using rest api outside SharePoint by .NET

I need to do CRUD operations on SharePoint online lists (intranet) using REST api from a standalone Asp.Net application which is hosted completely outside office 365 (on on-premise). I know that it ...
Medes's user avatar
  • 2,086
0 votes
6 answers
12k views

Searching Users in AD through REST in sharepoint?

Any ideas on trying to find/search users by id in Sharepoint by a REST query? At the moment I am playing around with the clientside people picker to search for users https://msdn.microsoft.com/en-us/...
user2677821's user avatar
1 vote
1 answer
1k views

REST API return encoded Multiline Textfield but show it correctly

I save a JSON string in my SharePoint list. This looks like: {"columns":[{"name":"A","visible":true,"width":200,"sort":{},"filters":[{}],"pinned":"left"},{"name":"B","visible":false,"width":150,"sort"...
Patrick's user avatar
  • 111
0 votes
1 answer
477 views

SharePoint Online - Profile Properties Update API - Operation is not valid due to the current state of the object

I'm trying to run the Bulk UPA Custom Profile Properties Update API for SharePoint Online on our SharePoint Online tenant. This one: http://dev.office.com/blogs/introducing-bulk-upa-custom-profile-...
AndyF's user avatar
  • 1