ScannerVision Web Server

<back to all web services

JsonBrowsePicklistRequest

Requires Authentication
Imports System
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 JsonBrowsePicklistRequest
            Inherits JsonBrowseRequest
            Public Overridable Property TemplateGuid As String
            Public Overridable Property PicklistGuid As String
            Public Overridable Property Answers As IDictionary(Of String, String)
        End Class

        Public Partial Class JsonBrowseRequest
            Inherits JsonRequestDto
            Public Overridable Property Path As String
        End Class

        Public Partial Class JsonBrowseResponse
            Public Sub New()
                Folders = New String(){}
            End Sub

            Public Overridable Property Path As String
            Public Overridable Property Folders As String()
        End Class

        Public Partial Class JsonDto
        End Class

        Public Partial Class JsonRequestDto
            Inherits JsonDto
            Public Overridable Property ClientCode As String
            Public Overridable Property ClientRegistrationCode As String
            Public Overridable Property Token As String
        End Class
    End Namespace
End Namespace

VB.NET JsonBrowsePicklistRequest 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 /jsonl/reply/JsonBrowsePicklistRequest HTTP/1.1 
Host: buildmax.org 
Accept: text/jsonl
Content-Type: text/jsonl
Content-Length: length

{"TemplateGuid":"String","PicklistGuid":"String","Path":"String","ClientCode":"String","ClientRegistrationCode":"String","Token":"String"}
HTTP/1.1 200 OK
Content-Type: text/jsonl
Content-Length: length

{"Path":"String","Folders":["String"]}