sharepoint-2013sharepoint-api

Get the list id from its url using REST?


I'm using the SharePoint 2013 REST API to get and create list items, however the end users of my solution probably won't know how to find the list id, just the URL for one of its views, like http://spsportal/Lists/MyCalendar/calendar.aspx.

Is it possible to find the list ID using this URL?


Solution

  • I can see at least two options:

    Just that you know, most of the methods available in SSOM are exposed on the REST API.