import Foundation
import ServiceStack
public class SaveKiVorschlagEreignisRequest : Codable
{
public var lizenz:String
public var ereignisTyp:String
public var mandantDatenbank:String
public var abrechnungsinformationId:Int
public var anzahlVorschlaege:Int?
public var vorschlagJson:String
public var journalJson:String
public var fehlerklasseId:String
required public init(){}
}
public class SaveKiVorschlagEreignisResponse : Codable
{
public var status:Bool
public var ereignisId:Int
required public init(){}
}
Swift SaveKiVorschlagEreignisRequest DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /jsv/reply/SaveKiVorschlagEreignisRequest HTTP/1.1
Host: 52.142.207.43
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length
{
Lizenz: String,
EreignisTyp: String,
MandantDatenbank: String,
AbrechnungsinformationId: 0,
AnzahlVorschlaege: 0,
VorschlagJson: String,
JournalJson: String,
FehlerklasseId: String
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length
{
Status: False,
EreignisId: 0
}