ScannerVision Web Server

<back to all web services

GetFile

Requires Authentication
The following routes are available for this service:
All Verbs/{Brand}/files/{FileName}
Imports System
Imports System.Collections
Imports System.Collections.Generic
Imports System.Runtime.Serialization
Imports ServiceStack
Imports ServiceStack.DataAnnotations
Imports ScannerVision.WebService.ServiceModel

Namespace Global

    Namespace ScannerVision.WebService.ServiceModel

        Public Enum Brand
            Desktop
            Hp
            Kyocera
            NeaScan
            Samsung
            FujiXerox
            Ta
            Utax
            Epson
            ScanFront400
            Sharp
            Ricoh
            FujiFilm
        End Enum

        Public Partial Class DtoBase
            Public Overridable Property Brand As Brand
        End Class

        Public Partial Class GetFile
            Inherits RequestBase
            Public Overridable Property FileName As String
        End Class

        Public Partial Class RequestBase
            Inherits DtoBase
        End Class
    End Namespace
End Namespace

VB.NET GetFile 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 /{Brand}/files/{FileName} HTTP/1.1 
Host: buildmax.org 
Accept: text/jsonl
Content-Type: text/jsonl
Content-Length: length

{"FileName":"String","Brand":"Desktop"}