DigiOffice API Services Services

<back to all web services

GetMultiTaskOperation

Get a multitask.

Requires Authentication
The following routes are available for this service:
POST/api/workflowmultitasks
import java.math.*
import java.util.*
import java.io.InputStream
import net.servicestack.client.*


/**
* Get a multitask.
*/
@Api(Description="Get a multitask.")
open class GetMultiTaskOperation
{
    /**
    * ID of the workflow task(s) to return
    */
    @ApiMember(Description="ID of the workflow task(s) to return", IsRequired=true)
    open var TaskIDs:ArrayList<Int> = ArrayList<Int>()
}

open class WorkflowMultiTaskDTO
{
    open var MultiTask:WorkflowTaskDTO? = null
    open var TaskIDs:ArrayList<Int>? = null
}

open class WorkflowTaskDTO
{
    open var ID:Int? = null
    open var Name:String? = null
    open var WorkflowID:Int? = null
    open var WorkflowDescription:String? = null
    open var RootWorkflowID:Int? = null
    open var TransitionID:UUID? = null
    open var TransitionName:String? = null
    open var ActivationID:UUID? = null
    open var TypeID:Int? = null
    open var TypeDescription:String? = null
    open var StatusID:Int? = null
    open var StatusDescription:String? = null
    open var UserID:Int? = null
    open var Active:Boolean? = null
    open var OfferedDate:Date? = null
    open var AssignedDate:Date? = null
    open var StartDate:Date? = null
    open var ExpirationDate:Date? = null
    open var Order:Int? = null
    open var Progress:Float? = null
    open var FinishedDate:Date? = null
    open var FinishedByUserID:Int? = null
    open var FinishedDocumentID:UUID? = null
    open var Read:Boolean? = null
    open var DeferDate:Date? = null
    open var DeferReason:String? = null
    open var Reason:String? = null
    open var Urgent:Boolean? = null
    open var Status:String? = null
    open var AvailableActions:ArrayList<WorkflowTaskActionDTO>? = null
    open var FinishActions:ArrayList<WorkflowTaskActionDTO>? = null
    open var CommentActions:ArrayList<WorkflowTaskActionDTO>? = null
    open var DocumentActions:ArrayList<WorkflowTaskActionDTO>? = null
    open var NumberOfComments:Int? = null
    open var RelativeDetailLink:String? = null
    open var FirstSideStepID:Int? = null
    open var FirstSideStepOmschr:String? = null
    open var FirstSideStepDetailLink:String? = null
    open var IsSideStepOfWorkflowID:Int? = null
    open var IsSideStepOfWorkflowOmschr:String? = null
    open var IsSideStepOfWorkflowDetailLink:String? = null
    open var IsSideStepOfTaskID:Int? = null
    open var IsSideStepOfTaskOmschr:String? = null
    open var IsSideStepOfTaskDetailLink:String? = null
    open var IsObservedID:Int? = null
    open var IsObservedOmschr:String? = null
    open var IsObservedDetailLink:String? = null
}

open class WorkflowTaskActionDTO
{
    open var BeginGroup:Boolean? = null
    open var DigiOfficeIcon:String? = null
    open var Enabled:Boolean? = null
    open var FontAwesomeIcon:String? = null
    open var Hint:String? = null
    open var Name:String? = null
    open var ShowTextForRootItems:Boolean? = null
    open var Text:String? = null
    open var Url:String? = null
    open var Items:ArrayList<WorkflowTaskActionDTO>? = null
}

Kotlin GetMultiTaskOperation DTOs

To override the Content-type in your clients, use the HTTP Accept Header, append the .csv suffix or ?format=csv

HTTP + CSV

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /api/workflowmultitasks HTTP/1.1 
Host: test-do-services.klokgroep.nl 
Accept: text/csv
Content-Type: text/csv
Content-Length: length

{"TaskIDs":[0]}
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length

{"MultiTask":{"ID":0,"Name":"String","WorkflowID":0,"WorkflowDescription":"String","RootWorkflowID":0,"TransitionID":"00000000-0000-0000-0000-000000000000","TransitionName":"String","ActivationID":"00000000-0000-0000-0000-000000000000","TypeID":0,"TypeDescription":"String","StatusID":0,"StatusDescription":"String","UserID":0,"Active":false,"OfferedDate":"0001-01-01T00:00:00.0000000","AssignedDate":"0001-01-01T00:00:00.0000000","StartDate":"0001-01-01T00:00:00.0000000","ExpirationDate":"0001-01-01T00:00:00.0000000","Order":0,"Progress":0,"FinishedDate":"0001-01-01T00:00:00.0000000","FinishedByUserID":0,"FinishedDocumentID":"00000000-0000-0000-0000-000000000000","Read":false,"DeferDate":"0001-01-01T00:00:00.0000000","DeferReason":"String","Reason":"String","Urgent":false,"Status":"String","AvailableActions":null,"FinishActions":null,"CommentActions":null,"DocumentActions":null,"NumberOfComments":0,"RelativeDetailLink":"String","FirstSideStepID":0,"FirstSideStepOmschr":"String","FirstSideStepDetailLink":"String","IsSideStepOfWorkflowID":0,"IsSideStepOfWorkflowOmschr":"String","IsSideStepOfWorkflowDetailLink":"String","IsSideStepOfTaskID":0,"IsSideStepOfTaskOmschr":"String","IsSideStepOfTaskDetailLink":"String","IsObservedID":0,"IsObservedOmschr":"String","IsObservedDetailLink":"String"},"TaskIDs":[0]}