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 .xml suffix or ?format=xml

HTTP + XML

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

<MisaESignCallbackRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/tvpl.api.ServiceModel">
  <ClientId>String</ClientId>
  <ErrorCode>String</ErrorCode>
  <ExtraData />
  <MessageId>String</MessageId>
  <Signatures>
    <MisaESignCallbackSignature>
      <DocumentId>String</DocumentId>
      <Signature>String</Signature>
    </MisaESignCallbackSignature>
  </Signatures>
  <Status>String</Status>
  <TransactionId>String</TransactionId>
</MisaESignCallbackRequest>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<MisaESignCallbackResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/tvpl.api.ServiceModel">
  <DevMsg>String</DevMsg>
  <ErrorCode>String</ErrorCode>
  <UserMsg>String</UserMsg>
</MisaESignCallbackResponse>