POST api/List/{listId}/Items
Gets all the items on the specified listId
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| listId |
The id of the list |
string |
Required |
Body Parameters
A query object used to query the list for items
WorkPoint365.WebAPI.Model.ListQueryParameter| Name | Description | Type | Additional information |
|---|---|---|---|
| CamlQuery |
Gets or sets the caml query. |
string |
None. |
| FilterActiveItems |
Gets or sets a value indicating whether [filter active items]. |
boolean |
None. |
| FilterMyItems |
Gets or sets a value indicating whether [filter my items]. |
boolean |
None. |
| PageSize |
Gets or sets the size of the page. |
unsigned integer |
None. |
| PagingInfo |
Gets or sets the paging information. |
string |
None. |
| ViewFields |
Gets or sets the view fields. |
Collection of string |
None. |
| FolderServerRelativeUrl |
Gets or sets the folder server relative URL. |
string |
None. |
Request Formats
application/json, text/json
{
"CamlQuery": "sample string 1",
"FilterActiveItems": true,
"FilterMyItems": true,
"PageSize": 4,
"PagingInfo": "sample string 5",
"ViewFields": [
"sample string 1",
"sample string 2"
],
"FolderServerRelativeUrl": "sample string 6"
}
application/xml, text/xml
<ListQueryParameter xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WorkPoint365.WebAPI.Model">
<CamlQuery>sample string 1</CamlQuery>
<FilterActiveItems>true</FilterActiveItems>
<FilterMyItems>true</FilterMyItems>
<FolderServerRelativeUrl>sample string 6</FolderServerRelativeUrl>
<PageSize>4</PageSize>
<PagingInfo>sample string 5</PagingInfo>
<ViewFields xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:string>sample string 1</d2p1:string>
<d2p1:string>sample string 2</d2p1:string>
</ViewFields>
</ListQueryParameter>
Response Information
Resource Description
Returns a QueryResult with a collection of items
System.Web.Http.IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample not available.