title: How to create SPList from custom template using SharePoint 2013 REST API?
body: <p>MSDN suggests passing the following properties to create a list using SP 2013 REST API in javascript:</p>
  
  <pre><code>{
      '__metadata': { 'type': 'SP.List' }, 
      'AllowContentTypes': true, 
      'BaseTemplate': 100,
      'ContentTypesEnabled': true, 
      'Title': name
  }
  </code></pre>
  
  <p>However it always fails if I pass my custom template (<strong>10000</strong>) as a BaseTemplate. 
  This list template does exist in web list template collection, and I can without any problem create a list based on this template from the UI. </p>