| POST | /ValidateDetails/ |
|---|
import Foundation
import ServiceStack
public class ValidateDetailsRequest : Codable
{
public var guid:String
public var postcode:String
public var number4:String
public var email:String
public var emailConfirm:String
required public init(){}
}
public class ValidateDetailsResponse : Codable
{
public var bpid:Int
public var isValid:Bool
public var isLocked:Bool
public var attemptsRemaining:Int
public var error:String
required public init(){}
}
Swift ValidateDetailsRequest DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .other suffix or ?format=other
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /ValidateDetails/ HTTP/1.1
Host: webservices.mbukdatabase.co.uk
Accept: text/jsonl
Content-Type: text/jsonl
Content-Length: length
{"GUID":"00000000000000000000000000000000","Postcode":"String","Number4":"String","Email":"String","EmailConfirm":"String"}
HTTP/1.1 200 OK
Content-Type: text/jsonl
Content-Length: length
{"BPID":0,"IsValid":false,"IsLocked":false,"AttemptsRemaining":0,"Error":"String"}