| 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 .xml suffix or ?format=xml
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/xml
Content-Type: application/xml
Content-Length: length
<RequestFranceEnrolment xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RAPP.BW.MovableInk">
<AESMemberID>String</AESMemberID>
</RequestFranceEnrolment>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length
<FrResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RAPP.BW.MovableInk">
<Error>String</Error>
<HasError>false</HasError>
<MemberData>
<AESMemberID>String</AESMemberID>
<CurrentPoints>String</CurrentPoints>
<Forename>String</Forename>
<MemberID>String</MemberID>
<NoofStaysToNextTier>String</NoofStaysToNextTier>
<Surname>String</Surname>
<TierDescription>0</TierDescription>
</MemberData>
</FrResponse>