Skip to content
This repository was archived by the owner on Sep 8, 2020. It is now read-only.

Commit b9c569a

Browse files
committed
Docs
1 parent 3419c80 commit b9c569a

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

README.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,18 @@ Restful web API for InterSystems Ensemble Workflow
44
## Installation
55
1. Import and compile this project.
66
2. Create a web-application for REST in the Portal Management System (for ex. /csp/workflow/rest). Set dispatch class to Workflow.REST, Authentication methods to 'Unauthorized' and 'Password'.
7+
3. (Optional) add Workflow packagfe mapping if you need to query another namespace.
8+
9+
10+
##Requests
11+
-----------
12+
13+
These are the possible requests to web application (add param ?Namespace={Desired Namespace} to query another namespace cubes):
14+
15+
| URL | Type | Body (JSON) | Response | Description |
16+
|-----------------------------|------|-----------------------------|-----------|--------------------------------|
17+
| login | POST | { "Username":"CacheUser","Password":"CachePassword" }| JSON| Current user|
18+
| tasks | GET | | JSON | Unassigned tasks or assigned to current user |
19+
| tasks/:id | GET | | JSON | EnsLib.Workflow.Worklist object|
20+
| tasks/:id | POST |{EnsLib.Workflow.Worklist object}JSON | Processing of modified object |
21+
| test | GET | | JSON | Test info |

0 commit comments

Comments
 (0)