Child: [40882e] (diff)

Download this file

UIApi.html    242 lines (241 with data), 6.9 kB

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html><head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1"><title>UIApi</title></head>
<body>
<table style="text-align: left;" border="1" cellpadding="2" cellspacing="2">
<tbody>
<tr>
<td>Operation</td>
<td>Endpoint details</td>
<td>Form/Querystring fields</td>
<td>Output</td>
</tr>
<tr>
<td>User Login</td>
<td>Method: POST<br>
Path: /user-account</td>
<td>
<ol>
<li>userid : String</li>
<li>password : String</li>
<li>action : String - "login"</li>
</ol>
</td>
<td>String : "success"</td>
</tr>
<tr>
<td>User Registration</td>
<td>Method: POST<br>
Path: /user-account</td>
<td>
<ol>
<li>userid : String</li>
<li>email : String</li>
<li>password : String</li>
<li>action : String - "register"</li>
</ol>
</td>
<td>String : "registration success"</td>
</tr>
<tr>
<td>Create business process</td>
<td>Method : POST<br>
Path :&nbsp; /uiapi/businessprocess/[business process name]/create<br>
<br>
<ul>
<li>business process name - name of the new business
process to be created</li>
</ul>
</td>
<td>
<ol>
<li>user - String</li>
<li>description - String</li>
</ol>
</td>
<td>businessprocessId, <br>
messages Array<br>
<br>
<a href="createbp.json">Sample Create business
process response JSON</a></td>
</tr>
<tr>
<td>Upload documents</td>
<td>Method : POST<br>
Path : /uiapi/businessprocess/[business process id]/docupload/[doctype]<br>
<ul>
<li>doctype : String - Allowed values : "CONTEXT" ,
&nbsp;"RISK"</li>
<li>business process id : unique id of the business
process</li>
</ul>
</td>
<td>
<ol>
<li>user - String</li>
<li>uploadType - String ("url"||"file")</li><li>document - File</li><li>documentUrl - String</li>
</ol>
</td>
<td>JSON<br>
<br>
messages Array</td>
</tr>
<tr>
<td>Get business process list</td>
<td>Method : GET<br>
Path : /lists/businessprocess/[user] &nbsp;<br>
OR<br>
Path : /lists/businessprocess <br>
</td>
<td>
<ol>
<li>term : String</li>
</ol>
</td>
<td><a href="businessprocesslist.json">Business
process list JSON</a></td>
</tr>
<tr>
<td>Get alternates list</td>
<td>Method : GET<br>
Path :&nbsp;/lists/alternate/[businessprocessid]</td>
<td>
<ol>
<li>term : String</li>
</ol>
</td>
<td><a href="alternatelist.json">Alternate
list JSON</a></td>
</tr>
<tr>
<td>Get status</td>
<td>Method : GET<br>
Path : /uiapi/businessprocess/[businessprocessid]/status</td>
<td></td>
<td><a href="status.json">Status JSON</a></td>
</tr>
<tr>
<td>Get Alternate</td>
<td>Method : GET<br>
Path : /uiapi/alternate/[businessprocessid]</td>
<td>
<ol>
<li>risk - String</li>
<li>altIdx - String</li>
</ol>
</td>
<td><a href="alternate.json">Alternate JSON</a></td>
</tr>
<tr>
<td>Get costing</td>
<td>Method: POST<br>
Path : /uiapi/costings</td>
<td>
<ol>
<li>user - String</li>
<li>data - String (JSON with cost inputs - <a href="costInputs.json">Sample</a>)</li>
</ol>
</td>
<td>&nbsp;<a href="costanalysis.json">Cost
Analysis JSON</a></td>
</tr>
<tr>
<td>Upload Artifact</td>
<td>Method: POST<br>
Path : /uiapi/artifact/[business process id]/upload</td>
<td>
<ol>
<li>artifactName : String</li>
<li>user : String</li>
<li>artifactResource : String</li>
<li>artifactUrl : String</li>
<li>source : String ("local"||"url")</li>
<li>artifactFile : File</li>
</ol>
</td>
<td>JSON<br>
<br>
messages Array</td>
</tr>
<tr><td>Delete Artifact</td><td>Method: POST<br>Path : /uiapi/artifact/[business process id]/delete</td><td><ol><li>artifactId : String</li><li>user : String</li></ol></td><td>JSON<br>
<br>
messages Array</td></tr><tr>
<td>Artifact List</td>
<td>Method: GET<br>
Path : /lists/artifacts/[business process id]</td>
<td></td>
<td><a href="artifactlist.json">Artifact List
JSON</a></td>
</tr>
<tr>
<td>Resource List</td>
<td>Method : GET<br>
Path : /lists/resources/[business process id]</td>
<td>
<ol>
<li>term : String</li>
</ol>
</td>
<td><a href="resourcelist.json">Resource List
JSON</a></td>
</tr>
<tr><td>Status List</td><td>Method : GET<br>Path : /lists/status</td><td></td><td><a href="statuslist.json">Status List JSON</a></td></tr><tr>
<td>Recommendation</td>
<td>Method : POST<br>
Path /uiapi/businessprocess/[business process id]/recommendation</td>
<td>
<ol>
<li>user : String</li>
<li>risk : String</li>
<li>altIdx : String</li>
<li>preserve : Boolean</li>
</ol>
</td>
<td>JSON <br>
<br>
Messages Array</td>
</tr>
<tr>
<td>Get Metadata</td>
<td>Method : GET<br>
Path : /uiapi/metadata/[business process id]/get</td>
<td>
<ol>
<li>type : String {"project"||"artifact"}</li>
<li>artifactId : String (when type = "artifact")</li>
</ol>
</td>
<td><a href="projectmetadata.json">Project
Metadata JSON</a><br>
<a href="artifactmetadata.json">Artifact Metadata
JSON</a></td>
</tr>
<tr>
<td>Save Metadata</td>
<td>Method : POST<br>
Path : /uiapi/metadata/[business process id]/save</td>
<td>
<ol>
<li>type : String {"project"||"artifact"}</li>
<li>data : String (Metadata JSON)</li>
<li>artifactId : String (when type = "artifact")</li>
<li>user : String</li>
</ol>
</td>
<td>JSON <br>
<br>
Messages Array</td>
</tr>
<tr><td>Save verification data</td><td>Method : POST<br>Path : /uiapi/verification/[business process id]/save</td><td><ol><li>user : String</li><li>verificationXml : String</li></ol></td><td>JSON <br>
<br>
Messages Array</td></tr><tr><td>Get verification data</td><td>Method : GET<br>Path : /uiapi/verification/[business process id]/get</td><td></td><td>Verification Data</td></tr><tr><td>Create package</td><td>Method : POST<br>
Path : /uiapi/businessprocess/[business process id]/package</td><td><ol><li>user : String</li></ol></td><td>JSON <br>
<br>
Messages Array</td></tr><tr><td>Get package</td><td>Method : GET<br>Path : /uiapi/package/[business process id]</td><td></td><td><a href="package_sample.owl">Context Model</a></td></tr><tr><td>Preserve</td><td>Method : POST<br>Path : /uiapi/businessprocess/[business process id]/preserve</td><td><ol><li>user : String</li><li>repoId : String</li></ol></td><td>JSON <br>
<br>
Messages Array</td></tr><tr><td>Retrieve</td><td>Method : POST<br>Path : /uiapi/businessprocess/[business process id]/retrieve</td><td><ol><li>user : String</li><li>repoId : String</li></ol></td><td>JSON <br>
<br>
Messages Array</td></tr><tr><td>Set status</td><td>Method : POST<br>Path : /uiapi/businessprocess/[business process id]/setstatus</td><td><ol><li>user : String</li><li>statuscode : String </li></ol></td><td>JSON <br><br>Messages Array</td></tr><tr><td>Events</td><td>Method : GET<br>Path : /uiapi/businessprocess/[business process id]/events</td><td><ol><li>limit : integer</li></ol></td><td><a href="events.json">Events JSON</a></td></tr></tbody>
</table>
<br>
</body></html>