Get an action for a document

get/documents/{objectTypeName}/{documentId}/actions/{actionId}

Gets the full representation of an action from a documents action history. A link to this representation is returned in the links property of an action summary.

Request Samples

1

Response Samples

1{
2 "actionId": "string",
3 "action": "string",
4 "actionType": "DOCUMENT_CREATE",
5 "objectType": "string",
6 "objectId": "string",
7 "objectVersion": "string",
8 "createdBy": "string",
9 "createdAt": "2019-08-24T14:15:22Z",
10 "links": [
11 {
12 "method": "string",
13 "rel": "string",
14 "uri": "string",
15 "href": "string",
16 "title": "string",
17 "type": "string",
18 "itemType": "string",
19 "responseType": "string",
20 "responseItemType": "string"
21 }
22 ],
23 "version": 0,
24 "items": [
25 {}
26 ]
27}

Path Parameters

NameTypeRequiredDescription
actionId
string
true

The ID of the action. This could be a document version or the ID of an action.

documentId
string
true

The ID of the document.

objectTypeName
string
true

The object type of the document.

Query Parameters

NameTypeRequiredDescription
actionType
string
false

The type of the action. This is one of the available action types for the document. Currently, this parameter is not required by the server, but omitting it is DEPRECATED. This parameter will become required in a future version of the API. Certain newer action types will not be available from this endpoint if the actionType parameter is not provided.

tableLimit
integer
false

Specifies the length at which to truncate child document action history. For example, assume that a request is made with this query parameter set to 5. If, for a given child document type, there is less than 5 child documents for a specific action (Create/Edit/Delete), then 'n' child documents are returned. If 'n' is greater than 5, a message is displayed instructing the user to use the Versions control to view the child documents.

Default:
10

Responses

StatusMeaningDescription
200OK

The request succeeded.

Schema
400Bad Request

Action history was not available for the specified document.

Schema
404Not Found

The specified document or action was not found.

Schema