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": "b5194a0e-f106-4c68-b990-91b63b7ac7f5", "Title": "sample string 2", "ListTemplateId": "sample string 3", "ServerRelativeUrl": "sample string 4", "ListImageUrl": "sample string 5", "Description": "sample string 6", "BaseType": 0, "ListDefinition": { "ID": "de1e736f-9035-4dc4-a0dd-52bc887b3b76", "Title": "sample string 2", "Fields": [ { "ID": "ab1d7791-9f06-4519-b3a8-d7d11f5631aa", "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": "ab1d7791-9f06-4519-b3a8-d7d11f5631aa", "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": "1ed38bb0-59cc-4a34-8065-4e8ad2ea5065", "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": "1ed38bb0-59cc-4a34-8065-4e8ad2ea5065", "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": "b5194a0e-f106-4c68-b990-91b63b7ac7f5", "Title": "sample string 2", "ListTemplateId": "sample string 3", "ServerRelativeUrl": "sample string 4", "ListImageUrl": "sample string 5", "Description": "sample string 6", "BaseType": 0, "ListDefinition": { "ID": "de1e736f-9035-4dc4-a0dd-52bc887b3b76", "Title": "sample string 2", "Fields": [ { "ID": "ab1d7791-9f06-4519-b3a8-d7d11f5631aa", "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": "ab1d7791-9f06-4519-b3a8-d7d11f5631aa", "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": "1ed38bb0-59cc-4a34-8065-4e8ad2ea5065", "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": "1ed38bb0-59cc-4a34-8065-4e8ad2ea5065", "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>b5194a0e-f106-4c68-b990-91b63b7ac7f5</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>ab1d7791-9f06-4519-b3a8-d7d11f5631aa</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>ab1d7791-9f06-4519-b3a8-d7d11f5631aa</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>de1e736f-9035-4dc4-a0dd-52bc887b3b76</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>1ed38bb0-59cc-4a34-8065-4e8ad2ea5065</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>1ed38bb0-59cc-4a34-8065-4e8ad2ea5065</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>b5194a0e-f106-4c68-b990-91b63b7ac7f5</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>ab1d7791-9f06-4519-b3a8-d7d11f5631aa</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>ab1d7791-9f06-4519-b3a8-d7d11f5631aa</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>de1e736f-9035-4dc4-a0dd-52bc887b3b76</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>1ed38bb0-59cc-4a34-8065-4e8ad2ea5065</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>1ed38bb0-59cc-4a34-8065-4e8ad2ea5065</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>