SP.List.baseTemplate property (sp.js)
Gets the list definition type on which the list is based.
Applies to: apps for SharePoint | SharePoint Foundation 2013 | SharePoint Server 2013
var value = SP.List.get_baseTemplate ()
Return value
Type: Number
Remarks
Its value must be equal to or greater than 0. Its value must be equal to or less than 2147483647.
REST resource endpoint
See List resource for more information.
Endpoint URI structure
http://<sitecollection>/<site>/_api/web/lists(listid)/baseTemplate
HTTP requests
This resource supports the following HTTP commands:
- POST
POST syntax
POST http://<sitecollection>/<site>/_api/web/lists(listid)/baseTemplate
GET syntax
GET http://<sitecollection>/<site>/_api/web/lists(listid)/baseTemplate