| GET | /{Brand}/browse/{TemplateGuid}/{QuestionGuid}/{PicklistGuid}/ | ||
|---|---|---|---|
| GET | /{Brand}/browse/{TemplateGuid}/{QuestionGuid}/{PicklistGuid}/search/{SearchTerm} | ||
| GET | /{Brand}/browse/{TemplateGuid}/{QuestionGuid}/{PicklistGuid}/{Path} | ||
| GET | /{Brand}/browse/{TemplateGuid}/{QuestionGuid}/{PicklistGuid}/{Path}/search/{SearchTerm} | ||
| All Verbs | /{Brand}/browse/{BrowseType}/ | ||
| All Verbs | /{Brand}/browse/{BrowseType}/ | ||
| All Verbs | /{Brand}/browse/{BrowseType}/{Path} | ||
| All Verbs | /{Brand}/browse/{BrowseType}/{Path} |
namespace ScannerVision.WebService.ServiceModel
open System
open System.Collections
open System.Collections.Generic
open System.Runtime.Serialization
open ServiceStack
open ServiceStack.DataAnnotations
type Brand =
| Desktop = 0
| Hp = 1
| Kyocera = 2
| NeaScan = 3
| Samsung = 4
| FujiXerox = 5
| Ta = 6
| Utax = 7
| Epson = 8
| ScanFront400 = 9
| Sharp = 10
| Ricoh = 11
| FujiFilm = 12
[<AllowNullLiteral>]
type DtoBase() =
member val Brand:Brand = new Brand() with get,set
[<AllowNullLiteral>]
type RequestBase() =
inherit DtoBase()
[<AllowNullLiteral>]
type BrowseRequest() =
inherit RequestBase()
member val Path:String = null with get,set
[<AllowNullLiteral>]
type BrowsePicklistRequest() =
inherit BrowseRequest()
member val PicklistGuid:String = null with get,set
member val Answers:IDictionary<String, String> = null with get,set
[<AllowNullLiteral>]
type WebClientPicklistRequest() =
inherit BrowsePicklistRequest()
member val TemplateGuid:String = null with get,set
member val QuestionGuid:String = null with get,set
member val SearchTerm:String = null with get,set
F# WebClientPicklistRequest DTOs
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}/browse/{BrowseType}/ HTTP/1.1
Host: buildmax.org
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length
{
TemplateGuid: String,
QuestionGuid: String,
SearchTerm: String,
PicklistGuid: String,
Path: String,
Brand: Desktop
}