Trigger transaction type metadata reconstruction

post/admin/transaction/{transactionTypeId}/reconstruct

Synchronizes the transaction type's field metadata with the schema for the database table that contains the transaction type's records. This can be used to repair the transaction type's metadata if the table that backs the transaction type changes. Care should be taken when using this operation as it does not automatically update other services in SAS Visual Investigator to reflect the metadata changes. Users who do not understand how their metadata is used in SAS Visual Investigator or are not prepared to repair inconsistencies downstream from Data Hub are not advised to use this endpoint. The request body should be empty.

Request Samples

1

Response Samples

1{
2 "id": "string",
3 "createdBy": "string",
4 "createdAt": "2019-08-24T14:15:22Z",
5 "lastUpdatedBy": "string",
6 "lastUpdatedAt": "2019-08-24T14:15:22Z",
7 "label": "string",
8 "description": "string",
9 "localizedLabels": [
10 {
11 "version": 0,
12 "locale": "en-US",
13 "label": "string"
14 }
15 ],
16 "localizedDescriptions": [
17 {
18 "version": 0,
19 "locale": "en-US",
20 "description": "string"
21 }
22 ],
23 "name": "string",
24 "dataStoreName": "string",
25 "tableName": "string",
26 "systemReserved": true,
27 "historyEnabled": true,
28 "version": 0,
29 "validFromFieldName": "string",
30 "validToFieldName": "string",
31 "lastUpdatedAtTimeFieldName": "string",
32 "createdAtTimeFieldName": "string",
33 "displayTextFields": [
34 {
35 "name": "string",
36 "displayIndex": 0
37 }
38 ],
39 "dataStoreAssignedTimeZone": "string",
40 "fromObjectName": "string",
41 "toObjectName": "string",
42 "fromObjJoinCondition": {
43 "type": "FieldRef"
44 },
45 "toObjJoinCondition": {
46 "type": "FieldRef"
47 },
48 "fromObjectRefFieldName": "string",
49 "toObjectRefFieldName": "string",
50 "fromObjectTypeFieldName": "string",
51 "toObjectTypeFieldName": "string",
52 "lineWidthFieldName": "string",
53 "lineWidthFunctionType": "SUM",
54 "lineColorFieldName": "string",
55 "lineColorFunctionType": "SUM",
56 "fields": [
57 {
58 "name": "string",
59 "columnName": "string",
60 "dataType": "BOOLEAN",
61 "length": 0,
62 "precision": 0,
63 "scale": 0,
64 "required": true,
65 "primaryKeyField": true,
66 "unique": true,
67 "autoGenerated": true,
68 "systemReserved": true,
69 "displayIndex": 0,
70 "version": 0,
71 "constrainingListName": "string",
72 "userSelectionStrategy": "USERS",
73 "allowMultipleSelections": true,
74 "primaryKeySeqNo": 0,
75 "readOnly": true,
76 "indexedForSearch": true,
77 "logicalDataType": "USER_GROUP",
78 "ownerName": "string"
79 }
80 ]
81}

Path Parameters

NameTypeRequiredDescription
transactionTypeId
string
true

The numerical ID of the transaction type object.

Request Body

The request body should be empty.

Not Available

Responses

StatusMeaningDescription
200OK

The request succeeded.

Schema
400Bad Request

The request was invalid.

Schema
404Not Found

The request did not find a transaction type with a matching ID or the transaction type was found but the table backing it was not found.

Schema