RAPP.BW.MovableInk

<back to all web services

RequestMemberbyGUID

Requires Authentication
The following routes are available for this service:
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 .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 /RequestMemberbyGUID HTTP/1.1 
Host: bwdynamicsuat.rapp-customers.co.uk 
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length

{
	MemberGUID: String
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	HasError: False,
	Error: String,
	MemberData: 
	{
		MemberSummaryId: String,
		MemberId: String,
		MemberStatus: String,
		ClubCode: String,
		TierCode: String,
		YtdBasePoints: 0,
		YtdNightCount: 0,
		PointsToNextTier: 0,
		NightsToNextTier: 0,
		ProgramCode: String,
		CurrentPoints: 0,
		TotalBasePoints: 0,
		TotalBonusPoints: 0,
		YTDStayCount: 0,
		Surname: String,
		Forename: String,
		StaysToNextTier: 0,
		LanguagePreference: String,
		CountryName: String
	}
}