ImzagerServices

<back to all web services

SignHashWithData

The following routes are available for this service:
All Verbs/SignHashWithData/{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 SignHashWithData
            Public Overridable Property ClientKey As String
            Public Overridable Property AuthorizationID As String
            Public Overridable Property UserSSN As String
            Public Overridable Property HashData As String
            Public Overridable Property Message As String
        End Class

        Public Partial Class SignHashWithDataResponse
            Public Sub New()
                Result = New Byte(){}
            End Sub

            Public Overridable Property Result As Byte()
            Public Overridable Property ServiceSuccessResult As Boolean
            Public Overridable Property ErrorMesage As String
        End Class
    End Namespace
End Namespace

VB.NET SignHashWithData 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 /SignHashWithData/{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","HashData":"String","Message":"String"}
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length

{"Result":"AA==","ServiceSuccessResult":false,"ErrorMesage":"String"}