FIBUdataServiceStack

<back to all web services

OnlinehandeOriginInfoZeileRequest

The following routes are available for this service:
GET, POST/fibuscan/Onlinehandel/OriginInfoZeile
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 OriginInfoZeile:
    kopf: Optional[str] = None
    value: Optional[str] = None
    kopfdef: Optional[str] = None


@dataclass_json(letter_case=LetterCase.CAMEL, undefined=Undefined.EXCLUDE)
@dataclass
class OnlinehandeOriginInfoZeileResponse:
    orgin_zeil: Optional[List[OriginInfoZeile]] = None


@dataclass_json(letter_case=LetterCase.CAMEL, undefined=Undefined.EXCLUDE)
@dataclass
class OnlinehandeOriginInfoZeileRequest:
    guid: Optional[str] = None
    fileguid: Optional[str] = None
    zeil_nummer: Optional[int] = None
    treffer_stelle: Optional[int] = None
    treffer_info: Optional[str] = None
    volltext: Optional[str] = None

Python OnlinehandeOriginInfoZeileRequest 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 /fibuscan/Onlinehandel/OriginInfoZeile HTTP/1.1 
Host: ws4.fibudata.net 
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length

{
	guid: String,
	Fileguid: String,
	ZeilNummer: 0,
	TrefferStelle: 0,
	TrefferInfo: String,
	Volltext: String
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	OrginZeil: 
	[
		{
			Kopf: String,
			value: String,
			Kopfdef: String
		}
	]
}