| All Verbs | /GetTimeStampValidation/{UserName} |
|---|
import java.math.*
import java.util.*
import net.servicestack.client.*
open class GetTimeStampValidation
{
var UserName:String? = null
var Password:String? = null
var LogHash:String? = null
var SignedData:String? = null
}
open class GetTimeStampValidationResponse
{
var Result:TimeStampValidationResult? = null
var ServiceSuccessResult:Boolean? = null
var ErrorMesage:String? = null
}
open class TimeStampValidationResult
{
var Status:String? = null
var Message:String? = null
var TimeStampDate:Date? = null
var TimeStampCertificate:DabCertificateClass? = null
}
open class DabCertificateClass
{
var SignerName:String? = null
var SignerUserSSN:String? = null
var SignerProvider:String? = null
var SignerCertStartDate:String? = null
var SignerCertEndDate:String? = null
var SignerCertBase64:String? = null
}
Kotlin GetTimeStampValidation 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.
POST /GetTimeStampValidation/{UserName} HTTP/1.1
Host: imzagerservices.eyyubiye.bel.tr
Accept: application/xml
Content-Type: application/xml
Content-Length: length
<GetTimeStampValidation xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DaB.Imzager.Services.ServiceModel">
<LogHash>String</LogHash>
<Password>String</Password>
<SignedData>String</SignedData>
<UserName>String</UserName>
</GetTimeStampValidation>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length
<GetTimeStampValidationResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DaB.Imzager.Services.ServiceModel">
<ErrorMesage>String</ErrorMesage>
<Result>
<Message>String</Message>
<Status>String</Status>
<TimeStampCertificate>
<SignerCertBase64>String</SignerCertBase64>
<SignerCertEndDate>String</SignerCertEndDate>
<SignerCertStartDate>String</SignerCertStartDate>
<SignerName>String</SignerName>
<SignerProvider>String</SignerProvider>
<SignerUserSSN>String</SignerUserSSN>
</TimeStampCertificate>
<TimeStampDate>0001-01-01T00:00:00</TimeStampDate>
</Result>
<ServiceSuccessResult>false</ServiceSuccessResult>
</GetTimeStampValidationResponse>