WebService

<back to all web services

UpsertKiSchemaBeispielRequest

import Foundation
import ServiceStack

public class UpsertKiSchemaBeispielRequest : Codable
{
    public var lizenz:String
    public var fehlerklasseId:String
    public var schemaFingerprint:String
    public var fehlerMeldung:String
    public var kiAnalyse:String
    public var geaenderteFelderJson:String

    required public init(){}
}

public class UpsertKiSchemaBeispielResponse : Codable
{
    public var status:Bool
    public var schemaId:Int

    required public init(){}
}


Swift UpsertKiSchemaBeispielRequest DTOs

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

HTTP + JSV

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

POST /jsv/reply/UpsertKiSchemaBeispielRequest HTTP/1.1 
Host: 52.142.207.43 
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length

{
	Lizenz: String,
	FehlerklasseId: String,
	SchemaFingerprint: String,
	FehlerMeldung: String,
	KiAnalyse: String,
	GeaenderteFelderJson: String
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	Status: False,
	SchemaId: 0
}