RHP_API

<back to all web services

CreateMyEvent

Create a user event

Requires Authentication
CreateMyEvent Parameters:
NameParameterData TypeRequiredDescription
DetailbodyUserEventDetailFormNo
UserEventDetailForm Parameters:
NameParameterData TypeRequiredDescription
ClientTimeZoneformstringNo
UserEventDetail Parameters:
NameParameterData TypeRequiredDescription
EventIDformintNo
EventTitleformstringNo
GoogleMapPlaceIDformstringNo
LocationLabelformstringNo
GuestTypesformintNo
AgeRangeformAgeRangeNo
DescriptionformstringNo
ThemeformstringNo
DressCodeformstringNo
RulesformstringNo
CostformstringNo
TicketUrlformstringNo
IsTicketPrivateformboolNo
PhoneformstringNo
EmailformstringNo
WebsiteformstringNo
DateHeldformDateTimeNo
DateHeldUtcIsoformstringNo
DateHeldDisplayformstringNo
ApprovalStatusformApprovalStatusNo
TimeZoneInfoIDformstringNo
TimeZoneformTimeZoneLookupItemNo
BannerformEventBannerNo
VideoUrlformstringNo
VideoCodeformstringNo
VideoTypeformVideoTypeNo
VideoThumbUrlformstringNo
AgeRange Parameters:
NameParameterData TypeRequiredDescription
AgeFromformintNo
AgeToformintNo
TimeZoneLookupItem Parameters:
NameParameterData TypeRequiredDescription
IDformstringNo
WindowsNameformstringNo
StandardNameformstringNo
DaylightNameformstringNo
SupportsDaylightSavingTimeformboolNo
IsDaylightSavingTimeformboolNo
IanaNameformstringNo
AbbrGenericformstringNo
AbbrStandardformstringNo
AbbrDaylightformstringNo
BaseUtcOffsetformstringNo
DaylightOffsetformstringNo
EventBanner Parameters:
NameParameterData TypeRequiredDescription
FileNameformstringNo
BannerUrlformstringNo

To override the Content-type in your clients, use the HTTP Accept Header, append the .soap12 suffix or ?format=soap12

HTTP + SOAP12

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /soap12 HTTP/1.1 
Host: tstsrvs.redhotpie.com.au 
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
    <soap12:Body>

<CreateMyEvent xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RHP_API.ServiceModel">
  <Detail>
    <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:d3p1="http://schemas.datacontract.org/2004/07/RHP.Model">
      <d3p1:AbbrDaylight>String</d3p1:AbbrDaylight>
      <d3p1:AbbrGeneric>String</d3p1:AbbrGeneric>
      <d3p1:AbbrStandard>String</d3p1:AbbrStandard>
      <d3p1:BaseUtcOffset>String</d3p1:BaseUtcOffset>
      <d3p1:DaylightName>String</d3p1:DaylightName>
      <d3p1:DaylightOffset>String</d3p1:DaylightOffset>
      <d3p1:ID>String</d3p1:ID>
      <d3p1:IanaName>String</d3p1:IanaName>
      <d3p1:IsDaylightSavingTime>false</d3p1:IsDaylightSavingTime>
      <d3p1:StandardName>String</d3p1:StandardName>
      <d3p1:SupportsDaylightSavingTime>false</d3p1:SupportsDaylightSavingTime>
      <d3p1:WindowsName>String</d3p1:WindowsName>
    </TimeZone>
    <TimeZoneInfoID>String</TimeZoneInfoID>
    <VideoCode>String</VideoCode>
    <VideoThumbUrl>String</VideoThumbUrl>
    <VideoType>NA</VideoType>
    <VideoUrl>String</VideoUrl>
    <Website>String</Website>
    <ClientTimeZone>String</ClientTimeZone>
  </Detail>
</CreateMyEvent>

    </soap12:Body>
</soap12:Envelope>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
    <soap12:Body>

<ArrayOfUserEventListItem xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RHP_API.ServiceModel">
  <UserEventListItem>
    <ApprovalStatus>Approved</ApprovalStatus>
    <DateHeld>0001-01-01T00:00:00</DateHeld>
    <DateHeldDisplay>String</DateHeldDisplay>
    <DateHeldUtcIso>String</DateHeldUtcIso>
    <EventBannerUrl>String</EventBannerUrl>
    <EventID>0</EventID>
    <EventTitle>String</EventTitle>
    <EventType>MemberEvent</EventType>
    <InterestCount>0</InterestCount>
    <Location>
      <City>String</City>
      <Country>String</Country>
      <State>String</State>
      <StateAbbr>String</StateAbbr>
    </Location>
    <TimeZone xmlns:d3p1="http://schemas.datacontract.org/2004/07/RHP.Model">
      <d3p1:AbbrDaylight>String</d3p1:AbbrDaylight>
      <d3p1:AbbrGeneric>String</d3p1:AbbrGeneric>
      <d3p1:AbbrStandard>String</d3p1:AbbrStandard>
      <d3p1:BaseUtcOffset>String</d3p1:BaseUtcOffset>
      <d3p1:DaylightName>String</d3p1:DaylightName>
      <d3p1:DaylightOffset>String</d3p1:DaylightOffset>
      <d3p1:ID>String</d3p1:ID>
      <d3p1:IanaName>String</d3p1:IanaName>
      <d3p1:IsDaylightSavingTime>false</d3p1:IsDaylightSavingTime>
      <d3p1:StandardName>String</d3p1:StandardName>
      <d3p1:SupportsDaylightSavingTime>false</d3p1:SupportsDaylightSavingTime>
      <d3p1:WindowsName>String</d3p1:WindowsName>
    </TimeZone>
    <TimeZoneInfoID>String</TimeZoneInfoID>
  </UserEventListItem>
</ArrayOfUserEventListItem>

    </soap12:Body>
</soap12:Envelope>