RHP_API

<back to all web services

CreateUserAccount

The following routes are available for this service:
POST/User/CreateAccount/
POST/User/Account/
CreateUserAccount Parameters:
NameParameterData TypeRequiredDescription
UsernamebodystringYes
PasswordbodystringYes
EmailbodystringNo
PhoneNumberbodystringNoThe phone number, can start with a '0'
PhoneCountryCodebodystringNoThe countries phone code, the starting '+' is optional. eg. AU=+61, US=+1, AU=61, US=1
PhoneAlpha2CodebodystringNo2 character country code eg. AU, VN
PhoneVerificationCodebodystringNoPhoneNumber verification code.
AffiliateLinkIDbodyintNoAffiliate ID is the identifier supplied by the inbound link.[query string name: affiliate]
AffiliateLinkbodystringNoAffiliate is the identifier supplied by the inbound link.
AffiliateCodebodystringNoNew Affiliate identifier supplied by the inbound link.[query string name: rhpaff]
FacebookUserDetailbodyFacebookUserDetailNoFacebook user detail
AppleUserDetailbodyAppleUserDetailNoApple user detail
GoogleUserDetailbodyGoogleUserDetailNoGoogle user detail
PersonalDetailbodyPersonalDetailNo
DetailInfobodyUserProfileDetailInfoNo
VDTokenbodystringNoGoogle Recaptcha v3 token.
ClientTimeZonebodydoubleNoTimezone offset in hours (as provided by JS Date object (eg +8 GMT = -8.0 in js).
VETokenbodystringNoGoogle Recaptcha v2 token.
PromoCodebodystringNoPromoCode
GclidbodystringNoGoogle gclid, assign to this parameter if present.[query string name: gclid]
JoinTokenbodystringNoUser token from Cookie
FacebookUserDetail Parameters:
NameParameterData TypeRequiredDescription
AccessTokenformstringNo
UserIDformstringNo
TokenDurationformintNo
DateCreatedformDateTimeNo
AppleUserDetail Parameters:
NameParameterData TypeRequiredDescription
AccessTokenformstringNo
AccessTokenSecretformintNo
GoogleUserDetail Parameters:
NameParameterData TypeRequiredDescription
AccessTokenformstringNo
PersonalDetail Parameters:
NameParameterData TypeRequiredDescription
MemberTypeformshortNoThe numeric number associated with a user's Membertype.
LocationGIDformstringNoThe Google Placed ID.
UserProfileDetailInfo Parameters:
NameParameterData TypeRequiredDescription
AgeTitleformstringNo
MemberTypeTitleformProfileMemberTypeNo
MemberTypeChangePendingformbool?No
MemberTypeChangeTypeformMemberTypeChangeTypeNo
MaritalStatusformshort?No
MaritalStatus2formshort?No
LevelOfParticipationformshort?No
LevelOfParticipation2formshort?No
SexualOrientationformshort?No
SexualOrientation2formshort?No
Raceformshort?No
Race2formshort?No
Mylooksformint?No
Mylooks2formint?No
EyeColourformint?No
EyeColour2formint?No
HairColourformint?No
HairColour2formint?No
HairLengthformint?No
HairLength2formint?No
Heightformshort?No
Height2formshort?No
Drinkingformshort?No
Drinking2formshort?No
Personalityformint?No
Personality2formint?No
Smokingformshort?No
Smoking2formshort?No
BodyTypeformshort?No
BodyType2formshort?No
BirthdateformDateTime?NoThe primary birth date of the account.
Birthdate2formDateTime?NoThe secondary birth date of the account, if the account is a couple type.
PostCodeAllIDformint?No
GoogleMapPlacesIdformstringNo
BodyHairformshort?No
BodyHair2formshort?No
Circumcisedformshort?No
Circumcised2formshort?No
Cupsizeformshort?No
Cupsize2formshort?No
EndowmentLengthformshort?No
EndowmentLength2formshort?No
EndowmentThicknessformshort?No
EndowmentThickness2formshort?No
Pubichairformshort?No
Pubichair2formshort?No
Safesexformshort?No
Safesex2formshort?No
SexualPersonalityformint?No
SexualPersonality2formint?No
FantasyActivityformshort?No
FantasyLocationformshort?No
FantasyMustHaveformshort?No
IntimatePiercingformint?No
IntimatePiercing2formint?No
Moodformshort?No
SeekingYoungestformshort?NoThe minimum seeking age.
SeekingOldestformshort?NoThe maximum seeking age (65+ should be set to 99).
SeekingStateIDformshort?No
SeekingTypesformshort?NoThis is a totaled field based on the selected values.
SeekingMaritalStatusformshort?No
FetishInterestformint?NoThis is a totaled field based on the selected values.
GeneralInterestformint?NoThis is a totaled field based on the selected values.
SexualInterestformint?NoThis is a totaled field based on the selected values.
SexualPreferenceformint?NoThis is a totaled field based on the selected values.
Intentionformint?No
SeekingBodyformstringNo
IntroBodyformstringNo
IntroTitleformstringNo
FetishInterestValuesformLookupValue[]No
SexualInterestValuesformLookupValue[]No
SeekingTypeValuesformLookupValue[]No
GeneralInterestValuesformLookupValue[]No
SexualPreferenceValuesformLookupValue[]No
IntentionValuesformLookupValue[]No
DealBreakersformint?No
ShowMutualInterestsOnlyformbool?No
ProfileMemberType Parameters:
NameParameterData TypeRequiredDescription
AbbrformstringNo
SingularformstringNo
PluralformstringNo
LookupValue Parameters:
NameParameterData TypeRequiredDescription
IsMatchformboolNo
LookupValueBase Parameters:
NameParameterData TypeRequiredDescription
ValueformintNo
TextformstringNo
TextAbbrformstringNo
ListIDformint?No

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

HTTP + JSV

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

POST /User/CreateAccount/ HTTP/1.1 
Host: tstsrvs.redhotpie.com.au 
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length

{
	Username: String,
	Password: String,
	Email: String,
	PhoneNumber: String,
	PhoneCountryCode: String,
	PhoneAlpha2Code: String,
	PhoneVerificationCode: String,
	AffiliateLinkID: 0,
	AffiliateLink: String,
	AffiliateCode: String,
	FacebookUserDetail: 
	{
		AccessToken: String,
		UserID: String,
		TokenDuration: 0,
		DateCreated: 0001-01-01
	},
	AppleUserDetail: 
	{
		AccessToken: String,
		AccessTokenSecret: 0
	},
	GoogleUserDetail: 
	{
		AccessToken: String
	},
	PersonalDetail: 
	{
		MemberType: 0,
		LocationGID: String
	},
	DetailInfo: 
	{
		AgeTitle: String,
		MemberTypeTitle: 
		{
			Abbr: String,
			Singular: String,
			Plural: String
		},
		MemberTypeChangePending: False,
		MemberTypeChangeType: Complimentary,
		MaritalStatus: 0,
		MaritalStatus2: 0,
		LevelOfParticipation: 0,
		LevelOfParticipation2: 0,
		SexualOrientation: 0,
		SexualOrientation2: 0,
		Race: 0,
		Race2: 0,
		Mylooks: 0,
		Mylooks2: 0,
		EyeColour: 0,
		EyeColour2: 0,
		HairColour: 0,
		HairColour2: 0,
		HairLength: 0,
		HairLength2: 0,
		Height: 0,
		Height2: 0,
		Drinking: 0,
		Drinking2: 0,
		Personality: 0,
		Personality2: 0,
		Smoking: 0,
		Smoking2: 0,
		BodyType: 0,
		BodyType2: 0,
		Birthdate: 0001-01-01,
		Birthdate2: 0001-01-01,
		PostCodeAllID: 0,
		GoogleMapPlacesId: String,
		BodyHair: 0,
		BodyHair2: 0,
		Circumcised: 0,
		Circumcised2: 0,
		Cupsize: 0,
		Cupsize2: 0,
		EndowmentLength: 0,
		EndowmentLength2: 0,
		EndowmentThickness: 0,
		EndowmentThickness2: 0,
		Pubichair: 0,
		Pubichair2: 0,
		Safesex: 0,
		Safesex2: 0,
		SexualPersonality: 0,
		SexualPersonality2: 0,
		FantasyActivity: 0,
		FantasyLocation: 0,
		FantasyMustHave: 0,
		IntimatePiercing: 0,
		IntimatePiercing2: 0,
		Mood: 0,
		SeekingYoungest: 0,
		SeekingOldest: 0,
		SeekingStateID: 0,
		SeekingTypes: 0,
		SeekingMaritalStatus: 0,
		FetishInterest: 0,
		GeneralInterest: 0,
		SexualInterest: 0,
		SexualPreference: 0,
		Intention: 0,
		SeekingBody: String,
		IntroBody: String,
		IntroTitle: String,
		FetishInterestValues: 
		[
			{
				IsMatch: False,
				Value: 0,
				Text: String,
				TextAbbr: String,
				ListID: 0
			}
		],
		SexualInterestValues: 
		[
			{
				IsMatch: False,
				Value: 0,
				Text: String,
				TextAbbr: String,
				ListID: 0
			}
		],
		SeekingTypeValues: 
		[
			{
				IsMatch: False,
				Value: 0,
				Text: String,
				TextAbbr: String,
				ListID: 0
			}
		],
		GeneralInterestValues: 
		[
			{
				IsMatch: False,
				Value: 0,
				Text: String,
				TextAbbr: String,
				ListID: 0
			}
		],
		SexualPreferenceValues: 
		[
			{
				IsMatch: False,
				Value: 0,
				Text: String,
				TextAbbr: String,
				ListID: 0
			}
		],
		IntentionValues: 
		[
			{
				IsMatch: False,
				Value: 0,
				Text: String,
				TextAbbr: String,
				ListID: 0
			}
		],
		DealBreakers: 0,
		ShowMutualInterestsOnly: False
	},
	VDToken: String,
	ClientTimeZone: 0,
	VEToken: String,
	PromoCode: String,
	Gclid: String,
	JoinToken: String
}