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
{
__type: "IDB.API.DTO.Workflow.Operations.GetWorkflowTask, IDB.API.DTO",
ID: 0,
Version: 0
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length
{
__type: "IDB.API.DTO.Workflow.WorkflowTask, IDB.API.DTO",
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:
[
{
__type: "IDB.API.DTO.Workflow.WorkflowTaskAction, IDB.API.DTO",
ID: 0,
Title: String,
Type: String,
UseDialog: False
}
],
CanAccept: False
}