import datetime
import decimal
from marshmallow.fields import *
from servicestack import *
from typing import *
from dataclasses import dataclass, field
from dataclasses_json import dataclass_json, LetterCase, Undefined, config
from enum import Enum, IntEnum
@dataclass_json(letter_case=LetterCase.CAMEL, undefined=Undefined.EXCLUDE)
@dataclass
class UpsertKiSchemaBeispielResponse:
status: bool = False
schema_id: int = 0
@dataclass_json(letter_case=LetterCase.CAMEL, undefined=Undefined.EXCLUDE)
@dataclass
class UpsertKiSchemaBeispielRequest:
lizenz: Optional[str] = None
fehlerklasse_id: Optional[str] = None
schema_fingerprint: Optional[str] = None
fehler_meldung: Optional[str] = None
ki_analyse: Optional[str] = None
geaenderte_felder_json: Optional[str] = None
Python UpsertKiSchemaBeispielRequest 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 /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
}