RHP_API

<back to all web services

PatchUserProfile

Requires Authentication
The following routes are available for this service:
PATCH/User/Profile
PatchUserProfile Parameters:
NameParameterData TypeRequiredDescription
DetailInfoqueryUserProfileDetailInfoNo
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
UserProfileDetail Parameters:
NameParameterData TypeRequiredDescription
AccountInfoformUserAccountDetailInfoNo
DetailInfoformUserProfileDetailInfoNo
TempInfoformUserProfileTempInfoNo
LocationInfoformUserProfileLocationNo
UserAccountDetailInfo Parameters:
NameParameterData TypeRequiredDescription
MemberIDformlongNo
UsernameformstringNo
UsernameRejectedformboolNo
IsDiamondformboolNo
MemberLevelformUserMemberLevelNo
MemberTypeformshortNo
MemberTypeTitleformProfileMemberTypeNo
VerificationStateformProfileVerificationStateNo
EmailAddressformstringNo
UserMemberLevel Parameters:
NameParameterData TypeRequiredDescription
MemberLevelValueformshortNo
MemberLevelformMemberLevelUserProfileNo
MemberLevelExpiryformDateTime?No
RecurringStatusformUserRecurringStatusNo
ActiveProductsformList<MemberLevelType>No
UserRecurringStatus Parameters:
NameParameterData TypeRequiredDescription
IsRecurringformboolNo
IsRecurringCancelPendingformboolNo
RebillCostformdecimal?No
LastPaymentProviderformPaymentProvider?No
UserProfileTempInfo Parameters:
NameParameterData TypeRequiredDescription
IntroTitleformstringNo
IsIntroTitleRejectedformboolNo
IntroBodyformstringNo
IsIntroBodyRejectedformboolNo
SeekingBodyformstringNo
IsSeekingBodyRejectedformboolNo
IsProcessedformboolNo
UserProfileLocation Parameters:
NameParameterData TypeRequiredDescription
SuburbformSuburbNo
StateformStateNo
CountryformCountryNo
Suburb Parameters:
NameParameterData TypeRequiredDescription
PostCodeAllIDformintNo
NameformstringNo
PostCodeformstringNo
GoogleMapPlacesIdformstringNo
State Parameters:
NameParameterData TypeRequiredDescription
StateIDformintNo
NameformstringNo
ShortNameformstringNo
GoogleMapPlacesIdformstringNo
Country Parameters:
NameParameterData TypeRequiredDescription
CountryIDformintNo
NameformstringNo
CodeformstringNo
GoogleMapPlacesIdformstringNo

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.

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

{
	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
	}
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	AccountInfo: 
	{
		MemberID: 0,
		Username: String,
		UsernameRejected: False,
		IsDiamond: False,
		MemberLevel: 
		{
			MemberLevelValue: 0,
			MemberLevel: Guest,
			MemberLevelExpiry: 0001-01-01,
			RecurringStatus: 
			{
				IsRecurring: False,
				IsRecurringCancelPending: False,
				RebillCost: 0,
				LastPaymentProvider: 0
			},
			ActiveProducts: 
			[
				Guest
			]
		},
		MemberType: 0,
		MemberTypeTitle: 
		{
			Abbr: String,
			Singular: String,
			Plural: String
		},
		VerificationState: None,
		EmailAddress: 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
	},
	TempInfo: 
	{
		IntroTitle: String,
		IsIntroTitleRejected: False,
		IntroBody: String,
		IsIntroBodyRejected: False,
		SeekingBody: String,
		IsSeekingBodyRejected: False,
		IsProcessed: False
	},
	LocationInfo: 
	{
		Suburb: 
		{
			PostCodeAllID: 0,
			Name: String,
			PostCode: String,
			GoogleMapPlacesId: String
		},
		State: 
		{
			StateID: 0,
			Name: String,
			ShortName: String,
			GoogleMapPlacesId: String
		},
		Country: 
		{
			CountryID: 0,
			Name: String,
			Code: String,
			GoogleMapPlacesId: String
		}
	}
}