Share via


SP へList.getItems 方法 (sp.js)

Returns a collection of items from the list based on the specified query.

**適用対象:**apps for SharePoint | SharePoint Foundation 2013 | SharePoint Server 2013

SP.List.getItems()

パラメーター

戻り値

Type: SP.ListItemCollection

Remarks

It must not be null.

REST resource endpoint

Endpoint URI structure

http://<sitecollection>/<site>/_api/web/lists(listid)/getItems(query)

HTTP requests

This resource supports the following HTTP commands:

  • POST

POST syntax

POST http://<sitecollection>/<site>/_api/web/lists(listid)/getItems(query)

Resource parameters

  • query