RHP_API

<back to all web services

CreateUserClubDetail

Requires Authentication
CreateUserClubDetail Parameters:
NameParameterData TypeRequiredDescription
ProfileDetailbodyUserClubProfileDetailFormNo
MemberSettingbodyUserClubMemberNo
UserClubProfileDetailForm Parameters:
NameParameterData TypeRequiredDescription
Keywordsformstring[]NoTag keywords. Maps to Category
UserClubProfileDetailBase Parameters:
NameParameterData TypeRequiredDescription
ClubNameformstringNoName of group/club. Maps to Group name
GoogleMapPlaceformGooglePlaceNoGoogleMapPlaces data could be Country or State or Suburb. Maps to Location
PrivacyTypeformClubPrivacyTypeNoPrivacy type setting (Public or Private). Maps to Privacy
VisibilityTypeformClubVisibilityTypeNoVisibility type setting (All or Members only). Maps to Visibility
DescriptionformstringNoDescription of the group/club. Maps to Description
PhoneformstringNoPhone of the group/clubs organiser, needs to be verified. Maps to Phone
DisplayEmailformstringNoEmail of the group/clubs organiser. Maps to Email
WebsiteformstringNoDescription of the group/club. Maps to Website
RulesformstringNoRules of the group/club. Maps to Rules
GooglePlace Parameters:
NameParameterData TypeRequiredDescription
PlacesIdformstringNoGoogleMapPlacesId used for locality based searches. Maps to 'place_id' google autocomplete.
Typesformstring[]NoGoogleMapPlacesId types array used for locality based searches. Maps to 'types' array google autocomplete.
LocationNameformstringNoThis field will return the name of the location, no needed in the request.
UserClubMember Parameters:
NameParameterData TypeRequiredDescription
MemberTypeformshortNoMaps to 'Who can join my group'
MinAgeformintNoMinimum age range. Maps to 'Age range' slider
MaxAgeformintNoMaximum age range. Maps to 'Age range' slider
GoogleMapPlaceformGooglePlaceNoGoogleMapPlaces data used for state / country based searches.
UserClubDetail Parameters:
NameParameterData TypeRequiredDescription
ClubIDformintNo
ApprovalStateformApprovalStatusNo
ProfileDetailformUserClubProfileDetailNo
MemberSettingformUserClubMemberNo
BannerformClubBannerPhotoNo
TempInfoformClubTempInfoNo
StatsformClubStatsNo
UserClubProfileDetail Parameters:
NameParameterData TypeRequiredDescription
TagsformTag[]NoTag keywords. Maps to Category
Keywordsformstring[]No
Tag Parameters:
NameParameterData TypeRequiredDescription
TagIDformintNo
KeywordformstringNo
ClubBannerPhoto Parameters:
NameParameterData TypeRequiredDescription
FullUrlformstringNo
WidthformintNo
HeightformintNo
ApprovalStateformGenericStatusNo
ClubTempInfo Parameters:
NameParameterData TypeRequiredDescription
NameformstringNo
IsNameRejectedformboolNo
DescriptionformstringNo
IsDescriptionRejectedformboolNo
RulesformstringNo
IsRulesRejectedformboolNo
IsProcessedformboolNo
ClubStats Parameters:
NameParameterData TypeRequiredDescription
PostsformintNo
AlbumsformintNo
EventsformintNo
PhotosformintNo
VideosformintNo
EventsPastformintNo

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>

<CreateUserClubDetail xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RHP_API.ServiceModel">
  <MemberSetting>
    <GoogleMapPlace>
      <LocationName>String</LocationName>
      <PlacesId>String</PlacesId>
      <Types xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:string>String</d4p1:string>
      </Types>
    </GoogleMapPlace>
    <MaxAge>0</MaxAge>
    <MemberType>0</MemberType>
    <MinAge>0</MinAge>
  </MemberSetting>
  <ProfileDetail>
    <ClubName>String</ClubName>
    <Description>String</Description>
    <DisplayEmail>String</DisplayEmail>
    <GoogleMapPlace>
      <LocationName>String</LocationName>
      <PlacesId>String</PlacesId>
      <Types xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:string>String</d4p1:string>
      </Types>
    </GoogleMapPlace>
    <Phone>String</Phone>
    <PrivacyType>Public</PrivacyType>
    <Rules>String</Rules>
    <VisibilityType>NotSpecified</VisibilityType>
    <Website>String</Website>
    <Keywords xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:string>String</d3p1:string>
    </Keywords>
  </ProfileDetail>
</CreateUserClubDetail>

    </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>

<UserClubDetail xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RHP_API.ServiceModel">
  <ApprovalState>Approved</ApprovalState>
  <Banner xmlns:d2p1="http://schemas.datacontract.org/2004/07/RHP.ServiceHelper.Model">
    <d2p1:ApprovalState>Pending</d2p1:ApprovalState>
    <d2p1:FullUrl>String</d2p1:FullUrl>
    <d2p1:Height>0</d2p1:Height>
    <d2p1:Width>0</d2p1:Width>
  </Banner>
  <ClubID>0</ClubID>
  <MemberSetting>
    <GoogleMapPlace>
      <LocationName>String</LocationName>
      <PlacesId>String</PlacesId>
      <Types xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:string>String</d4p1:string>
      </Types>
    </GoogleMapPlace>
    <MaxAge>0</MaxAge>
    <MemberType>0</MemberType>
    <MinAge>0</MinAge>
  </MemberSetting>
  <ProfileDetail>
    <ClubName>String</ClubName>
    <Description>String</Description>
    <DisplayEmail>String</DisplayEmail>
    <GoogleMapPlace>
      <LocationName>String</LocationName>
      <PlacesId>String</PlacesId>
      <Types xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:string>String</d4p1:string>
      </Types>
    </GoogleMapPlace>
    <Phone>String</Phone>
    <PrivacyType>Public</PrivacyType>
    <Rules>String</Rules>
    <VisibilityType>NotSpecified</VisibilityType>
    <Website>String</Website>
    <Keywords xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:string>String</d3p1:string>
    </Keywords>
    <Tags>
      <Tag>
        <Keyword>String</Keyword>
        <TagID>0</TagID>
      </Tag>
    </Tags>
  </ProfileDetail>
  <Stats>
    <Albums>0</Albums>
    <Events>0</Events>
    <EventsPast>0</EventsPast>
    <Photos>0</Photos>
    <Posts>0</Posts>
    <Videos>0</Videos>
  </Stats>
  <TempInfo xmlns:d2p1="http://schemas.datacontract.org/2004/07/RHP.ServiceHelper.Model">
    <d2p1:Description>String</d2p1:Description>
    <d2p1:IsDescriptionRejected>false</d2p1:IsDescriptionRejected>
    <d2p1:IsNameRejected>false</d2p1:IsNameRejected>
    <d2p1:IsProcessed>false</d2p1:IsProcessed>
    <d2p1:IsRulesRejected>false</d2p1:IsRulesRejected>
    <d2p1:Name>String</d2p1:Name>
    <d2p1:Rules>String</d2p1:Rules>
  </TempInfo>
</UserClubDetail>

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