List plans

Important: This API is deprecated and will be removed on May 26th, 2017. We recommend that you use List group plannerplans API.

Retrieve a list of plan* objects.

*Note that filter is required for this method.

Prerequisites

One of the following scopes is required to execute this API:

Group.Read.All, Group.ReadWrite.All

HTTP request

GET /plans

Optional query parameters

Name Value Description
$filter string Only filtering based on the owner property is supported.

Request headers

Name Type Description
Authorization string Value should be set to "Bearer (access-token)"

Request body

Do not supply a request body for this method.

Response

If successful, this method returns a 200 OK response code and collection of plan objects in the response body.

Example

Request

Here is an example of the request.

GET https://graph.microsoft.com/beta/plans?$filter=owner eq'400723e1-102b-43aa-aba9-f35524827084'
Response

Here is an example of the response.

HTTP/1.1 200 OK
Content-type: application/json
Content-length: 153

{
  "value": [
    {
      "createdBy": "createdBy-value",
      "owner": "owner-value",
      "title": "title-value",
      "id": "id-value"
    }
  ]
}