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: README.md
+84-17
Original file line number
Diff line number
Diff line change
@@ -87,10 +87,45 @@ GET
87
87
#### Headers
88
88
No specific headers required apart from standard authentication headers if needed.
89
89
90
-
### 2. `/v1/admin/event-flow-control/entity`
90
+
### Request Example
91
+
```http
92
+
GET /v1/admin/reports/getreportbymsgid?msgid=1234567890 HTTP/1.1
93
+
```
94
+
95
+
#### Response
96
+
97
+
-**Status 400 Bad Request:** When `msgid` is missing or invalid.
98
+
```json
99
+
{
100
+
"statusCode": 400,
101
+
"code": "FST_ERR_VALIDATION",
102
+
"error": "Bad Request",
103
+
"message": "querystring must have required property 'msgid'"
104
+
}
105
+
```
106
+
107
+
- **Status 204 Not Found:** When no report is found for the given `msgid`.
108
+
```json
109
+
{
110
+
"statusCode": 204,
111
+
}
112
+
```
113
+
114
+
- **Status 500 Internal Server Error:** For server-side errors.
115
+
```json
116
+
{
117
+
"status": "error",
118
+
"message": "Internal server error occurred."
119
+
}
120
+
```
121
+
122
+
123
+
### 2.
124
+
##### a. `/v1/admin/event-flow-control/entity`
125
+
##### b. `/v1/admin/event-flow-control/account`
91
126
92
127
#### Description
93
-
This endpoint stores entity conditions and condition edges in ArangoDB as well as in an in-memory data storage system.
128
+
Both endpoints are responsible for storing conditions related to their specific accounts or entities and are expected to store condition edges within the in-memory system.
94
129
95
130
#### Flow Diagram
96
131
```mermaid
@@ -108,16 +143,24 @@ sequenceDiagram
108
143
tmsapi->>clientsystem: writeOK(recordId)
109
144
```
110
145
111
-
#### URL
146
+
#### URL 1
112
147
```
113
148
/v1/admin/event-flow-control/entity
114
149
```
115
-
116
-
#### Method
150
+
#### Method 1
117
151
```
118
152
POST
119
153
```
120
154
155
+
#### URL 2
156
+
```
157
+
/v1/admin/event-flow-control/account
158
+
```
159
+
#### Method 2
160
+
```
161
+
POST
162
+
```
163
+
**Both endpoints share all properties except for ntty and acct. These properties are specific to each endpoint and indicate the governing condition**
121
164
#### Body
122
165
123
166
| Parameter | Type | Required | Description |
@@ -130,14 +173,21 @@ POST
130
173
|`condRsn`| String | Yes | Reason code. |
131
174
|`forceCret`| Boolean | Yes | Flag indicating whether the entity should be created if it does not exist. |
132
175
|`usr`| String | Yes | User that triggered the operation. |
0 commit comments