FIBUdataServiceStack

<back to all web services

OnlinehandelNeuerTypAnlegenRequest

The following routes are available for this service:
GET, POST/fibuscan/Onlinehandel/NeuerTypAnlegen
import Foundation
import ServiceStack

public class OnlinehandelNeuerTypAnlegenRequest : Codable
{
    public var bezeichnung:String
    public var suchfeld1:Int?
    public var suchfeld1_text:String
    public var suchfeld2:Int?
    public var suchfeld2_text:String
    public var del:Int?
    public var parent_id:Int?
    public var soll_parsen:Bool?
    public var guid:String

    required public init(){}
}

public class OnlinehandelNeuerTypAnlegenResponse : Codable
{
    public var errorMSG:String

    required public init(){}
}


Swift OnlinehandelNeuerTypAnlegenRequest DTOs

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

HTTP + XML

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: application/xml
Content-Type: application/xml
Content-Length: length

<OnlinehandelNeuerTypAnlegenRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FIBUdataServiceStack.ServiceModel.Messages">
  <bezeichnung>String</bezeichnung>
  <del>0</del>
  <guid>String</guid>
  <parent_id>0</parent_id>
  <soll_parsen>false</soll_parsen>
  <suchfeld1>0</suchfeld1>
  <suchfeld1_text>String</suchfeld1_text>
  <suchfeld2>0</suchfeld2>
  <suchfeld2_text>String</suchfeld2_text>
</OnlinehandelNeuerTypAnlegenRequest>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<OnlinehandelNeuerTypAnlegenResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FIBUdataServiceStack.ServiceModel.Messages">
  <errorMSG>String</errorMSG>
</OnlinehandelNeuerTypAnlegenResponse>