tvpl.api

<back to all web services

GetMisaESignCertificatesRequest

Requires Authentication
The following routes are available for this service:
GET/api/misa-esign/certificates
import java.math.*;
import java.util.*;
import net.servicestack.client.*;

public class dtos
{

    public static class GetMisaESignCertificatesRequest implements IGet
    {
        public Integer accountSignatureId = null;
        
        public Integer getAccountSignatureId() { return accountSignatureId; }
        public GetMisaESignCertificatesRequest setAccountSignatureId(Integer value) { this.accountSignatureId = value; return this; }
    }

    public static class MisaESignCertificatesResponse implements IResponseRequest
    {
        public ArrayList<MisaESignCertificate> data = null;
        public Integer code = null;
        public String message = null;
        
        public ArrayList<MisaESignCertificate> getData() { return data; }
        public MisaESignCertificatesResponse setData(ArrayList<MisaESignCertificate> value) { this.data = value; return this; }
        public Integer getCode() { return code; }
        public MisaESignCertificatesResponse setCode(Integer value) { this.code = value; return this; }
        public String getMessage() { return message; }
        public MisaESignCertificatesResponse setMessage(String value) { this.message = value; return this; }
    }

    public static class MisaESignCertificate
    {
        public String userId = null;
        public String keyAlias = null;
        public String appName = null;
        public String keyStatus = null;
        public String emailName = null;
        public String effectiveDate = null;
        public String expirationDate = null;
        
        public String getUserId() { return userId; }
        public MisaESignCertificate setUserId(String value) { this.userId = value; return this; }
        public String getKeyAlias() { return keyAlias; }
        public MisaESignCertificate setKeyAlias(String value) { this.keyAlias = value; return this; }
        public String getAppName() { return appName; }
        public MisaESignCertificate setAppName(String value) { this.appName = value; return this; }
        public String getKeyStatus() { return keyStatus; }
        public MisaESignCertificate setKeyStatus(String value) { this.keyStatus = value; return this; }
        public String getEmailName() { return emailName; }
        public MisaESignCertificate setEmailName(String value) { this.emailName = value; return this; }
        public String getEffectiveDate() { return effectiveDate; }
        public MisaESignCertificate setEffectiveDate(String value) { this.effectiveDate = value; return this; }
        public String getExpirationDate() { return expirationDate; }
        public MisaESignCertificate setExpirationDate(String value) { this.expirationDate = value; return this; }
    }

}

Java GetMisaESignCertificatesRequest DTOs

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.

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

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