import Foundation
import ServiceStack
public class SaveKiAnalyseRequest : Codable
{
public var lizenz:String
public var abrechnungsinformationId:Int
public var fehlerMeldung:String
public var warnungen:String
public var kiAnalyse:String
public var loesungskategorie:String
public var rating:Int
public var kategorieId:Int?
required public init(){}
}
public class SaveKiAnalyseResponse : Codable
{
public var status:Bool
public var analyseId:Int
required public init(){}
}
Swift SaveKiAnalyseRequest 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 /xml/reply/SaveKiAnalyseRequest HTTP/1.1
Host: 52.142.207.43
Accept: application/xml
Content-Type: application/xml
Content-Length: length
<ecUpdaterLicenseCommModel.SaveKiAnalyseRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EndianUpdaterLicenser">
<AbrechnungsinformationId>0</AbrechnungsinformationId>
<FehlerMeldung>String</FehlerMeldung>
<KategorieId>0</KategorieId>
<KiAnalyse>String</KiAnalyse>
<Lizenz>String</Lizenz>
<Loesungskategorie>String</Loesungskategorie>
<Rating>0</Rating>
<Warnungen>String</Warnungen>
</ecUpdaterLicenseCommModel.SaveKiAnalyseRequest>
HTTP/1.1 200 OK Content-Type: application/xml Content-Length: length <ecUpdaterLicenseCommModel.SaveKiAnalyseResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EndianUpdaterLicenser"> <AnalyseId>0</AnalyseId> <Status>false</Status> </ecUpdaterLicenseCommModel.SaveKiAnalyseResponse>