RHP_API

<back to all web services

PatchAccountSettings

Update the user client messenger settings.

Requires Authentication
The following routes are available for this service:
PATCH/User/Account/Settings/Account
PatchAccountSettings Parameters:
NameParameterData TypeRequiredDescription
ProfileViewablequerybool?No
ShowOnlinequerybool?No
AnonymousBrowsingquerybool?No
ReceiveEmailMessagesquerybool?No
FeatureProfilequerybool?No
PromoteProfilequerybool?No
ProfileViewSettingsqueryProfileViewSettings?No
ValidationViewSettingqueryProfileViewSettings?No
IntimateInfoViewSettingsqueryProfileViewSettings?No
ProfileActivityViewSettingsqueryProfileViewSettings?No
AccountSettings Parameters:
NameParameterData TypeRequiredDescription
ProfileViewableformboolNo
ShowOnlineformboolNo
AnonymousBrowsingformboolNo
ReceiveEmailMessagesformboolNoThis parameter is deprecated, use email settings
AccountStatusformAccountStatusNoAccountStatus indicates the status of a user account
AccountPausedformboolNoThis parameter is deprecated, use AccountStatus
AccountRequiresAuthenticationformboolNoThis parameter is deprecated, use AccountStatus
EmailNotificationSettingsformEmailNotificationSettingsNo
NewPasswordRequiredformboolNo
FeatureProfileformboolNo
PromoteProfileformboolNo
ProfileBoostExpiryformDateTime?No
ProfileViewSettingsformProfileViewSettingsNo
ShareProfileCodeformstringNo
ValidationViewSettingformProfileViewSettingsNo
IntimateInfoViewSettingsformProfileViewSettingsNo
ProfileActivityViewSettingsformProfileViewSettingsNo
AccountDeletedDateformDateTime?No
GCLIDformstringNo
EmailNotificationSettings Parameters:
NameParameterData TypeRequiredDescription
MatchReportformboolNo
DateFinderformboolNo
EventsformboolNo
OffersformboolNo
RHPTeamMessagesformboolNo

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/Account/Settings/Account HTTP/1.1 
Host: tstsrvs.redhotpie.com.au 
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length

{
	ProfileViewable: False,
	ShowOnline: False,
	AnonymousBrowsing: False,
	ReceiveEmailMessages: False,
	FeatureProfile: False,
	PromoteProfile: False,
	ProfileViewSettings: Everyone,
	ValidationViewSetting: Everyone,
	IntimateInfoViewSettings: Everyone,
	ProfileActivityViewSettings: Everyone
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	ProfileViewable: False,
	ShowOnline: False,
	AnonymousBrowsing: False,
	ReceiveEmailMessages: False,
	AccountStatus: Active,
	AccountPaused: False,
	AccountRequiresAuthentication: False,
	EmailNotificationSettings: 
	{
		MatchReport: False,
		DateFinder: False,
		Events: False,
		Offers: False,
		RHPTeamMessages: False
	},
	NewPasswordRequired: False,
	FeatureProfile: False,
	PromoteProfile: False,
	ProfileBoostExpiry: 0001-01-01,
	ProfileViewSettings: Everyone,
	ShareProfileCode: String,
	ValidationViewSetting: Everyone,
	IntimateInfoViewSettings: Everyone,
	ProfileActivityViewSettings: Everyone,
	AccountDeletedDate: 0001-01-01,
	GCLID: String
}