tvpl.api

<back to all web services

MisaESignCallbackRequest

The following routes are available for this service:
POST/api/misa-esign/callback
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 MisaESignCallbackRequest
            Implements IPost
            Public Sub New()
                Signatures = New List(Of MisaESignCallbackSignature)
            End Sub

            Public Overridable Property MessageId As String
            Public Overridable Property ClientId As String
            Public Overridable Property ExtraData As Object
            Public Overridable Property Status As String
            Public Overridable Property ErrorCode As String
            Public Overridable Property TransactionId As String
            Public Overridable Property Signatures As List(Of MisaESignCallbackSignature)
        End Class

        Public Partial Class MisaESignCallbackResponse
            Public Overridable Property ErrorCode As String
            Public Overridable Property DevMsg As String
            Public Overridable Property UserMsg As String
        End Class

        Public Partial Class MisaESignCallbackSignature
            Public Overridable Property DocumentId As String
            Public Overridable Property Signature As String
        End Class
    End Namespace
End Namespace

VB.NET MisaESignCallbackRequest DTOs

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

HTTP + JSV

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

POST /api/misa-esign/callback HTTP/1.1 
Host: qlcn-api.vsmlab.vn 
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length

{
	messageId: String,
	clientId: String,
	extraData: {},
	status: String,
	errorCode: String,
	transactionId: String,
	signatures: 
	[
		{
			documentId: String,
			signature: String
		}
	]
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	errorCode: String,
	devMsg: String,
	userMsg: String
}