| GET, POST | /fibuscan/PasswortVergessen |
|---|
import Foundation
import ServiceStack
public class PasswortVergessenRequest : Codable
{
public var email:String
public var mandnr:Int?
public var oem:Oem
required public init(){}
}
public enum Oem : Int, Codable
{
case fibudata = 0
case spectrum = 3
}
public class PasswordVergessenResponse : Codable
{
public var result:Bool
required public init(){}
}
Swift PasswortVergessenRequest 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 /fibuscan/PasswortVergessen HTTP/1.1
Host: ws4.fibudata.net
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length
{
Email: String,
Mandnr: 0,
Oem: fibudata
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length
{
Result: False
}