I’m often asked for a list of the IDs of the most common Base Types, List Definitions and Content Types. Especially useful if you’re writing CAML definitions of Lists, List Instances, or Content Types. Here are the lists I’ve gleaned from MSDN.
Base Types
These Base Types come from the SPBaseType enumeration.
| Base Type | ID |
| Custom List | 0 |
| Document Library | 1 |
| Not used | 2 |
| Obsolete. Use 0 for discussion boards. | 3 |
| Surveys | 4 |
| Issues List | 5 |
List Definitions
These List Definitions come from the SPListTemplateType enumeration.
| Enumeration Name | Description | ID |
| InvalidType | Not used | -1 |
| NoListTemplate | unspecified list type | 0 |
| GenericList | Custom list | 100 |
| DocumentLibrary | Document library | 101 |
| Survey | Survey | 102 |
| Links | Links | 103 |
| Announcements | Announcements | 104 |
| Contacts | Contacts | 105 |
| Events | Calendar | 106 |
| Tasks | Tasks | 107 |
| DiscussionBoard | Discussion board | 108 |
| PictureLibrary | Picture library | 109 |
| DataSources | Data sources for a site | 110 |
| WebTemplateCatalog | Site template gallery | 111 |
| UserInformation | User Information | 112 |
| WebPartCatalog | Web Part gallery | 113 |
| ListTemplateCatalog | List Template gallery | 114 |
| XMLForm | XML Form library | 115 |
| MasterPageCatalog | Master Page gallery | 116 |
| NoCodeWorkflows | No Code Workflows | 117 |
| WorkflowProcess | Custom Workflow Process | 118 |
| WebPageLibrary | Wiki Page Library | 119 |
| CustomGrid | Custom grid for a list | 120 |
| SolutionCatalog | Solutions | 121 |
| NoCodePublic | No Code Public Workflow | 122 |
| ThemeCatalog | Themes | 123 |
| DataConnectionLibrary | Data connection library for sharing information about external data connections | 130 |
| WorkflowHistory | Workflow History | 140 |
| GanttTasks | Project Tasks | 150 |
| Meetings | Meeting Series (Meeting) | 200 |
| Agenda | Agenda (Meeting) | 201 |
| MeetingUser | Attendees (Meeting) | 202 |
| Decision | Decisions (Meeting) | 204 |
| MeetingObjective | Objectives (Meeting) | 207 |
| TextBox | Text Box (Meeting) | 210 |
| ThingsToBring | Things To Bring (Meeting) | 211 |
| HomePageLibrary | Workspace Pages (Meeting) | 212 |
| Posts | Posts (Blog) | 301 |
| Comments | Comments (Blog) | 302 |
| Categories | Categories (Blog) | 303 |
| Facility | Facility | 402 |
| Whereabouts | Whereabouts | 403 |
| CallTrack | Call Track | 404 |
| Circulation | Circulation | 405 |
| Timecard | Timecard | 420 |
| Holidays | Holidays | 421 |
| IMEDic | IME (Input Method Editor) Dictionary | 499 |
| ExternalList | External | 600 |
| IssueTracking | Issue tracking | 1100 |
| AdminTasks | Administrator Tasks | 1200 |
| HealthRules | Health Rules | 1220 |
| HealthReports | Health Reports | 1221 |
Content Types
These content types come from the Content Type ID list.
| Content Type | ID |
| System | 0x |
| Item | 0×01 |
| Document | 0×0101 |
| Event | 0×0102 |
| Issue | 0×0103 |
| Announcement | 0×0104 |
| Link | 0×0105 |
| Contact | 0×0106 |
| Message | 0×0107 |
| Task | 0×0108 |
| Workflow History | 0×0109 |
| Post | 0×0110 |
| Comment | 0×0111 |
| East Asia Contact | 0×0116 |
| Folder | 0×0120 |
You can leave a response, or trackback from your own site.

Hi
This is useful. Out of interest is it easy to derive the BaseType from the
SPList instance as in myList.BaseTemplate.GetTypeCode. I want detect whether I am using a Task list type or sub type.
Daniel
0×0100 Item Content Type
100 Generic List (Custom List)

0×01 Item Content Type
Thanks .. just seen your answer and I now I need to remember the context of the question!
Awesome!