Lists name, id and basic details for all workflows in a site.
Method | Request URI | HTTP Version |
---|---|---|
GET | https://{baseURL}/api/v1/workflows | HTTP/1.1 |
Request Parameter | Description |
---|---|
baseURL |
Required. The base URL for the Nintex Workflow for Office 365 REST API. For more information about the base URL, see Base URL. |
This operation uses only common request headers. For more information about common request headers, see Common headers.
This operation does not use a request body.
This operation returns an HTTP status code, response headers, and a response body.
This operation returns only common HTTP status codes. For more information about common HTTP status codes returned by all operations, see Common status and error codes.
This operation returns only common response headers. For more information about common response headers returned by all operations, see Common headers.
If the operation was successful, the response body contains a Message object that represents the information returned by the operation about the site workflows:
Otherwise, the response body contains an Error object, which provides information about the error response. For more information about the Message and Error objects, see Response bodies.
The following example demonstrates how to use this operation to provide a list of the workflows on the SharePoint site.
The following GET request attempts to request the list of workflows.
https://crestan.nintexo365.com/api/v1/workflows
An HTTP 200 response code is returned, indicating that the request was successful.
The response body contains the following Message object, in which the details of the site workflows are specified in the data property and the operations relevant to the workflows are described in the _links property.
{ "data":[ { "name":"Example Workflow", "description":"This is a workflow", "id":"b0b037d8-ae5e-4894-b987-f61f9bf8a011", "isPublished":false, "workflowType":"List", "listId":"c84fc918-6aa8-4a5d-83c1-933e38e8aebd", "region":"West US", "assignedUse":"Production" } ], "_links":[ { "rel":"workflow.package.export", "href":"/api/v1/workflows/packages/{id}", "isTemplated":true }, , { "rel":"workflow.package.importput", "href":"/api/v1/workflows/packages/{id}", "isTemplated":true }, { "rel":"workflow.publish", "href":"/api/v1/workflows/{id}/published", "isTemplated":true }, { "rel":"workflow.save", "href":"/api/v1/workflows/{id}", "isTemplated":true } ] }