| All Verbs | /RequestMemberbyGUID |
|---|
"use strict";
export class MemberData {
/** @param {{MemberSummaryId?:string,MemberId?:string,MemberStatus?:string,ClubCode?:string,TierCode?:string,YtdBasePoints?:number,YtdNightCount?:number,PointsToNextTier?:number,NightsToNextTier?:number,ProgramCode?:string,CurrentPoints?:number,TotalBasePoints?:number,TotalBonusPoints?:number,YTDStayCount?:number,Surname?:string,Forename?:string,StaysToNextTier?:number,LanguagePreference?:string,CountryName?:string}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {?string} */
MemberSummaryId;
/** @type {?string} */
MemberId;
/** @type {?string} */
MemberStatus;
/** @type {?string} */
ClubCode;
/** @type {?string} */
TierCode;
/** @type {number} */
YtdBasePoints;
/** @type {number} */
YtdNightCount;
/** @type {number} */
PointsToNextTier;
/** @type {number} */
NightsToNextTier;
/** @type {?string} */
ProgramCode;
/** @type {number} */
CurrentPoints;
/** @type {number} */
TotalBasePoints;
/** @type {number} */
TotalBonusPoints;
/** @type {?number} */
YTDStayCount;
/** @type {?string} */
Surname;
/** @type {?string} */
Forename;
/** @type {?number} */
StaysToNextTier;
/** @type {?string} */
LanguagePreference;
/** @type {?string} */
CountryName;
}
export class Response {
/** @param {{HasError?:boolean,Error?:string,MemberData?:MemberData}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {boolean} */
HasError;
/** @type {?string} */
Error;
/** @type {?MemberData} */
MemberData;
}
export class RequestMemberbyGUID {
/** @param {{MemberGUID?:string}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {?string} */
MemberGUID;
}
JavaScript RequestMemberbyGUID 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 /RequestMemberbyGUID HTTP/1.1
Host: bwdynamicsuat.rapp-customers.co.uk
Accept: application/xml
Content-Type: application/xml
Content-Length: length
<RequestMemberbyGUID xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RAPP.BW.MovableInk">
<MemberGUID>String</MemberGUID>
</RequestMemberbyGUID>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length
<Response 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>
<ClubCode>String</ClubCode>
<CountryName>String</CountryName>
<CurrentPoints>0</CurrentPoints>
<Forename>String</Forename>
<LanguagePreference>String</LanguagePreference>
<MemberId>String</MemberId>
<MemberStatus>String</MemberStatus>
<MemberSummaryId>String</MemberSummaryId>
<NightsToNextTier>0</NightsToNextTier>
<PointsToNextTier>0</PointsToNextTier>
<ProgramCode>String</ProgramCode>
<StaysToNextTier>0</StaysToNextTier>
<Surname>String</Surname>
<TierCode>String</TierCode>
<TotalBasePoints>0</TotalBasePoints>
<TotalBonusPoints>0</TotalBonusPoints>
<YTDStayCount>0</YTDStayCount>
<YtdBasePoints>0</YtdBasePoints>
<YtdNightCount>0</YtdNightCount>
</MemberData>
</Response>