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.
GET /Club/{ID}/Event HTTP/1.1
Host: tstsrvs.redhotpie.com.au
Accept: application/xml
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length
<GenericListResponseOfEventSearchItemSjC_PYTVK xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RHP.ServiceHelper.Model">
<Data xmlns:d2p1="http://schemas.datacontract.org/2004/07/RHP_API.ServiceModel">
<d2p1:EventSearchItem>
<d2p1:ApprovalStatus>Approved</d2p1:ApprovalStatus>
<d2p1:Categories>
<LookupValue>
<ListID>0</ListID>
<Text>String</Text>
<TextAbbr>String</TextAbbr>
<Value>0</Value>
<IsMatch>false</IsMatch>
</LookupValue>
</d2p1:Categories>
<d2p1:DateHeld>0001-01-01T00:00:00</d2p1:DateHeld>
<d2p1:DateHeldDisplay>String</d2p1:DateHeldDisplay>
<d2p1:DateHeldUtcIso>String</d2p1:DateHeldUtcIso>
<d2p1:EventBannerUrl>String</d2p1:EventBannerUrl>
<d2p1:EventFeaturedBannerUrl>String</d2p1:EventFeaturedBannerUrl>
<d2p1:EventGlobalBannerUrl>String</d2p1:EventGlobalBannerUrl>
<d2p1:EventID>0</d2p1:EventID>
<d2p1:IsFullGuestList>false</d2p1:IsFullGuestList>
<d2p1:IsGroupChatAvailable>false</d2p1:IsGroupChatAvailable>
<d2p1:IsTicketUrlPrivate>false</d2p1:IsTicketUrlPrivate>
<d2p1:IsViewerOwner>false</d2p1:IsViewerOwner>
<d2p1:Location>
<d2p1:City>String</d2p1:City>
<d2p1:Country>String</d2p1:Country>
<d2p1:State>String</d2p1:State>
<d2p1:StateAbbr>String</d2p1:StateAbbr>
</d2p1:Location>
<d2p1:OrganiserType>All</d2p1:OrganiserType>
<d2p1:TimeZone xmlns:d4p1="http://schemas.datacontract.org/2004/07/RHP.Model">
<d4p1:AbbrDaylight>String</d4p1:AbbrDaylight>
<d4p1:AbbrGeneric>String</d4p1:AbbrGeneric>
<d4p1:AbbrStandard>String</d4p1:AbbrStandard>
<d4p1:BaseUtcOffset>String</d4p1:BaseUtcOffset>
<d4p1:DaylightName>String</d4p1:DaylightName>
<d4p1:DaylightOffset>String</d4p1:DaylightOffset>
<d4p1:ID>String</d4p1:ID>
<d4p1:IanaName>String</d4p1:IanaName>
<d4p1:IsDaylightSavingTime>false</d4p1:IsDaylightSavingTime>
<d4p1:StandardName>String</d4p1:StandardName>
<d4p1:SupportsDaylightSavingTime>false</d4p1:SupportsDaylightSavingTime>
<d4p1:WindowsName>String</d4p1:WindowsName>
</d2p1:TimeZone>
<d2p1:TimeZoneInfoID>String</d2p1:TimeZoneInfoID>
<d2p1:Title>String</d2p1:Title>
<d2p1:AgeRange>
<d2p1:AgeFrom>0</d2p1:AgeFrom>
<d2p1:AgeTo>0</d2p1:AgeTo>
</d2p1:AgeRange>
<d2p1:GuestTypes>
<LookupValue>
<ListID>0</ListID>
<Text>String</Text>
<TextAbbr>String</TextAbbr>
<Value>0</Value>
<IsMatch>false</IsMatch>
</LookupValue>
</d2p1:GuestTypes>
<d2p1:HasExpressInterest>false</d2p1:HasExpressInterest>
<d2p1:InterestCount>0</d2p1:InterestCount>
<d2p1:InterestCountGuest>0</d2p1:InterestCountGuest>
<d2p1:InterestCountUpgrade>0</d2p1:InterestCountUpgrade>
<d2p1:IsFeatured>false</d2p1:IsFeatured>
<d2p1:IsSponsored>false</d2p1:IsSponsored>
</d2p1:EventSearchItem>
</Data>
<Total>0</Total>
</GenericListResponseOfEventSearchItemSjC_PYTVK>