RAPP.BW.MovableInk

<back to all web services

RequestFranceWallet

Requires Authentication
The following routes are available for this service:
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 .csv suffix or ?format=csv

HTTP + CSV

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/csv
Content-Type: text/csv
Content-Length: length

{"AESMemberID":"String"}
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length

{"HasError":false,"Error":"String","MemberData":{"AESMemberID":"String","MemberID":"String","Forename":"String","Surname":"String","TierDescription":0,"CurrentPoints":"String","NoofStaysToNextTier":"String"}}