tvpl.api

<back to all web services

GetMisaESignCertificatesRequest

Requires Authentication
The following routes are available for this service:
GET/api/misa-esign/certificates
using System;
using System.Collections;
using System.Collections.Generic;
using System.Runtime.Serialization;
using ServiceStack;
using ServiceStack.DataAnnotations;
using tvpl.api.ServiceModel;

namespace tvpl.api.ServiceModel
{
    public partial class GetMisaESignCertificatesRequest
        : IGet
    {
        public virtual int AccountSignatureId { get; set; }
    }

    public partial class MisaESignCertificate
    {
        public virtual string UserId { get; set; }
        public virtual string KeyAlias { get; set; }
        public virtual string AppName { get; set; }
        public virtual string KeyStatus { get; set; }
        public virtual string EmailName { get; set; }
        public virtual string EffectiveDate { get; set; }
        public virtual string ExpirationDate { get; set; }
    }

    public partial class MisaESignCertificatesResponse
        : IResponseRequest
    {
        public MisaESignCertificatesResponse()
        {
            Data = new List<MisaESignCertificate>{};
        }

        public virtual List<MisaESignCertificate> Data { get; set; }
        public virtual int Code { get; set; }
        public virtual string Message { get; set; }
    }

}

C# GetMisaESignCertificatesRequest 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.

GET /api/misa-esign/certificates HTTP/1.1 
Host: qlcn-api.vsmlab.vn 
Accept: application/json
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

{"data":[{"userId":"String","keyAlias":"String","appName":"String","keyStatus":"String","emailName":"String","effectiveDate":"String","expirationDate":"String"}],"code":0,"message":"String"}