| 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 .xml suffix or ?format=xml
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/xml
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length
<MisaESignCertificatesResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/tvpl.api.ServiceModel">
<Code>0</Code>
<Data>
<MisaESignCertificate>
<AppName>String</AppName>
<EffectiveDate>String</EffectiveDate>
<EmailName>String</EmailName>
<ExpirationDate>String</ExpirationDate>
<KeyAlias>String</KeyAlias>
<KeyStatus>String</KeyStatus>
<UserId>String</UserId>
</MisaESignCertificate>
</Data>
<Message>String</Message>
</MisaESignCertificatesResponse>