FIBUdataServiceStack

<back to all web services

PasswortVergessenRequest

The following routes are available for this service:
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 .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/PasswortVergessen HTTP/1.1 
Host: ws4.fibudata.net 
Accept: application/xml
Content-Type: application/xml
Content-Length: length

<PasswortVergessenRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FIBUdataServiceStack.ServiceModel.Messages">
  <Email>String</Email>
  <Mandnr>0</Mandnr>
  <Oem>fibudata</Oem>
</PasswortVergessenRequest>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

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