| POST | /api/misa-esign/callback |
|---|
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| MessageId | body | string | No | |
| ClientId | body | string | No | |
| ExtraData | body | Object | No | |
| Status | body | string | No | |
| ErrorCode | body | string | No | |
| TransactionId | body | string | No | |
| Signatures | body | List<MisaESignCallbackSignature> | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| DocumentId | form | string | No | |
| Signature | form | string | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| ErrorCode | form | string | Yes | |
| DevMsg | form | string | No | |
| UserMsg | form | string | No |
To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=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
}