| All Verbs | /{Brand}/question/{TemplateGuid}/{QuestionGuid}/{PickListGuid}/{listCount} | ||
|---|---|---|---|
| All Verbs | /{Brand}/question/{TemplateGuid}/{QuestionGuid}/{PickListGuid}/{listCount}/{searchString} |
import java.math.*
import java.util.*
import net.servicestack.client.*
open class QuestionPickList : QuestionRequestDto()
{
var PickListGuid:String? = null
var listCount:String? = null
var searchString: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 .json suffix or ?format=json
To embed the response in a jsonp callback, append ?callback=myCallback
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /{Brand}/question/{TemplateGuid}/{QuestionGuid}/{PickListGuid}/{listCount} HTTP/1.1
Host: buildmax.org
Accept: application/json
Content-Type: application/json
Content-Length: length
{"PickListGuid":"String","listCount":"String","searchString":"String","TemplateGuid":"String","QuestionGuid":"String","Parent":"String","FolderBrowser":"String","Brand":"Desktop"}