RHP_API

<back to all web services

CreateUserSavedSearch

Save's a search with a title.

Requires Authentication
The following routes are available for this service:
POST/User/Search/Saved
CreateUserSavedSearch Parameters:
NameParameterData TypeRequiredDescription
TitlebodystringNoSearch save title
ConfigbodyGetProfileSearchResultNoSearch config object, same as would be submitted for a search
GetProfileSearchResult Parameters:
NameParameterData TypeRequiredDescription
SearchGuidformstringNoSearch GUID used for accessing cached searches.
TypeformProfileSearchType?NoSearch type, defaults to Advanced
OrderByTypeformMemberSearchOrderByTypeNoDetermines the search result order. Maps to search tabs on desktop and 'Sort' tab on refine.
NicheformNicheTypeNoNichs search, set when a Niche is used.
UserNameformstringNoTo use username search, the Type needs to be set to Username
MemberTypeformshortNoDetermines the returned member. Map to 'Show Me'
SeekingTypeformshortNoMatches the user's seeking type. Maps to 'People looking for'
MinAgeformintNoMinimum age range. Maps to 'Age range' slider
MaxAgeformintNoMaximum age range. Maps to 'Age range' slider
CountryIDformshortNoCountry ID, used for legacy searches
StateIDformshortNoState ID, used for legacy searches
PostCodeAllIDformintNoPost Code All ID, used for legacy searches
GoogleMapPlaceformGooglePlaceNoGoogleMapPlaces data used for locality based searches.
SearchGeoPointformGeoPointNoThe User's current location for use in 'Nearby Search'.
SearchRadiusformshortNoSearch radius, maps to 'Proximity
OnlineNowformboolNoRestricts results to online users. Maps to 'Active Now'
WithPhotosformboolNoRestricts results to users with photos. Maps to 'With Photos'
IsVerifiedformboolNoRestricts results to users who are verified. Maps to 'Verified'
Raceformshort[]NoRestricts results to users that match Race selections. Maps to 'Ethnicity'
BodyTypeformshort[]NoRestricts results to users that match BodyType selections. Maps to 'Body type'
SexualOrientationformshort[]NoRestricts results to users that match SexualOrientation selections. Maps to 'Sexual Orientation'
Participationformshort[]NoRestricts results to users that match Participation selections. Maps to 'Participation level'
SafeSexformshort[]NoRestricts results to users that match SafeSex selections. Maps to 'Safe Sex'
MaritalStatusformshort[]NoRestricts results to users that match MaritalStatus selections. Maps to 'Relationship status'
EndowmentLengthformshort[]NoRestricts results to users that match EndowmentLength selections. Maps to 'Endowment'
Heightformshort[]NoRestricts results to users that match Height selections. Maps to 'Height'
SexualIntererestformint[]NoRestricts results to users that match SexualIntererest selections. Maps to 'Sexual interests', ListID = 71 or ListID = 72
SexualPreferenceformint[]NoRestricts results to users that match SexualPreference selections. Maps to 'Sexual interests', ListID = 70
FetishInterestformint[]NoRestricts results to users that match FetishInterest selections. Maps to 'Fetish interests'
Intentionformint[]NoRestricts results to users that match Intention selections. Maps to 'Intentions'
PubicHairformshort[]NoRestricts results to users that match Pubic hair selections.
CupSizeformshort[]NoRestricts results to users that match Cup Size selections.
Smokingformshort[]NoRestricts results to users that match Smoking selections.
HasValidationsformboolNoReturns only profiles that have Validations
Pagination Parameters:
NameParameterData TypeRequiredDescription
SizeformintNo
PageformintNo
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.
GeoPoint Parameters:
NameParameterData TypeRequiredDescription
LatitudeformdecimalNo
LongitudeformdecimalNo
UserSavedSearch Parameters:
NameParameterData TypeRequiredDescription
SavedSearchIDformintNo
TitleformstringNo
ConfigformGetProfileSearchResultNo
DateCreatedformDateTimeNo

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 /User/Search/Saved HTTP/1.1 
Host: tstsrvs.redhotpie.com.au 
Accept: application/xml
Content-Type: application/xml
Content-Length: length

<CreateUserSavedSearch xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RHP_API.ServiceModel">
  <Config>
    <Page xmlns="http://schemas.datacontract.org/2004/07/RHP.ServiceHelper.Model">0</Page>
    <Size xmlns="http://schemas.datacontract.org/2004/07/RHP.ServiceHelper.Model">0</Size>
    <BodyType xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:short>0</d3p1:short>
    </BodyType>
    <CountryID>0</CountryID>
    <CupSize xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:short>0</d3p1:short>
    </CupSize>
    <EndowmentLength xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:short>0</d3p1:short>
    </EndowmentLength>
    <FetishInterest xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:int>0</d3p1:int>
    </FetishInterest>
    <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>
    <HasValidations>false</HasValidations>
    <Height xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:short>0</d3p1:short>
    </Height>
    <Intention xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:int>0</d3p1:int>
    </Intention>
    <IsVerified>false</IsVerified>
    <MaritalStatus xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:short>0</d3p1:short>
    </MaritalStatus>
    <MaxAge>0</MaxAge>
    <MemberType>0</MemberType>
    <MinAge>0</MinAge>
    <Niche>None</Niche>
    <OnlineNow>false</OnlineNow>
    <OrderByType>MemberLevel</OrderByType>
    <Participation xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:short>0</d3p1:short>
    </Participation>
    <PostCodeAllID>0</PostCodeAllID>
    <PubicHair xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:short>0</d3p1:short>
    </PubicHair>
    <Race xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:short>0</d3p1:short>
    </Race>
    <SafeSex xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:short>0</d3p1:short>
    </SafeSex>
    <SearchGeoPoint xmlns:d3p1="http://schemas.datacontract.org/2004/07/RHP.ServiceHelper.Model">
      <d3p1:Latitude>0</d3p1:Latitude>
      <d3p1:Longitude>0</d3p1:Longitude>
    </SearchGeoPoint>
    <SearchGuid>String</SearchGuid>
    <SearchRadius>0</SearchRadius>
    <SeekingType>0</SeekingType>
    <SexualIntererest xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:int>0</d3p1:int>
    </SexualIntererest>
    <SexualOrientation xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:short>0</d3p1:short>
    </SexualOrientation>
    <SexualPreference xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:int>0</d3p1:int>
    </SexualPreference>
    <Smoking xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:short>0</d3p1:short>
    </Smoking>
    <StateID>0</StateID>
    <Type>QuickSearch</Type>
    <UserName>String</UserName>
    <WithPhotos>false</WithPhotos>
  </Config>
  <Title>String</Title>
</CreateUserSavedSearch>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<UserSavedSearch xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RHP_API.ServiceModel">
  <Config>
    <Page xmlns="http://schemas.datacontract.org/2004/07/RHP.ServiceHelper.Model">0</Page>
    <Size xmlns="http://schemas.datacontract.org/2004/07/RHP.ServiceHelper.Model">0</Size>
    <BodyType xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:short>0</d3p1:short>
    </BodyType>
    <CountryID>0</CountryID>
    <CupSize xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:short>0</d3p1:short>
    </CupSize>
    <EndowmentLength xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:short>0</d3p1:short>
    </EndowmentLength>
    <FetishInterest xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:int>0</d3p1:int>
    </FetishInterest>
    <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>
    <HasValidations>false</HasValidations>
    <Height xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:short>0</d3p1:short>
    </Height>
    <Intention xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:int>0</d3p1:int>
    </Intention>
    <IsVerified>false</IsVerified>
    <MaritalStatus xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:short>0</d3p1:short>
    </MaritalStatus>
    <MaxAge>0</MaxAge>
    <MemberType>0</MemberType>
    <MinAge>0</MinAge>
    <Niche>None</Niche>
    <OnlineNow>false</OnlineNow>
    <OrderByType>MemberLevel</OrderByType>
    <Participation xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:short>0</d3p1:short>
    </Participation>
    <PostCodeAllID>0</PostCodeAllID>
    <PubicHair xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:short>0</d3p1:short>
    </PubicHair>
    <Race xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:short>0</d3p1:short>
    </Race>
    <SafeSex xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:short>0</d3p1:short>
    </SafeSex>
    <SearchGeoPoint xmlns:d3p1="http://schemas.datacontract.org/2004/07/RHP.ServiceHelper.Model">
      <d3p1:Latitude>0</d3p1:Latitude>
      <d3p1:Longitude>0</d3p1:Longitude>
    </SearchGeoPoint>
    <SearchGuid>String</SearchGuid>
    <SearchRadius>0</SearchRadius>
    <SeekingType>0</SeekingType>
    <SexualIntererest xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:int>0</d3p1:int>
    </SexualIntererest>
    <SexualOrientation xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:short>0</d3p1:short>
    </SexualOrientation>
    <SexualPreference xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:int>0</d3p1:int>
    </SexualPreference>
    <Smoking xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:short>0</d3p1:short>
    </Smoking>
    <StateID>0</StateID>
    <Type>QuickSearch</Type>
    <UserName>String</UserName>
    <WithPhotos>false</WithPhotos>
  </Config>
  <DateCreated>0001-01-01T00:00:00</DateCreated>
  <SavedSearchID>0</SavedSearchID>
  <Title>String</Title>
</UserSavedSearch>