Questions tagged [api]

The tag has no usage guidance.

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

Fetch User Details from Person Or Group Field Using REST API

I was trying to retrieve user WorkPhone from a people and group field but its throwing error saying The query to field 'Application/WorkPhone' is not valid. But I tried the same query for the ...
0
votes
2answers
54 views

SharePoint: No Trials?

I was speaking to a someone when I had questions about developing SharePoint integration for the product the company I work for, and got a quote for nearly $800. The company isn't using the SharePoint ...
0
votes
1answer
26 views

Custom List Accordian Narrative editable

I am looking to enable the Narrative porition of this code to be editable. <!-- Style --> <style type="text/css"> .item-title-clickable{ font-size:1.1em; background-color: #c7e0f4;...
0
votes
1answer
309 views

fetching fields using Sharepoint search Api

I have a content type called News Item Below is my Search Api query http://spsite/sites/Intranet/_api/search/query?querytext='ContentType:News*'&selectproperties='Title,IsPromoted' I am trying ...
0
votes
1answer
48 views

Is it possible to have the user's name included in responses from the Yammer messages API?

When making requests to the Yammer API and returning messages from a feed, the only information about the poster is their ID. Is it possible to have other information about the user included as well? ...
0
votes
1answer
862 views

Use REST API to like or rate a SharePoint List Item

i would like to rate items via rest API. and i would like get user specific ratings. so if the user rated an item with 5 stars i want to see 5 stars somewhere in XML from rest API. By default i ...
0
votes
1answer
27 views

Document library api data for a concrete view

Can I get the data (folders and files) from a Concrete View? For example: /sites/testSite/test/_api/web/lists/getByTitle('Document%20Library')/items
0
votes
1answer
28 views

Client Object Model Question

I am working on a SharePoint site, and I want to parse the owner of the site from the API. I am currently using the following code: var credentials = new SharePointOnlineCredentials(userName, ...
0
votes
1answer
553 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 ...
0
votes
1answer
50 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 ...
0
votes
1answer
179 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 (...
0
votes
2answers
389 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': ...
0
votes
2answers
3k 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/...
0
votes
2answers
1k 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 ...
0
votes
1answer
3k 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'...
0
votes
1answer
265 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-...
0
votes
1answer
52 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.
0
votes
1answer
1k 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: "{ '...
0
votes
1answer
861 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....
0
votes
1answer
276 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:...
0
votes
1answer
693 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"...
0
votes
1answer
298 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-...
0
votes
1answer
361 views

Document Management Model API

Sharepoint has a Document Management Programming Model. From what I understand, this is used to create a document management environment and will allow users to access, share and add/edit documents ...
0
votes
1answer
171 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 ...
-1
votes
2answers
936 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.