ImzagerServices

<back to all web services

GetCertificate

The following routes are available for this service:
All Verbs/GetCertificate/{ClientKey}
Imports System
Imports System.Collections
Imports System.Collections.Generic
Imports System.Runtime.Serialization
Imports ServiceStack
Imports ServiceStack.DataAnnotations
Imports DaB.Imzager.Services.ServiceModel

Namespace Global

    Namespace DaB.Imzager.Services.ServiceModel

        Public Partial Class DabCertificateClass
            Public Overridable Property SignerName As String
            Public Overridable Property SignerUserSSN As String
            Public Overridable Property SignerProvider As String
            Public Overridable Property SignerCertStartDate As String
            Public Overridable Property SignerCertEndDate As String
            Public Overridable Property SignerCertBase64 As String
        End Class

        Public Partial Class GetCertificate
            Public Overridable Property ClientKey As String
            Public Overridable Property AuthorizationID As String
            Public Overridable Property UserSSN As String
        End Class

        Public Partial Class GetCertificateResponse
            Public Overridable Property Result As DabCertificateClass
            Public Overridable Property ServiceSuccessResult As Boolean
            Public Overridable Property ErrorMesage As String
        End Class
    End Namespace
End Namespace

VB.NET GetCertificate DTOs

To override the Content-type in your clients, use the HTTP Accept Header, append the .csv suffix or ?format=csv

HTTP + CSV

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /GetCertificate/{ClientKey} HTTP/1.1 
Host: imzagerservices.eyyubiye.bel.tr 
Accept: text/csv
Content-Type: text/csv
Content-Length: length

{"ClientKey":"String","AuthorizationID":"String","UserSSN":"String"}
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length

{"Result":{"SignerName":"String","SignerUserSSN":"String","SignerProvider":"String","SignerCertStartDate":"String","SignerCertEndDate":"String","SignerCertBase64":"String"},"ServiceSuccessResult":false,"ErrorMesage":"String"}