Get an action from the action history of a link

get/links/@item/actions/{actionId}
Internal-Use Only

Gets the full representation of an action from a link's 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": "2",
3 "action": "Edited the relationship",
4 "actionType": "RELATIONSHIP_EDIT",
5 "objectType": "Witnessed by",
6 "objectId": "witnessed_by|_|intel_report|_|person|_|e5343e0e-3d68-11e8-b467-0ed5f89f718b",
7 "objectVersion": "2",
8 "createdBy": "videmo",
9 "createdAt": "2023-06-29T00:00:00.000Z",
10 "links": [
11 {
12 "method": "GET",
13 "rel": "self",
14 "href": "/svi-datahub/links/@item/actions/2?_id=witnessed_by|_|intel_report|_|person|_|e5343e0e-3d68-11e8-b467-0ed5f89f718b",
15 "uri": "/svi-datahub/links/@item/actions/2?_id=witnessed_by|_|intel_report|_|person|_|e5343e0e-3d68-11e8-b467-0ed5f89f718b",
16 "type": "application/vnd.sas.investigate.action"
17 }
18 ],
19 "version": 1,
20 "items": [
21 {
22 "type": "tableItem",
23 "action": "Changed properties",
24 "headings": [
25 "Property",
26 "Original Value",
27 "New Value"
28 ],
29 "rows": [
30 [
31 {
32 "value": "Auto Generated Sk",
33 "type": "STRING"
34 },
35 {
36 "value": "e5343e0e-3d68-11e8-b467-0ed5f89f718b",
37 "type": "STRING"
38 }
39 ],
40 [
41 {
42 "value": "Person Id",
43 "type": "STRING"
44 },
45 {
46 "value": "uuid_102",
47 "type": "STRING"
48 }
49 ],
50 [
51 {
52 "value": "Report Id",
53 "type": "STRING"
54 },
55 {
56 "value": "uuid_502",
57 "type": "STRING"
58 }
59 ],
60 [
61 {
62 "value": "Description",
63 "type": "STRING"
64 },
65 {
66 "value": "some description",
67 "type": "STRING"
68 }
69 ],
70 [
71 {
72 "value": "Created By User Id",
73 "type": "STRING"
74 },
75 {
76 "value": "unit_test",
77 "type": "STRING"
78 }
79 ],
80 [
81 {
82 "value": "Last Updated By User Id",
83 "type": "STRING"
84 },
85 {
86 "value": "videmo",
87 "type": "STRING"
88 }
89 ]
90 ]
91 }
92 ]
93}

Path Parameters

NameTypeRequiredDescription
actionId
string
true

The ID of the action.

Query Parameters

NameTypeRequiredDescription
_id
string
true

The ID for an individual link. A link ID uses the following format: ${relationshipName}|_|${fromEntityTypeName}|_|${toEntityTypeName}|_|${fromEntityId}|_|${toEntityId} where |_| is the delimiter between link ID components.

Link ID component details:

  • relationshipName - The relationship type name that defines the link.
  • fromEntityTypeName - The entity type name of the starting point for the link.
  • fromEntityId - The unique identifier of the entity that is the starting point for the link.
  • toEntityTypeName - The entity type name of the destination point for the link.
  • toEntityId - The unique identifier of the entity that is the destination point for the link.

When submitting the request, the pipe character (|) must be percent-encoded as %7C. See below for an example of the pipe character properly encoded: ${relationshipName}%7C_%7C${fromEntityTypeName}%7C_%7C${toEntityTypeName}%7C_%7C${fromEntityId}%7C_%7C${toEntityId}

Responses

StatusMeaningDescription
200OKThe request succeeded. Schema
400Bad RequestAction history was not available for the specified link. Schema
404Not FoundThe specified link or requested action was not found. Schema