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.
PATCH /User/Club/Event/{EventID} HTTP/1.1
Host: tstsrvs.redhotpie.com.au
Accept: application/xml
Content-Type: application/xml
Content-Length: length
<UpdateUserClubEvent xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RHP_API.ServiceModel">
<AgeRange>
<AgeFrom>0</AgeFrom>
<AgeTo>0</AgeTo>
</AgeRange>
<ApprovalStatus>Approved</ApprovalStatus>
<Banner>
<BannerUrl>String</BannerUrl>
<FileName>String</FileName>
</Banner>
<Cost>String</Cost>
<DateHeld>0001-01-01T00:00:00</DateHeld>
<DateHeldDisplay>String</DateHeldDisplay>
<DateHeldUtcIso>String</DateHeldUtcIso>
<Description>String</Description>
<DressCode>String</DressCode>
<Email>String</Email>
<EventID>0</EventID>
<EventTitle>String</EventTitle>
<GoogleMapPlaceID>String</GoogleMapPlaceID>
<GuestTypes>0</GuestTypes>
<IsTicketPrivate>false</IsTicketPrivate>
<LocationLabel>String</LocationLabel>
<Phone>String</Phone>
<Rules>String</Rules>
<Theme>String</Theme>
<TicketUrl>String</TicketUrl>
<TimeZone xmlns:d2p1="http://schemas.datacontract.org/2004/07/RHP.Model">
<d2p1:AbbrDaylight>String</d2p1:AbbrDaylight>
<d2p1:AbbrGeneric>String</d2p1:AbbrGeneric>
<d2p1:AbbrStandard>String</d2p1:AbbrStandard>
<d2p1:BaseUtcOffset>String</d2p1:BaseUtcOffset>
<d2p1:DaylightName>String</d2p1:DaylightName>
<d2p1:DaylightOffset>String</d2p1:DaylightOffset>
<d2p1:ID>String</d2p1:ID>
<d2p1:IanaName>String</d2p1:IanaName>
<d2p1:IsDaylightSavingTime>false</d2p1:IsDaylightSavingTime>
<d2p1:StandardName>String</d2p1:StandardName>
<d2p1:SupportsDaylightSavingTime>false</d2p1:SupportsDaylightSavingTime>
<d2p1:WindowsName>String</d2p1:WindowsName>
</TimeZone>
<TimeZoneInfoID>String</TimeZoneInfoID>
<VideoCode>String</VideoCode>
<VideoThumbUrl>String</VideoThumbUrl>
<VideoType>NA</VideoType>
<VideoUrl>String</VideoUrl>
<Website>String</Website>
<ClientTimeZone>String</ClientTimeZone>
</UpdateUserClubEvent>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length
<UserClubEvent xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RHP_API.ServiceModel">
<AgeRange>
<AgeFrom>0</AgeFrom>
<AgeTo>0</AgeTo>
</AgeRange>
<ApprovalStatus>Approved</ApprovalStatus>
<Banner>
<BannerUrl>String</BannerUrl>
<FileName>String</FileName>
</Banner>
<Cost>String</Cost>
<DateHeld>0001-01-01T00:00:00</DateHeld>
<DateHeldDisplay>String</DateHeldDisplay>
<DateHeldUtcIso>String</DateHeldUtcIso>
<Description>String</Description>
<DressCode>String</DressCode>
<Email>String</Email>
<EventID>0</EventID>
<EventTitle>String</EventTitle>
<GoogleMapPlaceID>String</GoogleMapPlaceID>
<GuestTypes>0</GuestTypes>
<IsTicketPrivate>false</IsTicketPrivate>
<LocationLabel>String</LocationLabel>
<Phone>String</Phone>
<Rules>String</Rules>
<Theme>String</Theme>
<TicketUrl>String</TicketUrl>
<TimeZone xmlns:d2p1="http://schemas.datacontract.org/2004/07/RHP.Model">
<d2p1:AbbrDaylight>String</d2p1:AbbrDaylight>
<d2p1:AbbrGeneric>String</d2p1:AbbrGeneric>
<d2p1:AbbrStandard>String</d2p1:AbbrStandard>
<d2p1:BaseUtcOffset>String</d2p1:BaseUtcOffset>
<d2p1:DaylightName>String</d2p1:DaylightName>
<d2p1:DaylightOffset>String</d2p1:DaylightOffset>
<d2p1:ID>String</d2p1:ID>
<d2p1:IanaName>String</d2p1:IanaName>
<d2p1:IsDaylightSavingTime>false</d2p1:IsDaylightSavingTime>
<d2p1:StandardName>String</d2p1:StandardName>
<d2p1:SupportsDaylightSavingTime>false</d2p1:SupportsDaylightSavingTime>
<d2p1:WindowsName>String</d2p1:WindowsName>
</TimeZone>
<TimeZoneInfoID>String</TimeZoneInfoID>
<VideoCode>String</VideoCode>
<VideoThumbUrl>String</VideoThumbUrl>
<VideoType>NA</VideoType>
<VideoUrl>String</VideoUrl>
<Website>String</Website>
</UserClubEvent>