WebService

<back to all web services

GetKiNegativProtokollRequest

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 KiKorrekturSignal:
    aktion_typ: Optional[str] = None
    tabelle: Optional[str] = None
    feldname: Optional[str] = None
    aenderungs_beschreibung: Optional[str] = None
    fehler_meldung: Optional[str] = None
    aufgerufe_von: Optional[str] = None
    urspruengliche_fehlertext: Optional[str] = None


@dataclass_json(letter_case=LetterCase.CAMEL, undefined=Undefined.EXCLUDE)
@dataclass
class GetKiNegativProtokollResponse:
    status: bool = False
    signale: Optional[List[KiKorrekturSignal]] = None


@dataclass_json(letter_case=LetterCase.CAMEL, undefined=Undefined.EXCLUDE)
@dataclass
class GetKiNegativProtokollRequest:
    lizenz: Optional[str] = None
    roh_limit: int = 0

Python GetKiNegativProtokollRequest 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/GetKiNegativProtokollRequest HTTP/1.1 
Host: 52.142.207.43 
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length

{
	Lizenz: String,
	RohLimit: 0
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	Status: False,
	Signale: 
	[
		{
			AktionTyp: String,
			Tabelle: String,
			Feldname: String,
			AenderungsBeschreibung: String,
			FehlerMeldung: String,
			AufgerufeVon: String,
			UrspruenglicheFehlertext: String
		}
	]
}