You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: ce/docs/EntityRelationControllerApi.md
+2-23Lines changed: 2 additions & 23 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,8 +14,7 @@
14
14
|[**findEntityRelationsByTo**](#findEntityRelationsByTo)|**GET** /api/relations/to/{toType}/{toId} | Get List of Relations (findEntityRelationsByTo) |
15
15
|[**findEntityRelationsByToAndRelationType**](#findEntityRelationsByToAndRelationType)|**GET** /api/relations/to/{toType}/{toId}/{relationType} | Get List of Relations (findEntityRelationsByToAndRelationType) |
16
16
|[**getRelation**](#getRelation)|**GET** /api/relation | Get Relation (getRelation) |
@@ -291,33 +290,13 @@ Returns relation object between two specified entities if present. Otherwise thr
291
290
292
291
## saveRelation
293
292
294
-
> saveRelation(entityRelation)
293
+
> EntityRelation saveRelation(entityRelation)
295
294
296
295
Create Relation (saveRelation)
297
296
298
297
Creates or updates a relation between two entities in the platform. Relations unique key is a combination of from/to entity id and relation type group and relation type. If the user has the authority of 'System Administrator', the server checks that 'from' and 'to' entities are owned by the sysadmin. If the user has the authority of 'Tenant Administrator', the server checks that 'from' and 'to' entities are owned by the same tenant. If the user has the authority of 'Customer User', the server checks that the 'from' and 'to' entities are assigned to the same customer.
Creates or updates a relation between two entities in the platform. Relations unique key is a combination of from/to entity id and relation type group and relation type. If the user has the authority of 'System Administrator', the server checks that 'from' and 'to' entities are owned by the sysadmin. If the user has the authority of 'Tenant Administrator', the server checks that 'from' and 'to' entities are owned by the same tenant. If the user has the authority of 'Customer User', the server checks that the 'from' and 'to' entities are assigned to the same customer.
"description": "Creates or updates a relation between two entities in the platform. Relations unique key is a combination of from/to entity id and relation type group and relation type. \n\nIf the user has the authority of 'System Administrator', the server checks that 'from' and 'to' entities are owned by the sysadmin. If the user has the authority of 'Tenant Administrator', the server checks that 'from' and 'to' entities are owned by the same tenant. If the user has the authority of 'Customer User', the server checks that the 'from' and 'to' entities are assigned to the same customer.",
"description": "Creates or updates a relation between two entities in the platform. Relations unique key is a combination of from/to entity id and relation type group and relation type. \n\nIf the user has the authority of 'System Administrator', the server checks that 'from' and 'to' entities are owned by the sysadmin. If the user has the authority of 'Tenant Administrator', the server checks that 'from' and 'to' entities are owned by the same tenant. If the user has the authority of 'Customer User', the server checks that the 'from' and 'to' entities are assigned to the same customer.",
40364
-
"operationId": "saveRelationAndReturn",
40228
+
"operationId": "saveRelation",
40365
40229
"requestBody": {
40366
40230
"content": {
40367
40231
"application/json": {
@@ -47247,7 +47111,7 @@
47247
47111
"message": "User password expired!",
47248
47112
"errorCode": 15,
47249
47113
"timestamp": 1609459200000,
47250
-
"resetToken": "zfY1Qqi3tXlHwN2G8F4Z3D5iwG5dRH"
47114
+
"resetToken": "GKUiVvgXp7IFwt5ZQhyTLh0MsE8trE"
47251
47115
}
47252
47116
}
47253
47117
}
@@ -47357,7 +47221,7 @@
47357
47221
"message": "User password expired!",
47358
47222
"errorCode": 15,
47359
47223
"timestamp": 1609459200000,
47360
-
"resetToken": "zfY1Qqi3tXlHwN2G8F4Z3D5iwG5dRH"
47224
+
"resetToken": "GKUiVvgXp7IFwt5ZQhyTLh0MsE8trE"
47361
47225
}
47362
47226
}
47363
47227
}
@@ -85955,12 +85819,15 @@
85955
85819
"type": "object",
85956
85820
"properties": {
85957
85821
"created": {
85822
+
"type": "integer",
85958
85823
"format": "int32"
85959
85824
},
85960
85825
"updated": {
85826
+
"type": "integer",
85961
85827
"format": "int32"
85962
85828
},
85963
85829
"errors": {
85830
+
"type": "integer",
85964
85831
"format": "int32"
85965
85832
},
85966
85833
"errorsList": {
@@ -85975,12 +85842,15 @@
85975
85842
"type": "object",
85976
85843
"properties": {
85977
85844
"created": {
85845
+
"type": "integer",
85978
85846
"format": "int32"
85979
85847
},
85980
85848
"updated": {
85849
+
"type": "integer",
85981
85850
"format": "int32"
85982
85851
},
85983
85852
"errors": {
85853
+
"type": "integer",
85984
85854
"format": "int32"
85985
85855
},
85986
85856
"errorsList": {
@@ -85995,12 +85865,15 @@
85995
85865
"type": "object",
85996
85866
"properties": {
85997
85867
"created": {
85868
+
"type": "integer",
85998
85869
"format": "int32"
85999
85870
},
86000
85871
"updated": {
85872
+
"type": "integer",
86001
85873
"format": "int32"
86002
85874
},
86003
85875
"errors": {
85876
+
"type": "integer",
86004
85877
"format": "int32"
86005
85878
},
86006
85879
"errorsList": {
@@ -92966,6 +92839,7 @@
92966
92839
"sent": {
92967
92840
"type": "object",
92968
92841
"additionalProperties": {
92842
+
"type": "integer",
92969
92843
"format": "int32"
92970
92844
},
92971
92845
"description": "Number of successfully sent notifications per delivery method",
@@ -92985,6 +92859,7 @@
92985
92859
"description": "Errors per delivery method. Each entry maps recipient name to error message"
92986
92860
},
92987
92861
"totalErrors": {
92862
+
"type": "integer",
92988
92863
"format": "int32",
92989
92864
"description": "Total number of errors across all delivery methods"
0 commit comments