Query listitems by view through REST api

I've created a custom view, and I want to access the list items based on this view through REST api.
I've tried .../_api/web/lists(listguid)/view(viewguid)/items, but it seems not working.
Is it possible, any ideas?
Thanks,
Laszlo

Hi,
Unfortunately, it is not possible to grab a list view via REST.  You can get the syntax for what you can grab for a list with REST by typing something like this into your browser and viewing the page source:
https://domain/sites/sitename/_api/web/lists(guid'4065067c-e4b8-46d5-a433-76b27f508d1d')
Simply view the source of this page once you have logged into your SharePoint site.  You will see all the possible href values you can use based on your list guid (obviously you'll have to change the values above to match your data). 
What you can do with REST is to use certain parameters to filter your list (similar to how OOTB list views do).  Check out these pages with some examples of what I mean:
http://msdn.microsoft.com/en-us/magazine/dn198245.aspx  (Scroll down to Advanced Operations where they talk about $select, $filter, etc.).
http://msdn.microsoft.com/en-us/library/jj164022.aspx
Hope this helps,
~ Katie

Similar Messages

  • Pass Parameter Through REST API into PivotChart in Excel Services 2013

    Is it possible to pass a parameter through the REST API into the filter of a PivotChart and return a filtered view of the chart?  I've figured it out mechanically, and can pass the parameter in - but the chart doesn't refresh with the new filter.
    For the record, I've looked at all of the online documentation on passing parameters and you'll note those all depict passing parameters into a table - not a PivotTable.
    Curious if Excel Services 2013 has made any progress in that regard.
    Thanks in advance...
    Andrew Lavinsky [MVP] Blog: http://azlav.umtblog.com Twitter: @alavinsky

    Obviously it's not working for pivot tables/charts. Just found this in the SharePoint logs:
    04/06/2014 22:21:36.01 w3wp.exe (0x0920)                      
    0x1428
    Excel Services Application     Excel Calculation Services    
    d64g Medium  
    UserOperation.Dispose: Disposing Microsoft.Office.Excel.Server.CalculationServer.Operations.RestChartPngOperation, WebMethod: ProcessRestRequest.
    09ae849c-bf78-50fd-d9b9-915fd27bf5e1
    04/06/2014 22:21:36.01 w3wp.exe (0x0920)                      
    0x1428
    Excel Services Application     Excel Calculation Services    
    ecc4 Medium  
    ExcelServiceBase.EndProcessOperation: Found an exception on the AsyncResult of an operation which has not been departed from. Exception is Microsoft.Office.Excel.Server.CalculationServer.ExcelServiceBase+EcsFaultException:
    Cannot change cells in a PivotTable report. (Fault Detail is equal to Microsoft.Office.Excel.Server.ExcelServerMessage).
    09ae849c-bf78-50fd-d9b9-915fd27bf5e1
    Disappointing...

  • Accessing Iteration Dates through REST API

    How should I go about getting the start and end dates for an iteration through the API?
    If I attempt to access the iteration directly (using the URL retrieved by /_apis/wit/classificationnodes/iterations/{parent}&$depth=2) I receive a 'Node ID is not recognized' error:
    "$id": "1",
    "innerException": null,
    "message": "TF51541: The Node ID is not recognized.",
    "typeName": "Microsoft.TeamFoundation.WorkItemTracking.Server.Metadata.WorkItemTrackingTreeNodeNotFoundException, Microsoft.TeamFoundation.WorkItemTracking.Server, Version=14.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a",
    "typeKey": "WorkItemTrackingTreeNodeNotFoundException",
    "errorCode": 0,
    "eventId": 3200
    Is there another mechanism for getting this data?

    Hi Steve,
    Thanks for your post.
    We can get the Iteration using general TFS API, it also works with VSO, please refer to the replies in this post:https://social.msdn.microsoft.com/Forums/en-US/6e6a8c5a-bb2a-4b51-9a43-df3c06448f1b/get-sprint-details-from-tfs?forum=tfsgeneral
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • How to request multi-machine blueprint information through rest api.

    We are building a portal in front of vRealize (don't ask me why) and I need to dynamically create multi-machine json files to request catalog items.
    If I connect through the api I can request the Blueprint details but not the additional blueprints it makes use of.
    Does anyone know how to request these additional information out of the rest api catalog?
    Thx in advance.

    The following method, unlike those above, will work. It requires you to know the MIME type of the binary file you wish to upload. This example uploads a PDF document.
    uploader.cfm
    <cfset restInitApplication(expandPath("."))>
    <cfhttp url="http://localhost:8500/rest/myRestApp/myService" method="post">
        <cfhttpparam file="C:\temp\testDoc.pdf" mimetype="application/pdf" name="myFile" type="file">
    </cfhttp>
    service.cfc
    <cfcomponent rest="true" restpath="/myService">
    <cffunction name="getFile" access="remote" httpMethod="POST" returntype="string">
    <cffile action="upload" accept="application/pdf" filefield="myFile" nameconflict="overwrite" destination="C:\Users\BKBK\Desktop\testFile.pdf">
    <cfreturn "File uploaded!">
    </cffunction>
    </cfcomponent>

  • How to Send pdf from Salesforce to Echosign through REST API?

    I'm trying to send PDF generated from Visualforce page and through Apex REST I'm trying to invoke Echosign REST API. But while invoking "/transientDocument" URL, it says Unsupported content type. Any help on how to construct multipart/form-data in Salesforce?

    I'm afraid it's a bit beyond me, but why not use the ready-made Echosign for Salesforce application you can download from the app exchange?

  • Data Centers URL through Rest API

    Hi All,
    Below is the set of question:
    Is hitting the API https://login.eloqua.com/id is the only way to get the endpoint specific to User?
    Does the endpoint remains same every time or it changes?
    Suppose I have purchased the license. The license is valid for 10 user. Do the endpoints will differ for the 10 users?
    Awaiting your response.
    Thanks in advance.
    Regards
    Brajmohan

    Hi,
    According to your description, you want to delete a group in Yammer using the REST API endpoint of Yammer.
    As it is more relate to Yammer development, it would be more appropriate to ask for help in the corresponding forum, you will get more help and confirmed answers there:
    http://community.office365.com/en-us/w/yammer/default.aspx
    Thanks
    Best Regards
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • Delete Yammer Group through REST API

    Hi All,
    Is there any REST API from yammer which enables us to delete Yammer groups. We would just have to pass groupid(s) to the rest api url and my yammer groups should get deleted.
    I tried googling but could not find any. except these: https://www.yammer.com/api/v1/group_memberships.json?group_id=:4309911 which just deletes user from a group. Is there any rest api to delete the group itself ?
    Thanks in advance.
    Regards,
    Subhash S.

    Hi,
    According to your description, you want to delete a group in Yammer using the REST API endpoint of Yammer.
    As it is more relate to Yammer development, it would be more appropriate to ask for help in the corresponding forum, you will get more help and confirmed answers there:
    http://community.office365.com/en-us/w/yammer/default.aspx
    Thanks
    Best Regards
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • Mapping and querying Custom Objects for a Contact with REST Api

    Hello All,
    We are hoping to get some details on managing DataCard set through REST APIs. Our implementation goal is to create Contacts and add Custom object for each Contact, or to be precise, add a DataCard Set for each Contact.
    At the moment, to associate a DataCard Set (or Custom Object) to an existing contact, we are supplying following custom object fields during creation of Custom Object:
    new CustomObjectField 
                                                                    name = "MappedEntityType",
                                                                    dataType = Enum.GetName(typeof(DataType), DataType.numeric),
                                                                    type = "CustomObjectField",
                                                                    defaultValue = "0"
                                                             new CustomObjectField
                                                                    name = "MappedEntityID",
                                                                    dataType = Enum.GetName(typeof(DataType), DataType.numeric),
                                                                    type = "CustomObjectField",
                                                                    defaultValue = "<ContactId>"
    Is this the correct approach? This is Based on the information provided here: http://topliners.eloqua.com/community/code_it/blog/2012/05/31/eloqua-api-how-to-mapping-a-data-card-to-an-entity.
    Would the REST API allow us to query the CustomObjects using the MappedEntityId value for later updates? If so, any pointers on how we approach that?
    Thanks in ad.

    Either the MappedEntityID field is not available or I do it wrong, Eloqua is ignoring the field and does not map the custom record with the unique Contact ID
    {"type":"CustomObjectData","ContactID":"8829509","fieldValues":[{"id":"195","value":"[email protected]"},{"id":"220","value":"a0KJ000000387QvMAI"},{"id":"191","value":"001J000001OrL77IAF"},{"id":"193","value":"NowTV MPP"},{"id":"194","value":"8829509"},{"id":"196","value":"Andreas"},{"id":"197","value":"Wolf"},{"id":"198","value":"003J00000145lkBIAQ"},{"id":"210","value":"777666555"},{"id":"199","value":"gbp"},{"id":"200","value":"0"},{"id":"215","value":"0"},{"id":"201","value":"999111999"},{"id":"214","value":"111111"},{"id":"202","value":"222222"},{"id":"204","value":"now"},{"id":"203","value":"xmas"},{"id":"205","value":"no description"},{"id":"206","value":"test"},{"id":"218","value":"holidays"},{"id":"219","value":"PPV-0878545"},{"id":"213","value":"N"},{"id":"212","value":"myself"},{"id":"209","value":"now tv"},{"id":"192","value":"1417542120"},{"id":"207","value":"1417542120"},{"id":"216","value":"1417542240"},{"id":"217","value":"1417542240"},{"id":"211","value":"1417542240"}]},"MappedEntityID":"003J00000145lkBIAQ"}
    Response
    DEBUG|Response------{"type":"CustomObjectData","id":"81720","fieldValues":[{"id":"195","value":"[email protected]"},{"id":"220","value":"a0KJ000000387QvMAI"},{"id":"191","value":"001J000001OrL77IAF"},{"id":"193","value":"NowTV MPP"},{"id":"194","value":"8829509"},{"id":"196","value":"Andreas"},{"id":"197","value":"Wolf"},{"id":"198","value":"003J00000145lkBIAQ"},{"id":"210","value":"777666555"},{"id":"199","value":"gbp"},{"id":"200","value":"0"},{"id":"215","value":"0"},{"id":"201","value":"999111999"},{"id":"214","value":"111111"},{"id":"202","value":"222222"},{"id":"204","value":"now"},{"id":"203","value":"xmas"},{"id":"205","value":"no description"},{"id":"206","value":"test"},{"id":"218","value":"holidays"},{"id":"219","value":"PPV-0878545"},{"id":"213","value":"N"},{"id":"212","value":"myself"},{"id":"209","value":"now tv"},{"id":"192","value":"1417542120"},{"id":"207","value":"1417542120"},{"id":"216","value":"1417542240"},{"id":"217","value":"1417542240"},{"id":"211","value":"1417542240"}]}
    Eloqua:
    Name: PPV-0878545
    Unique Code: a0KJ000000387QvMAI
    Status Registered
    Created Date 12/22/2014 12:44:49 PM
    Mapped NO
    Any Idea how to map this to a contact
    Entity Type is Contacts
    Entity Field is SFDC Contact ID

  • Query a document library using Search Rest API

    How can we search for a specific document library using SharePoint Search through Rest API? We have a couple of document libraries which have thousands of documents with its relevant metadata information stored. We need to create an app to search through
    these document libraries and display the document and its metadata. Can someone point me in the right direction?
    V

    Taking what Shakir said you would substitute queryText with a managed property query (KQL) to query against metadata from the Document library. So if your document library has a Owner column then you would either create or use an existing managed property
    defined in the Search Schema. So your query may look like this:
    https://<site URL>/_api/search/query?querytext='(owner:smith)+AND+(path:<library url>)'
    Link:
    https://msdn.microsoft.com/en-us/library/office/ee558911.aspx?f=255&MSPPError=-2147217396
    Blog | SharePoint Field Notes Dev Tools |
    SPFastDeploy | SPRemoteAPIExplorer

  • How to filter the Rest Api data based on Taxanomy columns

    Hi Everyone,
    We are using SharePoint2010 Standard Edition.
    I wanted get the library details through REST Api. I am using as below:
    https://SiteUrl/_vti_bin/listdata.svc/Documents?$filter=Title eq 'SharePointDoc'
    Here I am able to get the info regarding "SharePointDoc". But when I am trying to get the details from Taxonomy filter, it didn't.
    Can anyone please tell me how can we filter based on Taxanomy fields.
    Thanks in Advance
    Krishnasandeep

    Hi,
    I understand that you wanted to filter the Rest Api data based on Taxanomy columns.
    Per my knowledge, in SharePoint 2010 , not all types of column are available via REST, most annoyingly managed metadata columns are amongst this group of unsupported column types.
    However, in SharePoint 2013, we can filter list items based on taxonomy (managed metadata) columns.
    Taxonomy fields can be now called via REST API using CAML query in REST calls.
    Here is a great blog for your reference:
    http://www.cleverworkarounds.com/2013/09/23/how-to-filter-on-a-managed-metadata-column-via-rest-in-sharepoint-2013/comment-page-1/
    You’d better to change the REST calls and the CAML query to check whether it works in SharePoint 2010.
    More information:
    http://platinumdogs.me/2013/03/14/sharepoint-adventures-with-the-rest-api-part-1/
    Best Regards,
    Linda Li
    Linda Li
    TechNet Community Support

  • Is there any REST API to get all the Site and site Collections from Sharepoint Online

    Hi,
    I have one SharePoint Online tenant. We are using REST API to integrate SharePoint to our internal System.
    For my use case I need to get all the SharePoint sites ans Sitecollections. From each SiteCollection I need all the subsites under this.
    I have used below REST Query
    http://<Base site url>/_api/web
    This doesn't give me all the Site collections
    Could any one please give me some way to get all the Site collections and sites from my sharepoint tenant through REST API.
    Thanks,

    Hi Abhiram,
    There seems no such endpoint in SharePoint REST API can retrieve a list of site collections in a SharePoint Online tenant:
    https://msdn.microsoft.com/en-us/library/office/jj860569.aspx#Reference
    If Client Object Model can be an option for you, you can use Tenant object to achieve what you want:
    http://social.technet.microsoft.com/wiki/contents/articles/24050.perform-basic-admin-operations-using-csom-in-sharepoint-online.aspx#Scenario_3_Fetch_All_Site_Collections
    Anyway, I would suggest you submit a feedback to the Office Developer Platform if there any expectation about the future version of REST API of Office 365 SharePoint
    Online:
    http://officespdev.uservoice.com/
    It
    is a place for customers provide feedback about Microsoft Office products. What’s more, if a feedback is high voted there by other customers, it will be promising that Microsoft
    Product Team will take it into consideration when designing the next version in the future.
    Thanks 
    Patrick Liang
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • Document Set Creation in document library using REST API in Sharepoint 2013

    Hi,
    I want to create the document set using REST API call. Currently i am able to create the folder and able to upload the files using REST API's in the document library. Is there any way we can pass the contentype name or Id and create the document set using
    REST API call. We need to create the document set along with metadata and upload the files inside the document set.
    I need to create the document set along with meta data column values using REST API. Please let me know how we can achieve this through REST API.
    Thank you,
    Mylsamy

    Hi,
    According to your post, my understanding is that you wanted to create document set along with managed metadata fields.
    The REST API does not currently support working with Managed Metadata or Taxonomy fields.
    As a workaround, we can use the JavaScript Client Object Model.
    Create document set using JavaScript Client Object Model.
    http://blogs.msdn.com/b/mittals/archive/2013/04/03/how-to-create-a-document-set-in-sharepoint-2013-using-javascript-client-side-object-model-jsom.aspx
    http://social.technet.microsoft.com/Forums/sharepoint/en-US/aacd96dc-0fb2-4f0d-ab4c-f94ce819e3ed/create-document-sets-with-javascript-com-sharepoint-2010
    Set managed metadata field with JavaScript Client Object Model.
    http://sharepoint.stackexchange.com/questions/95933/add-list-item-with-managed-metadata-field-through-jsom
    http://sharepointfieldnotes.blogspot.com/2013/06/sharepoint-2013-code-tips-setting.html
    Thanks,
    Jason
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Jason Guo
    TechNet Community Support

  • Sharepoint 2013 REST API calls with JASONP support

    We are working on sharepoint online integration with PHP Based application. We need to provide REST API call which supports JSONP.
    So is it possible to create new REST API Endpoints in Sharepoint online APP? Please sugggest right direction.

    Hi,
    In Office 365 (aka SharePoint Online), you can simply consume the SharePoint data through REST API or WS call,but cannot create your own endpoint.
    By default you can get the JSON response from the Office 365 REST API,its upto you to use the JSONP on your client compatibility not on SharePoint online REST API.
    Sometime before I tried, It didn't work for me.
    If you develop the AppModel, SPRequestor.js does the same job(overcome the Cross domain restriction) the what JSONP does.
    Murugesa Pandian| MCPD | MCTS |SharePoint 2010

  • How to watch forum using Webcenter Discussions REST API

    If I am building an application using WebCenter Discussions REST API, what API should I invoke to watch forum, topic? If it is not available in the REST API, what is the workaround to do the same ?
    Did not find relevant information in the [http://docs.oracle.com/cd/E23943_01/webcenter.1111/e10148/jpsdg_jive.htm#CHDGJECD] .

    Hi.
    REST Discussions API allow you to get all information that you need. It provides URL to Forums, topics... Or directly you can access to the messages.
    In addition, you can use REST Search API to search into discussion forums if you have Oracle SES.
    Off doc about information that can you get through REST API: http://docs.oracle.com/cd/E23943_01/webcenter.1111/e10148/jpsdg_jive.htm#CHDGJECD
    In the case of that you need more information about provided by REST API or WebCenter API then you can implement your own ADF BC to consume Discussions schema :).
    Regards.
    Edited by: Daniel Merchán on 16-oct-2012 15:16

  • Capture Image rest API deletes Virtual machine

    Hi,
    When we capture an image of a virtual machine, then it deletes the virtual machine in the azure portal itself.This is the same behavior through REST API as well.
    Is there any way we can keep the Virtual machine after a capture on the image is done through REST API?
    Thanks

    Hi,
    You could refer the following link for details on how to capture an Azure virtual machine running Windows and it clearly mentions that "When you capture an image of a generalized virtual machine, the virtual
    machine is deleted."
    http://azure.microsoft.com/en-in/documentation/articles/virtual-machines-capture-image-windows-server/
    Instead, you could try taking a snapshot of the VM using "Export-AzureVM" and "Import-AzureVM".
    You could refer the following link for details:
    http://blogs.technet.com/b/heyscriptingguy/archive/2014/01/24/create-backups-of-virtual-machines-in-windows-azure-by-using-powershell.aspx
    Also you could consider cloning your VM (https://github.com/dsdinter/Azure-VM-clone).
    Regards,
    Malar.

Maybe you are looking for

  • I need to find someplace that I can get my HP G61-322NR motherboard repaired in Boise, Idaho

    My old motherboard in my laptop overheated and melted (so very bad) So I bought another used motherboard THINKING it was fully working as was stated on the website from the place I bought it from. They will not refund my money on this board at all. T

  • Network crash during software update 10.6.3 and iTunes 9.1

    Last night my wife was using her MacBook and it asked to instal the software update, which she accepted. This appeared to hang for some time and in the end she shut the Mac down. Since then the MacBook will not start up and stays on Appple and spinin

  • Availability of Java Wireless Toolkit (J2ME) for linux

    Hi, Could anyone tell me when will be available the Java wireless toolkit for Linux again ? According to download page is offline since March 20 Sun Java Wireless Toolkit for CLDC 2.5.2 ML - March 20, 2012 - This download is being updated and will be

  • Photoshop Elements 7 Command Line Batch Processing?

    I program in C# or VB .NET using Visual Studio 2008. Q. Can I program or write Photoshop command line batch processing scripts? I need to take several hundred photos and convert them as follows: 1. Import .jpg 2. Resize image 3. Convert to layer 4. D

  • ICMP Responses for Offline Devices

    Hi, I've come across a strange situation and I can't seem to figure it out. When a certain device on the network is unplugged (a Citizen or HP printer in this case), instead of the ping timing out another device start responding instead (see below).