ScannerVision Web Server

<back to all web services

BrotherTemplateQuestionResponse

Requires Authentication
The following routes are available for this service:
All Verbs/{Brand}/templates/{TemplateGuid}/submit
import java.math.*
import java.util.*
import java.io.InputStream
import net.servicestack.client.*


open class BrotherTemplateQuestionResponse : QuestionRequestDto()
{
    open var Question:IClientQuestion? = null
}

open class QuestionRequestDto : RequestBase()
{
    open var TemplateGuid:String? = null
    open var QuestionGuid:String? = null
    open var Parent:String? = null
    open var FolderBrowser:String? = null
}

open class RequestBase : DtoBase()
{
}

open class DtoBase
{
    open var Brand:Brand? = null
}

enum class Brand
{
    Desktop,
    Hp,
    Kyocera,
    NeaScan,
    Samsung,
    FujiXerox,
    Ta,
    Utax,
    Epson,
    ScanFront400,
    Sharp,
    Ricoh,
    FujiFilm,
    Brother,
}

interface IClientQuestion : ITemplateQuestion
{
    var QuestionGuid:String?
    var ValueDisplayed:String?
    var ValueReturned:String?
    var Answered:Boolean?
    var RegexMatches:Boolean?
    var RegexHint:String?
}

Kotlin BrotherTemplateQuestionResponse 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}/templates/{TemplateGuid}/submit HTTP/1.1 
Host: dmsshow.kyocerasolutions.cz 
Accept: text/jsonl
Content-Type: text/jsonl
Content-Length: length

{"TemplateGuid":"String","QuestionGuid":"String","Parent":"String","FolderBrowser":"String","Brand":"Desktop"}