| All Verbs | /{Brand}/templates/{TemplateGuid}/submit |
|---|
import java.math.*;
import java.util.*;
import java.io.InputStream;
import net.servicestack.client.*;
public class dtos
{
public static class BrotherTemplateQuestionResponse extends QuestionRequestDto
{
public IClientQuestion Question = null;
public IClientQuestion getQuestion() { return Question; }
public BrotherTemplateQuestionResponse setQuestion(IClientQuestion value) { this.Question = value; return this; }
}
public static class QuestionRequestDto extends RequestBase
{
public String TemplateGuid = null;
public String QuestionGuid = null;
public String Parent = null;
public String FolderBrowser = null;
public String getTemplateGuid() { return TemplateGuid; }
public QuestionRequestDto setTemplateGuid(String value) { this.TemplateGuid = value; return this; }
public String getQuestionGuid() { return QuestionGuid; }
public QuestionRequestDto setQuestionGuid(String value) { this.QuestionGuid = value; return this; }
public String getParent() { return Parent; }
public QuestionRequestDto setParent(String value) { this.Parent = value; return this; }
public String getFolderBrowser() { return FolderBrowser; }
public QuestionRequestDto setFolderBrowser(String value) { this.FolderBrowser = value; return this; }
}
public static class RequestBase extends DtoBase
{
}
public static class DtoBase
{
public Brand Brand = null;
public Brand getBrand() { return Brand; }
public DtoBase setBrand(Brand value) { this.Brand = value; return this; }
}
public static enum Brand
{
Desktop,
Hp,
Kyocera,
NeaScan,
Samsung,
FujiXerox,
Ta,
Utax,
Epson,
ScanFront400,
Sharp,
Ricoh,
FujiFilm,
Brother;
}
public static interface IClientQuestion implements ITemplateQuestion
{
public String QuestionGuid = null;
public String ValueDisplayed = null;
public String ValueReturned = null;
public Boolean Answered = null;
public Boolean RegexMatches = null;
public String RegexHint = null;
}
}
Java BrotherTemplateQuestionResponse DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .other suffix or ?format=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"}