WebService

<back to all web services

UpdateActionRequest


export enum UpdateAction
{
    doCheckVersion = 'doCheckVersion',
    doNothing = 'doNothing',
    doUpdate = 'doUpdate',
    doDowngrade = 'doDowngrade',
    sendVersionlist = 'sendVersionlist',
    delete = 'delete',
    install = 'install',
    execute = 'execute',
    copy = 'copy',
    move = 'move',
    Error = 'Error',
}

export class ModulVersionsInfo
{
    public Modul: string;
    public PruefAssembly: string;
    public istTestVersion: boolean;
    public istDisabled: boolean;
    public URL: string;
    public willTestVersion: boolean;
    public Major: number;
    public Minor: number;
    public Build: number;
    public Revision: number;

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

export class UpdateActionResponse
{
    public Answer: UpdateAction;
    public AnswerInfo1: string;
    public AnswerInfo2: string;
    public ModulVersionen: { [index: string]: ModulVersionsInfo; };

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

export class UpdateActionRequest
{
    public CryptedLicenseNr: string;
    public CryptedStamp: string;
    public Action: UpdateAction;

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

TypeScript UpdateActionRequest DTOs

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

HTTP + CSV

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

POST /csv/reply/UpdateActionRequest HTTP/1.1 
Host: 52.142.207.43 
Accept: text/csv
Content-Type: text/csv
Content-Length: length

{"CryptedLicenseNr":"String","CryptedStamp":"String","Action":"doCheckVersion"}
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length

{"Answer":"doCheckVersion","AnswerInfo1":"String","AnswerInfo2":"String","ModulVersionen":{"String":{"Modul":"String","PruefAssembly":"String","istTestVersion":false,"istDisabled":false,"URL":"String","willTestVersion":false,"Major":0,"Minor":0,"Build":0,"Revision":0}}}