Retrieve Processes

get

/ic/api/process/v1/spaces/{spaceId}/projects/{projectId}/processes

Retrieves all available processes from a project.

Request

Path Parameters
Back to Top

Response

Supported Media Types

200 Response

Success. Retrieve Processes.
Body ()
Root Schema : schema
Type: array
Show Source
Nested Schema : process
Type: object
process data

401 Response

Unauthorized

500 Response

Error in retrieving processes
Back to Top

Examples

The following example shows how to retrieve all processes by submitting a GET request on the REST resource.

Send Request

The following example shows the contents of the send request:

https://example.com/ic/api/process/<version>/spaces/<spaceId>/projects/<projectId>/processes

Where,

  • example.com is the host where Oracle Integration is running.

  • <version> is the REST API version.

  • <projectId> is the unique ID for a project. To retrieve available projects, see Retrieve projects.

Example of Response Header

Status Code: 200 OK
Date:   Mon, 03 Apr 2017 09:39:39 GMT 
Content-Type:  application/json

Example of Response Body

{
  "items": [
    {
      "id": "MyProcess1",
      "name": "MyProcess",
      "description": "My process description",
      "author": "jsmith",
      "entryPoints": [
        {
          "id": "EVT18969321890787",
          "bpmnType": "START_EVENT",
          "interfaceElements": {}
        }
      ],
      "links": [
        {
          "href": "http://example.com:7001/ic/api/process/v1/spaces/46423b0a-a6a1-4748-b677-e8160bf50ce9/projects/old%20project/processes/MyProcess1",
          "rel": "self"
        },
        {
          "href": "http://example.com:7001/ic/api/process/v1/spaces/46423b0a-a6a1-4748-b677-e8160bf50ce9/projects/old%20project/processes/MyProcess1",
          "rel": "canonical"
        },
        {
          "href": "http://example.com:7001/ic/api/process/v1/spaces/46423b0a-a6a1-4748-b677-e8160bf50ce9/projects/old%20project",
          "rel": "parent"
        }
      ]
    },
    {
      "id": "MyProcess",
      "name": "MyProcess",
      "description": "My process description",
      "author": "jsmith",
      "entryPoints": [
        {
          "id": "EVT18969244474387",
          "bpmnType": "START_EVENT",
          "interfaceElements": {}
        }
      ],
      "links": [
        {
          "href": "http://example.com:7001/ic/api/process/v1/spaces/46423b0a-a6a1-4748-b677-e8160bf50ce9/projects/old%20project/processes/MyProcess",
          "rel": "self"
        },
        {
          "href": "http://example.com:7001/ic/api/process/v1/spaces/46423b0a-a6a1-4748-b677-e8160bf50ce9/projects/old%20project/processes/MyProcess",
          "rel": "canonical"
        },
        {
          "href": "http://example.com:7001/ic/api/process/v1/spaces/46423b0a-a6a1-4748-b677-e8160bf50ce9/projects/old%20project",
          "rel": "parent"
        }
      ]
    }
  ],
  "links": [
    {
      "href": "http://example.com:7001/ic/api/process/v1/spaces/46423b0a-a6a1-4748-b677-e8160bf50ce9/projects/old%20project/processes",
      "rel": "self"
    },
    {
      "href": "http://example.com:7001/ic/api/process/v1/spaces/46423b0a-a6a1-4748-b677-e8160bf50ce9/projects/old%20project/processes",
      "rel": "canonical"
    },
    {
      "href": "http://example.com:7001/ic/api/process/v1/spaces/46423b0a-a6a1-4748-b677-e8160bf50ce9/projects/old%20project",
      "rel": "parent"
    }
  ]
}
Back to Top