List History of Process Document
get
/process/api/v1/audit/instances/{instanceId}/documents/{documentId}
Retrieves the history of a single document used within a process instance.
Request
Path Parameters
-
documentId(required): string
The id for the document
-
instanceId(required): string
The id that identifies the process.
Query Parameters
-
limit: integer
The number of items to return. If parameter is omitted default value 25 is set. If limit <=0 or limit> 50 then upto 50 records are returned=0>Default Value:
25
-
offset: integer
0 based index. The number of items to skip before starting to collect the result set.
Header Parameters
-
Accept-Language:
Accept-Language header in IETF BCP 47
-
oci-original-url:
Actual endpoint which customer requested
There's no request body for this operation.
Back to TopResponse
Supported Media Types
- application/json
200 Response
Successful operation
Root Schema : AuditDocumentDetail
Match All
Show Source
-
object
CommonModel
-
object
AuditDocumentWithoutCM
-
object
ListPagination
A common structure for helping a client with pagination
-
object
AuditDocumentDetail-allOf[3]
Nested Schema : AuditDocumentWithoutCM
Type:
Show Source
object
-
createdBy:
AuditUser
-
createdDate: string
(date)
The date and time at which the document was created i.e. uploaded with the format yyyy-MM-dd'T'HH:mm:ss.
-
documentId: string
The unique identifier for the document or attachment.
-
dpInstanceId: string
The instance ID for the related dynamic process instance. This is mutually exclusive to the processInstanceId
-
fileName: string
The name of the file that was uploaded as a document or attachment.
-
href: string
The URL pointing pointing to the document or attachment.
-
lastUpdatedBy:
AuditUser
-
lastUpdatedDate: string
(date)
The date and time at which the document was lat updated with the format yyyy-MM-dd'T'HH:mm:ss.
-
processInstanceId: string
The instance ID for the related BPMN process instance. This is mutually exclusive to the dpInstanceId
Nested Schema : ListPagination
Type:
object
A common structure for helping a client with pagination
Show Source
-
count: integer
The count of elements that are returned in the current this will be equal to or less than the "limit" parameter
-
limit: integer
The maximum number of elements to be returned. This will correspond to the "limit" query parameter
-
offset: integer
The index number of the first element for the list. This will correspond to the "offset" query parameter value
-
totalResults: integer
(int64)
The total number of elements in the list for the applied filters - not including the "limit" parameter
Nested Schema : Link
Type:
object
Defines Link
Show Source
-
code: integer
Minimum Value:
100
Maximum Value:600
-
href(required): string
-
hreflang: string
-
length: integer
(int32)
-
mediaType: string
-
message: string
-
rel(required): string
-
title: string
-
type: string
Nested Schema : Identity-allOf[1]
Type:
Show Source
object
-
type: string
Allowed Values:
[ "USER", "GROUP", "ROLE" ]
Nested Schema : AuditUser-allOf[1]
Type:
object
Nested Schema : AuditDocumentEvent
Type:
Show Source
object
-
action: string
Allowed Values:
[ "AddDocument", "UpdateDocument", "DeleteDocument" ]
-
dpInstanceId: string
The identifier of the dynamic process instance.
-
operationId: string
The identifier for the user operation.
-
performer:
AuditUser
-
processInstanceId: string
The identifier of the BPMN process instance.
-
taskId: string
The identifier for the task.
-
timestamp: string
(date)
The timestamp at which the operation took place.
201 Response
There are no document for the process instance id
401 Response
Unauthorized
404 Response
The document instance does not exist
429 Response
Too Many Requests
500 Response
internal server error
503 Response
Too Many Exceptions or Too Slow Requests