ScannerVision Web Server

<back to all web services

GetJsonTemplateInfos

Requires Authentication
Imports System
Imports System.IO
Imports System.Collections
Imports System.Collections.Generic
Imports System.Runtime.Serialization
Imports ServiceStack
Imports ServiceStack.DataAnnotations
Imports ScannerVision.WebService.Json.Dto

Namespace Global

    Namespace ScannerVision.WebService.Json.Dto

        Public Partial Class GetJsonTemplateInfos
            Inherits JsonDto
        End Class

        Public Partial Class GetJsonTemplateInfosResponse
            Inherits JsonDto
            Public Overridable Property TemplateInfos As JsonTemplateInfo()
        End Class

        Public Partial Class JsonDto
        End Class

        Public Partial Class JsonTemplateInfo
            Public Overridable Property Guid As String
            Public Overridable Property TemplateModificationDate As Date
            Public Overridable Property IconModificationDate As Date
        End Class
    End Namespace
End Namespace

VB.NET GetJsonTemplateInfos 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 /csv/reply/GetJsonTemplateInfos HTTP/1.1 
Host: dmsshow.kyocerasolutions.cz 
Accept: text/csv
Content-Type: text/csv
Content-Length: length

{}
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length

{"TemplateInfos":[{"Guid":"String","TemplateModificationDate":"\/Date(-62135596800000-0000)\/","IconModificationDate":"\/Date(-62135596800000-0000)\/"}]}