| GET, POST | /fibuscan/Onlinehandel/info-box-details/import |
|---|
import Foundation
import ServiceStack
public class OnlinehandelInfoBoxImportRequest : Codable
{
public var wert:String
public var vonDatum:Date?
public var bisDatum:Date?
public var aktiv:Bool
public var istWebclient2Aktiv:Bool
public var istWebclient3Aktiv:Bool
public var istWebclientAlphaAktiv:Bool
required public init(){}
}
public class OnlinehandelInfoBoxImportResponse : Codable
{
public var error:String
public var result:Bool
required public init(){}
}
Swift OnlinehandelInfoBoxImportRequest DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .xml suffix or ?format=xml
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /fibuscan/Onlinehandel/info-box-details/import HTTP/1.1
Host: ws4.fibudata.net
Accept: application/xml
Content-Type: application/xml
Content-Length: length
<OnlinehandelInfoBoxImportRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FIBUdataServiceStack.ServiceModel.Messages">
<aktiv>false</aktiv>
<bisDatum>0001-01-01T00:00:00</bisDatum>
<istWebclient2Aktiv>false</istWebclient2Aktiv>
<istWebclient3Aktiv>false</istWebclient3Aktiv>
<istWebclientAlphaAktiv>false</istWebclientAlphaAktiv>
<vonDatum>0001-01-01T00:00:00</vonDatum>
<wert>String</wert>
</OnlinehandelInfoBoxImportRequest>
HTTP/1.1 200 OK Content-Type: application/xml Content-Length: length <OnlinehandelInfoBoxImportResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FIBUdataServiceStack.ServiceModel.Messages"> <error>String</error> <result>false</result> </OnlinehandelInfoBoxImportResponse>