Page History
The Blueriq web application is equipped with a REST API to expose methods to allow clients to control the flowing of the application. This page describes call by call the flow that is traversed when using the Hospital DCM example project.
Call after starting up DCM
Endpoint: POST /api/v2/session/{sessionId}/load
Request: http://localhost:8080/server/api/v2/session/975b7516-6363-4b3a-a5aa-ee461f7ef481/load
Calls after clicking New >> Case
Endpoint: POST api/v2/
session/{sessionId}/event
...
Code Block | ||||
---|---|---|---|---|
| ||||
{ "events": [ { "sessionId": "97e80378-9c5e-4257-9703-266fc60962cc", "type": "sessionClosed" }, { "sessionId": "6cb4c524-4d70-46bf-b6a6-ddcb69b3b894", "type": "sessionClosed" }, { "sessionId": "eb1735e6-c6e7-454a-99b5-af3c01d0d30f", "type": "page", "changes": { "changes": [ ... { "key": "P784-C2-C1", "model": { "children": [], "contentStyle": "dashboard_flowwidget", "displayName": "New Case", "key": "P784-C2-C1", "name": "Widget_NewCase", "properties": { "info": "WidgetInfo_NewCaseWidget" }, "styles": [], "type": "container" }, "type": "add" }, ... ] } } ] } |
...
Endpoint: POST /api/v2
/
session/{sessionId}/widget/{infoKey}
...
Code Block | ||||
---|---|---|---|---|
| ||||
{"sessionId":"4eb58794-b0be-4d82-aaf0-32b5027022bd"} |
Call after filling in postal code
Endpoint: POST
api/v2/session/{sessionId}/event
...
Overview
Content Tools