Access List properties with REST APIs



Syntax to use REST API for List:
                <sharepoint web url>/_api//web/lists/GetByTitle('List Title')/<property name>

Properties which can be retrieved:
S. No
Property
Type
1
AllowContentTypes
Boolean
2
BaseTemplate
Int32
3
BaseType
Int32
4
BrowserFileHandling
Int32
5
ContentTypes
SP.ContentTypeCollection
6
ContentTypesEnabled
Boolean
7
Created
DateTime
8
DataSource
9
DefaultContentApprovalWorkflowId
GUID
10
DefaultDisplayFormUrl
String
11
DefaultEditFormUrl
String
12
DefaultNewFormUrl
String
13
DefaultView
14
DefaultViewUrl
String
15
Description
String
16
Direction
String
17
DocumentTemplateUrl
String
18
DraftVersionVisibility
Int32
19
EffectiveBasePermissions
20
EffectiveBasePermissionsForUI
21
EnableAttachments
Boolean
22
EnableFolderCreation
Boolean
23
EnableMinorVersions
Boolean
24
EnableModeration
Boolean
25
EnableVersioning
Boolean
26
EntityTypeName
String
27
EventReceivers
SP.EventReceiverDefinitionCollection
28
Fields
29
FirstUniqueAncestorSecurableObject
SP.SecurableObject
30
ForceCheckout
Boolean
31
Forms
SP.FormCollection
32
HasExternalDataSource
Boolean
33
HasUniqueRoleAssignments
Boolean
34
Hidden
Boolean
35
Id
GUID
36
ImageUrl
String
37
InformationRightsManagementSettings
SP.InformationRightsManagementSettings
38
IrmEnabled
Boolean
39
IrmExpire
Boolean
40
IrmReject
Boolean
41
IsApplicationList
Boolean
42
IsCatalog
Boolean
43
IsPrivate
Boolean
44
IsSiteAssetsLibrary
Boolean
45
ItemCount
Int32
46
Items
47
LastItemDeletedDate
DateTime
48
LastItemModifiedDate
DateTime
49
ListItemEntityTypeFullName
String
50
MultipleDataList
Boolean
51
NoCrawl
Boolean
52
OnQuickLaunch
Boolean
53
ParentWeb
54
ParentWebUrl
String
55
RoleAssignments
56
RootFolder
57
SchemaXml
String
58
ServerTemplateCanCreateFolders
Boolean
59
TemplateFeatureId
GUID
60
Title
String
61
UserCustomActions
62
ValidationFormula
String
63
ValidationMessage
String
64
Views
65
WorkflowAssociations
SP.Workflow.WorkflowAssociationCollection

For more details go to MSDN

Comments

Popular Posts

SharePoint Interview Questions and Answers

Download Infopath Form Templates

How to get current logged user information using JavaScript ?

Steps to set Form based authentication (FBA) for SharePoint 2010

SharePoint Interview Questions and Answers II

Get List Items - JavaScript

Cross Site List Rollup Web Part for SharePoint 2010

Hide Recently Modified Items

Change Language for current user with JSOM in SharePoint Online

SharePoint 2010 CSS Chart