To override the Content-type in your clients, use the HTTP Accept Header, append the .xml suffix or ?format=xml
HTTP + 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>