How to get GUID of SharePoint list of given List Name using REST API?
Get GUID of SharePoint(SP) list of given List Name:Use one of below REST API to get guid of list-
REST API 1 will give you guid of SPList only.
1. _spPageContextInfo.webAbsoluteUrl + "/_api/Web/Lists/getbytitle('SPList')/id
REST API 2 & 3 will give you guid, EntityTypeFullName, EntityTypeName etc of SPList
2._spPageContextInfo.webAbsoluteUrl + "/_api/Web/Lists/getbytitle('SPList')/items?select=id
3. _spPageContextInfo.webAbsoluteUrl + "/_api/Web/Lists/getbytitle('SPList')/items?select=EntityTypeFullName
Comments
Post a Comment