| All Verbs | /RequestFranceEnrolment |
|---|
"use strict";
export class FranceWalletMemberData {
/** @param {{AESMemberID?:string,MemberID?:string,Forename?:string,Surname?:string,TierDescription?:number,CurrentPoints?:string,NoofStaysToNextTier?:string}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {?string} */
AESMemberID;
/** @type {?string} */
MemberID;
/** @type {?string} */
Forename;
/** @type {?string} */
Surname;
/** @type {number} */
TierDescription;
/** @type {?string} */
CurrentPoints;
/** @type {?string} */
NoofStaysToNextTier;
}
export class FrResponse {
/** @param {{HasError?:boolean,Error?:string,MemberData?:FranceWalletMemberData}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {boolean} */
HasError;
/** @type {?string} */
Error;
/** @type {?FranceWalletMemberData} */
MemberData;
}
export class RequestFranceEnrolment {
/** @param {{AESMemberID?:string}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {?string} */
AESMemberID;
}
JavaScript RequestFranceEnrolment 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 /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
}
}