| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| ID | query | int | No | |
| Version | query | int | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| ID | form | int | No | |
| DocumentID | form | Guid | No | |
| Title | form | string | No | |
| Description | form | string | No | |
| ContextTitle | form | string | No | |
| Project | form | string | No | |
| Relation | form | string | No | |
| ImageKey | form | string | No | |
| Urgent | form | bool | No | |
| IsRead | form | bool | No | |
| AssignmentDate | form | DateTime? | No | |
| CompletionDate | form | DateTime? | No | |
| NumberOfComments | form | int | No | |
| ExtraField | form | string | No | |
| HasPreview | form | bool | No | |
| Extension | form | string | No | |
| IsInformative | form | bool | No | |
| HasPendingSideSteps | form | bool | No | |
| Actions | form | List<WorkflowTaskAction> | No | |
| CanAccept | form | bool | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| ID | form | int | No | |
| Title | form | string | No | |
| Type | form | string | No | |
| UseDialog | form | bool | No | |
| ConnectionID | form | Guid | No |
To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /jsv/reply/GetWorkflowTask HTTP/1.1
Host: doapigw.baasbv.nl
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length
{
ID: 0,
Version: 0
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length
{
ID: 0,
Title: String,
Description: String,
ContextTitle: String,
Project: String,
Relation: String,
ImageKey: String,
Urgent: False,
IsRead: False,
AssignmentDate: 0001-01-01,
CompletionDate: 0001-01-01,
NumberOfComments: 0,
ExtraField: String,
HasPreview: False,
Extension: String,
IsInformative: False,
HasPendingSideSteps: False,
Actions:
[
{
ID: 0,
Title: String,
Type: String,
UseDialog: False
}
],
CanAccept: False
}