ScannerVision Web Server

<back to all web services

PostQuestion

Requires Authentication
The following routes are available for this service:
POST/{Brand}/question/{TemplateGuid}/{QuestionGuid}
import java.math.*
import java.util.*
import java.io.InputStream
import net.servicestack.client.*


open class PostQuestion : QuestionRequestDto()
{
    open var QuestionValueReturned:String? = null
    open var QuestionValueDisplayed:String? = null
    open var SelectedFolder:String? = 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,
}

Kotlin PostQuestion DTOs

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

HTTP + JSV

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

POST /{Brand}/question/{TemplateGuid}/{QuestionGuid} HTTP/1.1 
Host: dmsshow.kyocerasolutions.cz 
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length

{
	QuestionValueReturned: String,
	QuestionValueDisplayed: String,
	SelectedFolder: String,
	TemplateGuid: String,
	QuestionGuid: String,
	Parent: String,
	FolderBrowser: String,
	Brand: Desktop
}