List Process Data Object History

get

/process/api/v1/audit/instances/{instanceId}/data-objects/{dataobjectId}

Retrieves the history of a particular data object for a process instance.

Request

Path Parameters
Header Parameters

There's no request body for this operation.

Back to Top

Response

Supported Media Types

200 Response

Successful operation
Body ()
Root Schema : AuditProcessVariableDetail
Match All
Show Source
Nested Schema : CommonModel
Type: object
Show Source
Nested Schema : AuditVariableWithoutCM
Type: object
The variable for a process instance
Show Source
Nested Schema : AuditProcessVariableDetail-allOf[2]
Type: object
Show Source
Nested Schema : variableUpdates
Type: array
Show Source
Nested Schema : AuditDetailLog
The detail log for an activities interaction with a variable
Match All
The detail log for an activities interaction with a variable
The detail log for an activities interaction with a variable
Show Source
Nested Schema : AuditDetailLog-allOf[1]
Type: object
Show Source

201 Response

There are no activities for the process instance id

401 Response

Unauthorized

404 Response

The process instance does not exist

429 Response

Too Many Requests

500 Response

internal server error

503 Response

Too Many Exceptions or Too Slow Requests
Back to Top

Examples

Example: Get the history of a data object

The following example shows how to get the history of a specific data object for a process instance by submitting a GET request on the REST resource using cURL. For more information about cURL, see cURL Access. For more information about endpoint URL structure, see Send Requests.

Retrieve the history of data object 77ydfdf4-5717-4562-87yhu8u7-1duufcelu8ofe for process instance 3fa85f64-5717-4562-b3fc-2c963f66afa6.

curl -X 'GET' \
      'https://<OIC URL>/process/api/v1/audit/instances/3fa85f64-5717-4562-b3fc-2c963f66afa6/data-objects/77ydfdf4-5717-4562-87yhu8u7-1duufcelu8ofe'
      \   -H 'accept: application/json' \   -H 'oci-original-url:
    www.oracle.com'

Example: Format of 200 Operation Successful response

{
  "links": [
    {
      "href": "string",
      "hreflang": "string",
      "length": 0,
      "rel": "string",
      "title": "string",
      "type": "string",
      "mediaType": "string",
      "message": "string",
      "code": 600
    }
  ],
  "id": "string",
  "processDefinitionKey": "string",
  "processDefinitionId": "string",
  "rootProcessInstanceId": "string",
  "processInstanceId": "string",
  "taskId": "string",
  "executionId": "string",
  "activityInstanceId": "string",
  "name": "string",
  "typeName": "string",
  "createTime": "2024-08-12",
  "value": "string",
  "errorMessasge": "string",
  "state": "string",
  "removalTime": "2024-08-12",
  "variableUpdates": [
    {
      "links": [
        {
          "href": "string",
          "hreflang": "string",
          "length": 0,
          "rel": "string",
          "title": "string",
          "type": "string",
          "mediaType": "string",
          "message": "string",
          "code": 600
        }
      ],
      "id": "string",
      "processDefinitionKey": "string",
      "processDefinitionId": "string",
      "processInstanceId": "string",
      "activityInstanceId": "string",
      "executionId": "string",
      "dpDefinitionkey": "string",
      "dpDefinitionId": "string",
      "dpInstanceId": "string",
      "dpExecutionId": "string",
      "taskId": "string",
      "userOperationId": "string",
      "timestamp": "2024-08-12",
      "removalTime": "2024-08-12",
      "rootProcessInstanceId": "string",
      "variableName": "string",
      "variableInstanceId": "string",
      "variableValue": "string",
      "revision": 0,
      "errorMessage": "string"
    }
  ]
}
Back to Top