| GET | /workflow/statistics-by-type |
|---|
Imports System
Imports System.Collections
Imports System.Collections.Generic
Imports System.Runtime.Serialization
Imports ServiceStack
Imports ServiceStack.DataAnnotations
Imports tvpl.api.ServiceModel
Imports tvpl.data.Models
Namespace Global
Namespace tvpl.api.ServiceModel
Public Partial Class WorkflowStatisticsByTypeRequest
Public Overridable Property TypeId As Nullable(Of Integer)
End Class
Public Partial Class WorkflowStatisticsResponse
Public Sub New()
Data = New List(Of LeftMenuItem)
End Sub
Public Overridable Property Code As Integer
Public Overridable Property Message As String
Public Overridable Property Data As List(Of LeftMenuItem)
End Class
End Namespace
Namespace tvpl.data.Models
Public Partial Class LeftMenuItem
Public Sub New()
Children = New List(Of LeftMenuItem)
End Sub
Public Overridable Property Id As Integer
Public Overridable Property Name As String
Public Overridable Property Count As Integer
Public Overridable Property IsParty As Boolean
Public Overridable Property Level1ParentId As Integer
Public Overridable Property Level2ParentId As Integer
Public Overridable Property Level As Integer
Public Overridable Property Type As String
Public Overridable Property Key As String
<Ignore>
Public Overridable Property Children As List(Of LeftMenuItem)
End Class
End Namespace
End Namespace
VB.NET WorkflowStatisticsByTypeRequest 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 /workflow/statistics-by-type 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":[{"id":0,"name":"String","count":0,"isParty":false,"level1ParentId":0,"level2ParentId":0,"level":0,"type":"String","key":"String","children":[{"id":0,"name":"String","count":0,"isParty":false,"level1ParentId":0,"level2ParentId":0,"level":0,"type":"String","key":"String","children":[{"id":0,"name":"String","count":0,"isParty":false,"level1ParentId":0,"level2ParentId":0,"level":0,"type":"String","key":"String","children":null}]}]}]}