ScannerVision Web Server

<back to all web services

UploadedRequest

Requires Authentication
The following routes are available for this service:
GET/{Brand}/uploaded/{TemplateGuid}/
GET/{Brand}/uploaded/{TemplateGuid}/{FileNameGuid}

export enum Brand
{
    Desktop = 'Desktop',
    Hp = 'Hp',
    Kyocera = 'Kyocera',
    NeaScan = 'NeaScan',
    Samsung = 'Samsung',
    FujiXerox = 'FujiXerox',
    Ta = 'Ta',
    Utax = 'Utax',
    Epson = 'Epson',
    ScanFront400 = 'ScanFront400',
    Sharp = 'Sharp',
    Ricoh = 'Ricoh',
    FujiFilm = 'FujiFilm',
}

export class DtoBase
{
    public Brand: Brand;

    public constructor(init?: Partial<DtoBase>) { (Object as any).assign(this, init); }
}

export class RequestBase extends DtoBase
{

    public constructor(init?: Partial<RequestBase>) { super(init); (Object as any).assign(this, init); }
}

export class UploadedRequest extends RequestBase
{
    public TemplateGuid: string;
    public FileNameGuid: string;

    public constructor(init?: Partial<UploadedRequest>) { super(init); (Object as any).assign(this, init); }
}

export class ResponseBase extends DtoBase
{
    public SelectedUiLanguage: string;
    public svSession: string;
    public Title: string;
    public PageTip: string;
    public NewBrowser: boolean;
    public ScanFront400TA: boolean;
    public ScanFront400UTAX: boolean;

    public constructor(init?: Partial<ResponseBase>) { super(init); (Object as any).assign(this, init); }
}

export class UploadResponse extends ResponseBase
{
    public InError: boolean;
    public ErrorMessage: string;
    public TemplateGuid: string;

    public constructor(init?: Partial<UploadResponse>) { super(init); (Object as any).assign(this, init); }
}

TypeScript UploadedRequest DTOs

To override the Content-type in your clients, use the HTTP Accept Header, append the .other suffix or ?format=other

HTTP + OTHER

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

GET /{Brand}/uploaded/{TemplateGuid}/ HTTP/1.1 
Host: buildmax.org 
Accept: text/jsonl
HTTP/1.1 200 OK
Content-Type: text/jsonl
Content-Length: length

{Unable to show example output for type 'UploadResponse' using the custom 'other' filter}No parameterless constructor defined for this object.