GET api/lists
Gets all lists.
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
Returns a collection of all lists.
Collection of WorkPoint365.WebAPI.Model.SharePoint.ListName | Description | Type | Additional information |
---|---|---|---|
ID | globally unique identifier |
None. |
|
Title | string |
None. |
|
ListTemplateId | string |
None. |
|
ServerRelativeUrl | string |
None. |
|
ListImageUrl | string |
None. |
|
Description | string |
None. |
|
BaseType | WorkPoint365.WebAPI.Model.SharePoint.ListBaseType |
None. |
|
ListDefinition | WorkPoint365.WebAPI.Model.SharePoint.ListDefinition |
None. |
|
IsApplicationList | boolean |
None. |
|
IsSiteAssetsLibrary | boolean |
None. |
Response Formats
application/json, text/json
Sample:
[ { "ID": "0f1a646a-8c85-4b09-b302-dd5a7d5f97b4", "Title": "sample string 2", "ListTemplateId": "sample string 3", "ServerRelativeUrl": "sample string 4", "ListImageUrl": "sample string 5", "Description": "sample string 6", "BaseType": 0, "ListDefinition": { "ID": "ce80c4ee-0bec-4c0c-8e83-d1e6f860f000", "Title": "sample string 2", "Fields": [ { "ID": "9b4e481e-448d-4196-a455-33af07cf0575", "Title": "sample string 2", "Type": "sample string 3", "DefaultValue": "sample string 4", "Description": "sample string 5", "InternalName": "sample string 6", "Required": true, "ShowInEditForm": true, "ShowInNewForm": true, "ShowInDisplayForm": true, "ShowInViewForms": true, "SchemaXml": "sample string 8" }, { "ID": "9b4e481e-448d-4196-a455-33af07cf0575", "Title": "sample string 2", "Type": "sample string 3", "DefaultValue": "sample string 4", "Description": "sample string 5", "InternalName": "sample string 6", "Required": true, "ShowInEditForm": true, "ShowInNewForm": true, "ShowInDisplayForm": true, "ShowInViewForms": true, "SchemaXml": "sample string 8" } ], "ContentTypes": [ { "Id": "sample string 1", "Name": "sample string 2", "Description": "sample string 3", "Fields": [ { "InternalFieldName": "sample string 1", "Required": true }, { "InternalFieldName": "sample string 1", "Required": true } ] }, { "Id": "sample string 1", "Name": "sample string 2", "Description": "sample string 3", "Fields": [ { "InternalFieldName": "sample string 1", "Required": true }, { "InternalFieldName": "sample string 1", "Required": true } ] } ], "ViewDefinitions": [ { "ID": "f28bc52c-cfff-4e73-9432-bf9d77787c5a", "Title": "sample string 2", "Type": "sample string 3", "DefaultView": true, "Paged": true, "Query": "sample string 6", "RowLimit": 7, "Fields": [ "sample string 1", "sample string 2" ] }, { "ID": "f28bc52c-cfff-4e73-9432-bf9d77787c5a", "Title": "sample string 2", "Type": "sample string 3", "DefaultView": true, "Paged": true, "Query": "sample string 6", "RowLimit": 7, "Fields": [ "sample string 1", "sample string 2" ] } ] }, "IsApplicationList": true, "IsSiteAssetsLibrary": true }, { "ID": "0f1a646a-8c85-4b09-b302-dd5a7d5f97b4", "Title": "sample string 2", "ListTemplateId": "sample string 3", "ServerRelativeUrl": "sample string 4", "ListImageUrl": "sample string 5", "Description": "sample string 6", "BaseType": 0, "ListDefinition": { "ID": "ce80c4ee-0bec-4c0c-8e83-d1e6f860f000", "Title": "sample string 2", "Fields": [ { "ID": "9b4e481e-448d-4196-a455-33af07cf0575", "Title": "sample string 2", "Type": "sample string 3", "DefaultValue": "sample string 4", "Description": "sample string 5", "InternalName": "sample string 6", "Required": true, "ShowInEditForm": true, "ShowInNewForm": true, "ShowInDisplayForm": true, "ShowInViewForms": true, "SchemaXml": "sample string 8" }, { "ID": "9b4e481e-448d-4196-a455-33af07cf0575", "Title": "sample string 2", "Type": "sample string 3", "DefaultValue": "sample string 4", "Description": "sample string 5", "InternalName": "sample string 6", "Required": true, "ShowInEditForm": true, "ShowInNewForm": true, "ShowInDisplayForm": true, "ShowInViewForms": true, "SchemaXml": "sample string 8" } ], "ContentTypes": [ { "Id": "sample string 1", "Name": "sample string 2", "Description": "sample string 3", "Fields": [ { "InternalFieldName": "sample string 1", "Required": true }, { "InternalFieldName": "sample string 1", "Required": true } ] }, { "Id": "sample string 1", "Name": "sample string 2", "Description": "sample string 3", "Fields": [ { "InternalFieldName": "sample string 1", "Required": true }, { "InternalFieldName": "sample string 1", "Required": true } ] } ], "ViewDefinitions": [ { "ID": "f28bc52c-cfff-4e73-9432-bf9d77787c5a", "Title": "sample string 2", "Type": "sample string 3", "DefaultView": true, "Paged": true, "Query": "sample string 6", "RowLimit": 7, "Fields": [ "sample string 1", "sample string 2" ] }, { "ID": "f28bc52c-cfff-4e73-9432-bf9d77787c5a", "Title": "sample string 2", "Type": "sample string 3", "DefaultView": true, "Paged": true, "Query": "sample string 6", "RowLimit": 7, "Fields": [ "sample string 1", "sample string 2" ] } ] }, "IsApplicationList": true, "IsSiteAssetsLibrary": true } ]
application/xml, text/xml
Sample:
<ArrayOfList xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WorkPoint365.WebAPI.Model.SharePoint"> <List> <BaseType>UnspecifiedBaseType</BaseType> <Description>sample string 6</Description> <ID>0f1a646a-8c85-4b09-b302-dd5a7d5f97b4</ID> <IsApplicationList>true</IsApplicationList> <IsSiteAssetsLibrary>true</IsSiteAssetsLibrary> <ListDefinition> <ContentTypes> <ContentTypeDefinition> <Description>sample string 3</Description> <Fields> <FieldLink> <InternalFieldName>sample string 1</InternalFieldName> <Required>true</Required> </FieldLink> <FieldLink> <InternalFieldName>sample string 1</InternalFieldName> <Required>true</Required> </FieldLink> </Fields> <Id>sample string 1</Id> <Name>sample string 2</Name> </ContentTypeDefinition> <ContentTypeDefinition> <Description>sample string 3</Description> <Fields> <FieldLink> <InternalFieldName>sample string 1</InternalFieldName> <Required>true</Required> </FieldLink> <FieldLink> <InternalFieldName>sample string 1</InternalFieldName> <Required>true</Required> </FieldLink> </Fields> <Id>sample string 1</Id> <Name>sample string 2</Name> </ContentTypeDefinition> </ContentTypes> <Fields> <Field> <DefaultValue>sample string 4</DefaultValue> <Description>sample string 5</Description> <ID>9b4e481e-448d-4196-a455-33af07cf0575</ID> <InternalName>sample string 6</InternalName> <Required>true</Required> <SchemaXml>sample string 8</SchemaXml> <ShowInDisplayForm>true</ShowInDisplayForm> <ShowInEditForm>true</ShowInEditForm> <ShowInNewForm>true</ShowInNewForm> <ShowInViewForms>true</ShowInViewForms> <Title>sample string 2</Title> <Type>sample string 3</Type> </Field> <Field> <DefaultValue>sample string 4</DefaultValue> <Description>sample string 5</Description> <ID>9b4e481e-448d-4196-a455-33af07cf0575</ID> <InternalName>sample string 6</InternalName> <Required>true</Required> <SchemaXml>sample string 8</SchemaXml> <ShowInDisplayForm>true</ShowInDisplayForm> <ShowInEditForm>true</ShowInEditForm> <ShowInNewForm>true</ShowInNewForm> <ShowInViewForms>true</ShowInViewForms> <Title>sample string 2</Title> <Type>sample string 3</Type> </Field> </Fields> <ID>ce80c4ee-0bec-4c0c-8e83-d1e6f860f000</ID> <Title>sample string 2</Title> <ViewDefinitions> <ViewDefinition> <DefaultView>true</DefaultView> <Fields xmlns:d6p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d6p1:string>sample string 1</d6p1:string> <d6p1:string>sample string 2</d6p1:string> </Fields> <ID>f28bc52c-cfff-4e73-9432-bf9d77787c5a</ID> <Paged>true</Paged> <Query>sample string 6</Query> <RowLimit>7</RowLimit> <Title>sample string 2</Title> <Type>sample string 3</Type> </ViewDefinition> <ViewDefinition> <DefaultView>true</DefaultView> <Fields xmlns:d6p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d6p1:string>sample string 1</d6p1:string> <d6p1:string>sample string 2</d6p1:string> </Fields> <ID>f28bc52c-cfff-4e73-9432-bf9d77787c5a</ID> <Paged>true</Paged> <Query>sample string 6</Query> <RowLimit>7</RowLimit> <Title>sample string 2</Title> <Type>sample string 3</Type> </ViewDefinition> </ViewDefinitions> </ListDefinition> <ListImageUrl>sample string 5</ListImageUrl> <ListTemplateId>sample string 3</ListTemplateId> <ServerRelativeUrl>sample string 4</ServerRelativeUrl> <Title>sample string 2</Title> </List> <List> <BaseType>UnspecifiedBaseType</BaseType> <Description>sample string 6</Description> <ID>0f1a646a-8c85-4b09-b302-dd5a7d5f97b4</ID> <IsApplicationList>true</IsApplicationList> <IsSiteAssetsLibrary>true</IsSiteAssetsLibrary> <ListDefinition> <ContentTypes> <ContentTypeDefinition> <Description>sample string 3</Description> <Fields> <FieldLink> <InternalFieldName>sample string 1</InternalFieldName> <Required>true</Required> </FieldLink> <FieldLink> <InternalFieldName>sample string 1</InternalFieldName> <Required>true</Required> </FieldLink> </Fields> <Id>sample string 1</Id> <Name>sample string 2</Name> </ContentTypeDefinition> <ContentTypeDefinition> <Description>sample string 3</Description> <Fields> <FieldLink> <InternalFieldName>sample string 1</InternalFieldName> <Required>true</Required> </FieldLink> <FieldLink> <InternalFieldName>sample string 1</InternalFieldName> <Required>true</Required> </FieldLink> </Fields> <Id>sample string 1</Id> <Name>sample string 2</Name> </ContentTypeDefinition> </ContentTypes> <Fields> <Field> <DefaultValue>sample string 4</DefaultValue> <Description>sample string 5</Description> <ID>9b4e481e-448d-4196-a455-33af07cf0575</ID> <InternalName>sample string 6</InternalName> <Required>true</Required> <SchemaXml>sample string 8</SchemaXml> <ShowInDisplayForm>true</ShowInDisplayForm> <ShowInEditForm>true</ShowInEditForm> <ShowInNewForm>true</ShowInNewForm> <ShowInViewForms>true</ShowInViewForms> <Title>sample string 2</Title> <Type>sample string 3</Type> </Field> <Field> <DefaultValue>sample string 4</DefaultValue> <Description>sample string 5</Description> <ID>9b4e481e-448d-4196-a455-33af07cf0575</ID> <InternalName>sample string 6</InternalName> <Required>true</Required> <SchemaXml>sample string 8</SchemaXml> <ShowInDisplayForm>true</ShowInDisplayForm> <ShowInEditForm>true</ShowInEditForm> <ShowInNewForm>true</ShowInNewForm> <ShowInViewForms>true</ShowInViewForms> <Title>sample string 2</Title> <Type>sample string 3</Type> </Field> </Fields> <ID>ce80c4ee-0bec-4c0c-8e83-d1e6f860f000</ID> <Title>sample string 2</Title> <ViewDefinitions> <ViewDefinition> <DefaultView>true</DefaultView> <Fields xmlns:d6p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d6p1:string>sample string 1</d6p1:string> <d6p1:string>sample string 2</d6p1:string> </Fields> <ID>f28bc52c-cfff-4e73-9432-bf9d77787c5a</ID> <Paged>true</Paged> <Query>sample string 6</Query> <RowLimit>7</RowLimit> <Title>sample string 2</Title> <Type>sample string 3</Type> </ViewDefinition> <ViewDefinition> <DefaultView>true</DefaultView> <Fields xmlns:d6p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d6p1:string>sample string 1</d6p1:string> <d6p1:string>sample string 2</d6p1:string> </Fields> <ID>f28bc52c-cfff-4e73-9432-bf9d77787c5a</ID> <Paged>true</Paged> <Query>sample string 6</Query> <RowLimit>7</RowLimit> <Title>sample string 2</Title> <Type>sample string 3</Type> </ViewDefinition> </ViewDefinitions> </ListDefinition> <ListImageUrl>sample string 5</ListImageUrl> <ListTemplateId>sample string 3</ListTemplateId> <ServerRelativeUrl>sample string 4</ServerRelativeUrl> <Title>sample string 2</Title> </List> </ArrayOfList>