| GET | /WorkflowStep/flowchart |
|---|
Imports System
Imports System.Collections
Imports System.Collections.Generic
Imports System.Runtime.Serialization
Imports ServiceStack
Imports ServiceStack.DataAnnotations
Imports tvpl.api.ServiceModel
Namespace Global
Namespace tvpl.api.ServiceModel
Public Partial Class GetWorkflowFlowchartRequest
Public Overridable Property WorkflowId As Integer
End Class
Public Partial Class GetWorkflowFlowchartResponse
Implements IResponseRequest
Public Sub New()
Data = New List(Of WorkflowNode)
End Sub
Public Overridable Property Code As Integer
Public Overridable Property Message As String
Public Overridable Property Data As List(Of WorkflowNode)
End Class
Public Partial Class WorkflowNode
Public Overridable Property StepId As Integer
Public Overridable Property StepName As String
Public Overridable Property SignerId As Integer
Public Overridable Property SignerName As String
Public Overridable Property DepartmentName As String
Public Overridable Property Telephone As String
Public Overridable Property Avatar As String
Public Overridable Property Email As String
Public Overridable Property SignerType As Byte
Public Overridable Property ActionType As Byte
Public Overridable Property Status As Integer
Public Overridable Property StatusText As String
Public Overridable Property SignStatusText As String
Public Overridable Property SignAt As Nullable(Of Date)
Public Overridable Property IsSigned As Boolean
Public Overridable Property ConfirmStatus As Nullable(Of Integer)
Public Overridable Property ConfirmStatusText As String
Public Overridable Property SignedFileId As Nullable(Of Integer)
Public Overridable Property SignedFileName As String
Public Overridable Property IsCurrent As Boolean
Public Overridable Property ReasonReturn As String
Public Overridable Property ReturnDate As Nullable(Of Date)
Public Overridable Property ActionDate As Nullable(Of Date)
Public Overridable Property OrderIndex As Integer
Public Overridable Property IsUsingForm As Boolean
End Class
End Namespace
End Namespace
VB.NET GetWorkflowFlowchartRequest DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .other suffix or ?format=other
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
GET /WorkflowStep/flowchart HTTP/1.1 Host: etc-api.vsmlab.vn Accept: text/jsonl
HTTP/1.1 200 OK
Content-Type: text/jsonl
Content-Length: length
{"code":0,"message":"String","data":[{"stepId":0,"stepName":"String","signerId":0,"signerName":"String","departmentName":"String","telephone":"String","avatar":"String","email":"String","signerType":0,"actionType":0,"status":0,"statusText":"String","signStatusText":"String","signAt":"0001-01-01T00:00:00.0000000+07:06","isSigned":false,"confirmStatus":0,"confirmStatusText":"String","signedFileId":0,"signedFileName":"String","isCurrent":false,"reasonReturn":"String","returnDate":"0001-01-01T00:00:00.0000000+07:06","actionDate":"0001-01-01T00:00:00.0000000+07:06","orderIndex":0,"isUsingForm":false}]}