| POST | /api/workflows/cancel |
|---|
Imports System
Imports System.IO
Imports System.Collections
Imports System.Collections.Generic
Imports System.Runtime.Serialization
Imports ServiceStack
Imports ServiceStack.DataAnnotations
Imports IDB.Workflow.API.Operations
Namespace Global
Namespace IDB.Workflow.API.Operations
'''<Summary>
'''Cancel a workflow.
'''</Summary>
<Api(Description:="Cancel a workflow.")>
Public Partial Class CancelWorkflowOperation
'''<Summary>
'''ID of the workflow to cancel
'''</Summary>
<ApiMember(Description:="ID of the workflow to cancel", IsRequired:=true)>
Public Overridable Property WorkflowID As Integer
End Class
End Namespace
End Namespace
VB.NET CancelWorkflowOperation DTOs
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 /api/workflows/cancel HTTP/1.1
Host: test-do-services.klokgroep.nl
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length
{
WorkflowID: 0
}