tvpl.api

<back to all web services

MisaESignCallbackRequest

The following routes are available for this service:
POST/api/misa-esign/callback
namespace tvpl.api.ServiceModel

open System
open System.Collections
open System.Collections.Generic
open System.Runtime.Serialization
open ServiceStack
open ServiceStack.DataAnnotations

    [<AllowNullLiteral>]
    type MisaESignCallbackResponse() = 
        member val ErrorCode:String = null with get,set
        member val DevMsg:String = null with get,set
        member val UserMsg:String = null with get,set

    [<AllowNullLiteral>]
    type MisaESignCallbackSignature() = 
        member val DocumentId:String = null with get,set
        member val Signature:String = null with get,set

    [<AllowNullLiteral>]
    type MisaESignCallbackRequest() = 
        interface IPost
        member val MessageId:String = null with get,set
        member val ClientId:String = null with get,set
        member val ExtraData:Object = null with get,set
        member val Status:String = null with get,set
        member val ErrorCode:String = null with get,set
        member val TransactionId:String = null with get,set
        member val Signatures:ResizeArray<MisaESignCallbackSignature> = new ResizeArray<MisaESignCallbackSignature>() with get,set

F# MisaESignCallbackRequest DTOs

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

To embed the response in a jsonp callback, append ?callback=myCallback

HTTP + JSON

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: application/json
Content-Type: application/json
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: application/json
Content-Length: length

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