WebService

<back to all web services

UpdateActionRequest

import java.math.*
import java.util.*
import net.servicestack.client.*


open class UpdateActionRequest
{
    var CryptedLicenseNr:String? = null
    var CryptedStamp:String? = null
    var Action:UpdateAction? = null
}

enum class UpdateAction
{
    DoCheckVersion,
    DoNothing,
    DoUpdate,
    DoDowngrade,
    SendVersionlist,
    Delete,
    Install,
    Execute,
    Copy,
    Move,
    Error,
}

open class UpdateActionResponse
{
    var Answer:UpdateAction? = null
    var AnswerInfo1:String? = null
    var AnswerInfo2:String? = null
    var ModulVersionen:HashMap<String,ModulVersionsInfo> = HashMap<String,ModulVersionsInfo>()
}

open class ModulVersionsInfo
{
    var Modul:String? = null
    var PruefAssembly:String? = null
    var istTestVersion:Boolean? = null
    var istDisabled:Boolean? = null
    var URL:String? = null
    var willTestVersion:Boolean? = null
    var Major:Int? = null
    var Minor:Int? = null
    var Build:Int? = null
    var Revision:Int? = null
}

Kotlin UpdateActionRequest 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.

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

{"CryptedLicenseNr":"String","CryptedStamp":"String","Action":"doCheckVersion"}
HTTP/1.1 200 OK
Content-Type: text/jsonl
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}}}