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 .jsv suffix or ?format=jsv

HTTP + JSV

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: 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
	}
}