| 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 .xml suffix or ?format=xml
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: application/xml
Content-Type: application/xml
Content-Length: length
<BrotherTemplateQuestionResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ScannerVision.WebService.ServiceModel">
<Brand>Desktop</Brand>
<FolderBrowser>String</FolderBrowser>
<Parent>String</Parent>
<QuestionGuid>String</QuestionGuid>
<TemplateGuid>String</TemplateGuid>
<Question i:nil="true" />
</BrotherTemplateQuestionResponse>