| All Verbs | /RequestFranceWallet |
|---|
import Foundation
import ServiceStack
public class RequestFranceWallet : Codable
{
public var aesMemberID:String
required public init(){}
}
public class FrResponse : Codable
{
// @DataMember
public var hasError:Bool
// @DataMember
public var error:String
// @DataMember
public var memberData:FranceWalletMemberData
required public init(){}
}
public class FranceWalletMemberData : Codable
{
public var aesMemberID:String
public var memberID:String
public var forename:String
public var surname:String
public var tierDescription:Int
public var currentPoints:String
public var noofStaysToNextTier:String
required public init(){}
}
Swift RequestFranceWallet 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 /RequestFranceWallet HTTP/1.1
Host: bwdynamicsuat.rapp-customers.co.uk
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length
{
AESMemberID: String
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length
{
HasError: False,
Error: String,
MemberData:
{
AESMemberID: String,
MemberID: String,
Forename: String,
Surname: String,
TierDescription: 0,
CurrentPoints: String,
NoofStaysToNextTier: String
}
}