FIBUdataServiceStack

<back to all web services

OnlinehandelNeuerTypAnlegenRequest

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


@dataclass_json(letter_case=LetterCase.CAMEL, undefined=Undefined.EXCLUDE)
@dataclass
class OnlinehandelNeuerTypAnlegenRequest:
    bezeichnung: Optional[str] = None
    suchfeld1: Optional[int] = None
    suchfeld1_text: Optional[str] = None
    suchfeld2: Optional[int] = None
    suchfeld2_text: Optional[str] = None
    del_: Optional[int] = field(metadata=config(field_name='del'), default=None)
    parent_id: Optional[int] = None
    soll_parsen: Optional[bool] = None
    guid: Optional[str] = None

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

{"bezeichnung":"String","suchfeld1":0,"suchfeld1_text":"String","suchfeld2":0,"suchfeld2_text":"String","del":0,"parent_id":0,"soll_parsen":false,"guid":"String"}
HTTP/1.1 200 OK
Content-Type: text/jsonl
Content-Length: length

{"errorMSG":"String"}