| POST | /{Brand}/question/{TemplateGuid}/{QuestionGuid} |
|---|
import java.math.*
import java.util.*
import net.servicestack.client.*
open class PostQuestion : QuestionRequestDto()
{
var QuestionValueReturned:String? = null
var QuestionValueDisplayed:String? = null
var SelectedFolder:String? = null
}
open class QuestionRequestDto : RequestBase()
{
var TemplateGuid:String? = null
var QuestionGuid:String? = null
var Parent:String? = null
var FolderBrowser:String? = null
}
open class RequestBase : DtoBase()
{
}
open class DtoBase
{
var Brand:Brand? = null
}
enum class Brand
{
Desktop,
Hp,
Kyocera,
NeaScan,
Samsung,
FujiXerox,
Ta,
Utax,
Epson,
ScanFront400,
Sharp,
Ricoh,
FujiFilm,
}
To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=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: buildmax.org
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
}