ImzagerServices

<back to all web services

DownloadDocument

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

        Public Partial Class DownloadDocumentResponse
            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 DownloadDocument DTOs

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

HTTP + OTHER

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

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

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

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