tvpl.api

<back to all web services

GetLegalApprovalConfigRequest

Requires Authentication
The following routes are available for this service:
GET/WorkflowStep/legal-approval-config
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 GetLegalApprovalConfigRequest
            Public Overridable Property WorkflowId As Integer
        End Class

        Public Partial Class GetLegalApprovalConfigResponse
            Implements IResponseRequest
            Public Sub New()
                Approvers = New List(Of StampClerkOption)
            End Sub

            Public Overridable Property Code As Integer
            Public Overridable Property Message As String
            Public Overridable Property Enabled As Boolean
            Public Overridable Property Approvers As List(Of StampClerkOption)
        End Class

        Public Partial Class StampClerkOption
            Public Overridable Property Id As Integer
            Public Overridable Property FullName As String
            Public Overridable Property DepartmentName As String
        End Class
    End Namespace
End Namespace

VB.NET GetLegalApprovalConfigRequest DTOs

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

HTTP + OTHER

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

GET /WorkflowStep/legal-approval-config 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","enabled":false,"approvers":[{"id":0,"fullName":"String","departmentName":"String"}]}