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 .json suffix or ?format=json

To embed the response in a jsonp callback, append ?callback=myCallback

HTTP + JSON

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: application/json
Content-Type: application/json
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: application/json
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":"\/Date(-62135596800000-0000)\/","ProfileViewSettings":"Everyone","ShareProfileCode":"String","ValidationViewSetting":"Everyone","IntimateInfoViewSettings":"Everyone","ProfileActivityViewSettings":"Everyone","AccountDeletedDate":"\/Date(-62135596800000-0000)\/","GCLID":"String"}