Add Comments to a Process

post

/ic/api/process/v1/processes/{processId}/comments

Adds comments to a process

Request

Supported Media Types
Path Parameters
Body ()
CommentRequest
Root Schema : commentRequest
Type: object
The representation of a CommentRequest
Show Source
Back to Top

Response

Supported Media Types

200 Response

Success

500 Response

Internal server error
Back to Top

Examples

The following example shows how to add a comment by submitting a POST request on the REST resource:

Send Request

https://example.com/ic/api/process/v1/processes/{processId}/comments

Where,

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

  • <version> is the REST API version.

  • <Process ID> is the ID of the process for which you want to add a comment.

    For example, 1. You can get the <Process ID> using Retrieves Process Instance List.

Example of Request Body

{
"commentStr": "This is my comment."
}

Example of Response Header

Status Code: 200 OK

Example of Response Body

{
  "hasMore": false,
  "items": [
    {
      "commentStr": "This is my comment.",
      "updatedDate": "2016-12-19T06:10:21.000Z"
    },
    {
      "commentStr": "This is my comment.",
      "updatedDate": "2016-12-21T08:53:07.000Z"
    }
  ],
  "links": [
    {
      "href": "http://host:port/ic/api/process/v1/processes/{processId}/comments",
      "length": 0,
      "rel": "self"
    },
    {
      "href": "http://host:port/ic/api/process/v1/processes/2",
      "length": 0,
      "rel": "parent"
    }
  ],
  "totalResults": false
}
Back to Top