tvpl.api

<back to all web services

MisaESignCallbackRequest

The following routes are available for this service:
POST/api/misa-esign/callback
MisaESignCallbackRequest Parameters:
NameParameterData TypeRequiredDescription
MessageIdbodystringNo
ClientIdbodystringNo
ExtraDatabodyObjectNo
StatusbodystringNo
ErrorCodebodystringNo
TransactionIdbodystringNo
SignaturesbodyList<MisaESignCallbackSignature>No
MisaESignCallbackSignature Parameters:
NameParameterData TypeRequiredDescription
DocumentIdformstringNo
SignatureformstringNo
MisaESignCallbackResponse Parameters:
NameParameterData TypeRequiredDescription
ErrorCodeformstringYes
DevMsgformstringNo
UserMsgformstringNo

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
}