ImzagerServices

<back to all web services

SignContentV2

The following routes are available for this service:
All Verbs/SignContentV2/{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 SignContentResponse
            Public Sub New()
                Content = New Byte(){}
            End Sub

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

        Public Partial Class SignContentV2
            Public Sub New()
                Content = New Byte(){}
            End Sub

            Public Overridable Property ClientKey As String
            Public Overridable Property AuthorizationID As String
            Public Overridable Property UserSSN As String
            Public Overridable Property Content As Byte()
            Public Overridable Property SignerSSN As String
            Public Overridable Property SignerEMail As String
            Public Overridable Property SignMessage As String
        End Class
    End Namespace
End Namespace

VB.NET SignContentV2 DTOs

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

To embed the response in a jsonp callback, append ?callback=myCallback

HTTP + JSON

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

POST /SignContentV2/{ClientKey} HTTP/1.1 
Host: imzagerservices.eyyubiye.bel.tr 
Accept: application/json
Content-Type: application/json
Content-Length: length

{"ClientKey":"String","AuthorizationID":"String","UserSSN":"String","Content":"AA==","SignerSSN":"String","SignerEMail":"String","SignMessage":"String"}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

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