RHP_API

<back to all web services

GetProfile

Gets the a profile based on the current User's profiles

Requires Authentication
The following routes are available for this service:
All Verbs/Profile/{Id}
All Verbs/Profiles/{Id}
GetProfile Parameters:
NameParameterData TypeRequiredDescription
Idpathlong?No
NamequerystringNo
ViewingProfile Parameters:
NameParameterData TypeRequiredDescription
DetailformProfileDetailNo
SeekingformProfileSeekingNo
IntersectionformProfileIntersectionNo
MainPhotoformProfilePhotoNo
ProfileDetail Parameters:
NameParameterData TypeRequiredDescription
ShareProfileCodeformstringNo
UserIDformlongNo
UsernameformstringNo
MemberTypeformshortNo
MemberTypeTitleformProfileMemberTypeNo
Age1formintNo
Age2formintNo
AgeTitleformstringNo
LocationformstringNo
StateNameformstringNo
CountryNameformstringNo
UserCountryformCountryNo
IsOnlineformboolNo
MemberLevelformintNo
MemberLevelValueformLookupValueNo
IsDiamondformboolNo
IsVerifiedformboolNo
IntroBodyformstringNo
IntroTitleformstringNo
PhoneNumberformstringNo
PhoneNumberShowUpgradeformboolNo
IsPhoneVerifiedformboolNo
IsSmsOnlyformboolNo
IsAdminformboolNo
IsViewableformboolNo
RelationshipStatusformLookupValueNo
RelationshipStatus2formLookupValueNo
LevelOfParticipationformLookupValueNo
LevelOfParticipation2formLookupValueNo
SexualOrientationformLookupValueNo
SexualOrientation2formLookupValueNo
RaceformLookupValueNo
Race2formLookupValueNo
PersonalityformLookupValueNo
Personality2formLookupValueNo
MyLooksformLookupValueNo
MyLooks2formLookupValueNo
BodyTypeformLookupValueNo
BodyType2formLookupValueNo
HeightformLookupValueNo
Height2formLookupValueNo
EyeColourformLookupValueNo
EyeColour2formLookupValueNo
HairColourformLookupValueNo
HairColour2formLookupValueNo
HairLengthformLookupValueNo
HairLength2formLookupValueNo
DrinkingformLookupValueNo
Drinking2formLookupValueNo
SmokingformLookupValueNo
Smoking2formLookupValueNo
GeneralInterestsformLookupValue[]No
SafeSexformLookupValueNo
SafeSex2formLookupValueNo
BodyHairformLookupValueNo
BodyHair2formLookupValueNo
PubicHairformLookupValueNo
PubicHair2formLookupValueNo
EndowmentLengthformLookupValueNo
EndowmentLength2formLookupValueNo
EndowmentThicknessformLookupValueNo
EndowmentThickness2formLookupValueNo
CupSizeformLookupValueNo
CupSize2formLookupValueNo
IntimatePiercingformLookupValueNo
IntimatePiercing2formLookupValueNo
SexualPersonalityformLookupValueNo
SexualPersonality2formLookupValueNo
SexualInterestsformLookupValue[]No
SexualPreferencesformLookupValue[]No
FetishInterestsformLookupValue[]No
UserTypeformLoginUserTypeNo
ProfileMemberType Parameters:
NameParameterData TypeRequiredDescription
AbbrformstringNo
SingularformstringNo
PluralformstringNo
Country Parameters:
NameParameterData TypeRequiredDescription
CountryIDformintNo
NameformstringNo
CodeformstringNo
GoogleMapPlacesIdformstringNo
LookupValue Parameters:
NameParameterData TypeRequiredDescription
IsMatchformboolNo
LookupValueBase Parameters:
NameParameterData TypeRequiredDescription
ValueformintNo
TextformstringNo
TextAbbrformstringNo
ListIDformint?No
ProfileSeeking Parameters:
NameParameterData TypeRequiredDescription
SeekingBodyformstringNo
StateIDformintNo
StateNameformstringNo
AgeMinformintNo
AgeMaxformintNo
MemberTypesformLookupValue[]No
IntentionformLookupValue[]No
RelationshipStatusformLookupValueNo
DealBreakersformLookupValue[]No
ProfileIntersection Parameters:
NameParameterData TypeRequiredDescription
CanViewProfileformbool?No
CanViewValidationsformboolNo
IsMatchformboolNoThe viewer and the profile are a match.
HasFavouritedformboolNoThe viewer has favourited the profile.
HasFavouritedViewerformbool?NoThe profile has favourited the viewer.
HasLikedformboolNoThe viewer has liked the profile.
IsLikeMutualformboolNoThe users are a like match.
IsFavouriteMutualformboolNoThe users are a favourite match.
HasMessagesformboolNoThe view and the profile have exchange a message.
HasFriendRequestformboolNoIf true the current user has sent a friend request to the profile.
HasFriendRequestDeletedformboolNoIf true the current user has sent and deleted a friend request to the profile.
IsFriendformboolNo
HasValidationRequestformboolNo
CanAddValidationformboolNo
HasLikedViewerformbool?NoThe profile has liked the viewer.
DealBreakerConflictformLookupValue[]NoDeal beakers that the viewed profile has with the current user(viewer).
DealBreakerConflictViewerformLookupValue[]NoDeal breakers that the current user(viewer) has with the viewed profile.
ProfilePhoto Parameters:
NameParameterData TypeRequiredDescription
PhotoIDformintNo
HeightformintNo
WidthformintNo
ImageTypeformProfileImageTypeNo
IsPublicformboolNo
ClassificationformintNo
UserTypeformLoginUserType?No
ShowSafeModeformboolNo
ImageActionTypeformImageActionTypeNo
GalleryIDformintNo
IsAcceptedformbool?No
MemberLikeCountformintNo
IsLikedformboolNo
SortNumberformintNo
ProfilePhotoUrl Parameters:
NameParameterData TypeRequiredDescription
ThumbUrlformstringNo
FullUrlformstringNo

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.

POST /Profile/{Id} HTTP/1.1 
Host: tstsrvs.redhotpie.com.au 
Accept: application/json
Content-Type: application/json
Content-Length: length

{"Id":0,"Name":"String"}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

{"Detail":{"ShareProfileCode":"String","UserID":0,"Username":"String","MemberType":0,"MemberTypeTitle":{"Abbr":"String","Singular":"String","Plural":"String"},"Age1":0,"Age2":0,"AgeTitle":"String","Location":"String","StateName":"String","CountryName":"String","UserCountry":{"CountryID":0,"Name":"String","Code":"String","GoogleMapPlacesId":"String"},"IsOnline":false,"MemberLevel":0,"MemberLevelValue":{"IsMatch":false,"Value":0,"Text":"String","TextAbbr":"String","ListID":0},"IsDiamond":false,"IsVerified":false,"IntroBody":"String","IntroTitle":"String","PhoneNumber":"String","PhoneNumberShowUpgrade":false,"IsPhoneVerified":false,"IsSmsOnly":false,"IsAdmin":false,"IsViewable":false,"RelationshipStatus":{"IsMatch":false,"Value":0,"Text":"String","TextAbbr":"String","ListID":0},"RelationshipStatus2":{"IsMatch":false,"Value":0,"Text":"String","TextAbbr":"String","ListID":0},"LevelOfParticipation":{"IsMatch":false,"Value":0,"Text":"String","TextAbbr":"String","ListID":0},"LevelOfParticipation2":{"IsMatch":false,"Value":0,"Text":"String","TextAbbr":"String","ListID":0},"SexualOrientation":{"IsMatch":false,"Value":0,"Text":"String","TextAbbr":"String","ListID":0},"SexualOrientation2":{"IsMatch":false,"Value":0,"Text":"String","TextAbbr":"String","ListID":0},"Race":{"IsMatch":false,"Value":0,"Text":"String","TextAbbr":"String","ListID":0},"Race2":{"IsMatch":false,"Value":0,"Text":"String","TextAbbr":"String","ListID":0},"Personality":{"IsMatch":false,"Value":0,"Text":"String","TextAbbr":"String","ListID":0},"Personality2":{"IsMatch":false,"Value":0,"Text":"String","TextAbbr":"String","ListID":0},"MyLooks":{"IsMatch":false,"Value":0,"Text":"String","TextAbbr":"String","ListID":0},"MyLooks2":{"IsMatch":false,"Value":0,"Text":"String","TextAbbr":"String","ListID":0},"BodyType":{"IsMatch":false,"Value":0,"Text":"String","TextAbbr":"String","ListID":0},"BodyType2":{"IsMatch":false,"Value":0,"Text":"String","TextAbbr":"String","ListID":0},"Height":{"IsMatch":false,"Value":0,"Text":"String","TextAbbr":"String","ListID":0},"Height2":{"IsMatch":false,"Value":0,"Text":"String","TextAbbr":"String","ListID":0},"EyeColour":{"IsMatch":false,"Value":0,"Text":"String","TextAbbr":"String","ListID":0},"EyeColour2":{"IsMatch":false,"Value":0,"Text":"String","TextAbbr":"String","ListID":0},"HairColour":{"IsMatch":false,"Value":0,"Text":"String","TextAbbr":"String","ListID":0},"HairColour2":{"IsMatch":false,"Value":0,"Text":"String","TextAbbr":"String","ListID":0},"HairLength":{"IsMatch":false,"Value":0,"Text":"String","TextAbbr":"String","ListID":0},"HairLength2":{"IsMatch":false,"Value":0,"Text":"String","TextAbbr":"String","ListID":0},"Drinking":{"IsMatch":false,"Value":0,"Text":"String","TextAbbr":"String","ListID":0},"Drinking2":{"IsMatch":false,"Value":0,"Text":"String","TextAbbr":"String","ListID":0},"Smoking":{"IsMatch":false,"Value":0,"Text":"String","TextAbbr":"String","ListID":0},"Smoking2":{"IsMatch":false,"Value":0,"Text":"String","TextAbbr":"String","ListID":0},"GeneralInterests":[{"IsMatch":false,"Value":0,"Text":"String","TextAbbr":"String","ListID":0}],"SafeSex":{"IsMatch":false,"Value":0,"Text":"String","TextAbbr":"String","ListID":0},"SafeSex2":{"IsMatch":false,"Value":0,"Text":"String","TextAbbr":"String","ListID":0},"BodyHair":{"IsMatch":false,"Value":0,"Text":"String","TextAbbr":"String","ListID":0},"BodyHair2":{"IsMatch":false,"Value":0,"Text":"String","TextAbbr":"String","ListID":0},"PubicHair":{"IsMatch":false,"Value":0,"Text":"String","TextAbbr":"String","ListID":0},"PubicHair2":{"IsMatch":false,"Value":0,"Text":"String","TextAbbr":"String","ListID":0},"EndowmentLength":{"IsMatch":false,"Value":0,"Text":"String","TextAbbr":"String","ListID":0},"EndowmentLength2":{"IsMatch":false,"Value":0,"Text":"String","TextAbbr":"String","ListID":0},"EndowmentThickness":{"IsMatch":false,"Value":0,"Text":"String","TextAbbr":"String","ListID":0},"EndowmentThickness2":{"IsMatch":false,"Value":0,"Text":"String","TextAbbr":"String","ListID":0},"CupSize":{"IsMatch":false,"Value":0,"Text":"String","TextAbbr":"String","ListID":0},"CupSize2":{"IsMatch":false,"Value":0,"Text":"String","TextAbbr":"String","ListID":0},"IntimatePiercing":{"IsMatch":false,"Value":0,"Text":"String","TextAbbr":"String","ListID":0},"IntimatePiercing2":{"IsMatch":false,"Value":0,"Text":"String","TextAbbr":"String","ListID":0},"SexualPersonality":{"IsMatch":false,"Value":0,"Text":"String","TextAbbr":"String","ListID":0},"SexualPersonality2":{"IsMatch":false,"Value":0,"Text":"String","TextAbbr":"String","ListID":0},"SexualInterests":[{"IsMatch":false,"Value":0,"Text":"String","TextAbbr":"String","ListID":0}],"SexualPreferences":[{"IsMatch":false,"Value":0,"Text":"String","TextAbbr":"String","ListID":0}],"FetishInterests":[{"IsMatch":false,"Value":0,"Text":"String","TextAbbr":"String","ListID":0}],"UserType":"General"},"Seeking":{"SeekingBody":"String","StateID":0,"StateName":"String","AgeMin":0,"AgeMax":0,"MemberTypes":[{"IsMatch":false,"Value":0,"Text":"String","TextAbbr":"String","ListID":0}],"Intention":[{"IsMatch":false,"Value":0,"Text":"String","TextAbbr":"String","ListID":0}],"RelationshipStatus":{"IsMatch":false,"Value":0,"Text":"String","TextAbbr":"String","ListID":0},"DealBreakers":[{"IsMatch":false,"Value":0,"Text":"String","TextAbbr":"String","ListID":0}]},"Intersection":{"CanViewProfile":false,"CanViewValidations":false,"IsMatch":false,"HasFavourited":false,"HasFavouritedViewer":false,"HasLiked":false,"IsLikeMutual":false,"IsFavouriteMutual":false,"HasMessages":false,"HasFriendRequest":false,"HasFriendRequestDeleted":false,"IsFriend":false,"HasValidationRequest":false,"CanAddValidation":false,"HasLikedViewer":false,"DealBreakerConflict":[{"IsMatch":false,"Value":0,"Text":"String","TextAbbr":"String","ListID":0}],"DealBreakerConflictViewer":[{"IsMatch":false,"Value":0,"Text":"String","TextAbbr":"String","ListID":0}]},"MainPhoto":{"PhotoID":0,"Height":0,"Width":0,"ImageType":"None","IsPublic":false,"Classification":0,"UserType":"General","ShowSafeMode":false,"ImageActionType":"ShowImage","GalleryID":0,"IsAccepted":false,"MemberLikeCount":0,"IsLiked":false,"SortNumber":0,"ThumbUrl":"String","FullUrl":"String"}}