tvpl.api

<back to all web services

VerifyMisaESignRequest

Requires Authentication
The following routes are available for this service:
POST/api/misa-esign/verify
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 MisaESignCertificate
            Public Overridable Property UserId As String
            Public Overridable Property KeyAlias As String
            Public Overridable Property AppName As String
            Public Overridable Property KeyStatus As String
            Public Overridable Property EmailName As String
            Public Overridable Property EffectiveDate As String
            Public Overridable Property ExpirationDate As String
        End Class

        Public Partial Class MisaESignVerifyResponse
            Implements IResponseRequest
            Public Sub New()
                Certificates = New List(Of MisaESignCertificate)
            End Sub

            Public Overridable Property Ok As Boolean
            Public Overridable Property Code As Integer
            Public Overridable Property Message As String
            Public Overridable Property CertificateSerial As String
            Public Overridable Property Certificates As List(Of MisaESignCertificate)
        End Class

        Public Partial Class VerifyMisaESignRequest
            Implements IPost
            Public Overridable Property AccountSignatureId As Integer
            Public Overridable Property CertAlias As String
        End Class
    End Namespace
End Namespace

VB.NET VerifyMisaESignRequest 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/misa-esign/verify HTTP/1.1 
Host: qlcn-api.vsmlab.vn 
Accept: text/csv
Content-Type: text/csv
Content-Length: length

{"accountSignatureId":0,"certAlias":"String"}
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length

{"ok":false,"code":0,"message":"String","certificateSerial":"String","certificates":[{"userId":"String","keyAlias":"String","appName":"String","keyStatus":"String","emailName":"String","effectiveDate":"String","expirationDate":"String"}]}