RAPP.BW.MovableInk

<back to all web services

RequestFranceEnrolment

Requires Authentication
The following routes are available for this service:
All Verbs/RequestFranceEnrolment
import Foundation
import ServiceStack

public class RequestFranceEnrolment : 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 RequestFranceEnrolment DTOs

To override the Content-type in your clients, use the HTTP Accept Header, append the .json suffix or ?format=json

To embed the response in a jsonp callback, append ?callback=myCallback

HTTP + JSON

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /RequestFranceEnrolment HTTP/1.1 
Host: bwdynamicsuat.rapp-customers.co.uk 
Accept: application/json
Content-Type: application/json
Content-Length: length

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

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