POST | /User/CreateAccount/ | ||
---|---|---|---|
POST | /User/Account/ |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Username | body | string | Yes | |
Password | body | string | Yes | |
body | string | No | ||
PhoneNumber | body | string | No | The phone number, can start with a '0' |
PhoneCountryCode | body | string | No | The countries phone code, the starting '+' is optional. eg. AU=+61, US=+1, AU=61, US=1 |
PhoneAlpha2Code | body | string | No | 2 character country code eg. AU, VN |
PhoneVerificationCode | body | string | No | PhoneNumber verification code. |
AffiliateLinkID | body | int | No | Affiliate ID is the identifier supplied by the inbound link.[query string name: affiliate] |
AffiliateLink | body | string | No | Affiliate is the identifier supplied by the inbound link. |
AffiliateCode | body | string | No | New Affiliate identifier supplied by the inbound link.[query string name: rhpaff] |
FacebookUserDetail | body | FacebookUserDetail | No | Facebook user detail |
AppleUserDetail | body | AppleUserDetail | No | Apple user detail |
GoogleUserDetail | body | GoogleUserDetail | No | Google user detail |
PersonalDetail | body | PersonalDetail | No | |
DetailInfo | body | UserProfileDetailInfo | No | |
VDToken | body | string | No | Google Recaptcha v3 token. |
ClientTimeZone | body | double | No | Timezone offset in hours (as provided by JS Date object (eg +8 GMT = -8.0 in js). |
VEToken | body | string | No | Google Recaptcha v2 token. |
PromoCode | body | string | No | PromoCode |
Gclid | body | string | No | Google gclid, assign to this parameter if present.[query string name: gclid] |
JoinToken | body | string | No | User token from Cookie |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
AccessToken | form | string | No | |
UserID | form | string | No | |
TokenDuration | form | int | No | |
DateCreated | form | DateTime | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
AccessToken | form | string | No | |
AccessTokenSecret | form | int | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
AccessToken | form | string | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
MemberType | form | short | No | The numeric number associated with a user's Membertype. |
LocationGID | form | string | No | The Google Placed ID. |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
AgeTitle | form | string | No | |
MemberTypeTitle | form | ProfileMemberType | No | |
MemberTypeChangePending | form | bool? | No | |
MemberTypeChangeType | form | MemberTypeChangeType | No | |
MaritalStatus | form | short? | No | |
MaritalStatus2 | form | short? | No | |
LevelOfParticipation | form | short? | No | |
LevelOfParticipation2 | form | short? | No | |
SexualOrientation | form | short? | No | |
SexualOrientation2 | form | short? | No | |
Race | form | short? | No | |
Race2 | form | short? | No | |
Mylooks | form | int? | No | |
Mylooks2 | form | int? | No | |
EyeColour | form | int? | No | |
EyeColour2 | form | int? | No | |
HairColour | form | int? | No | |
HairColour2 | form | int? | No | |
HairLength | form | int? | No | |
HairLength2 | form | int? | No | |
Height | form | short? | No | |
Height2 | form | short? | No | |
Drinking | form | short? | No | |
Drinking2 | form | short? | No | |
Personality | form | int? | No | |
Personality2 | form | int? | No | |
Smoking | form | short? | No | |
Smoking2 | form | short? | No | |
BodyType | form | short? | No | |
BodyType2 | form | short? | No | |
Birthdate | form | DateTime? | No | The primary birth date of the account. |
Birthdate2 | form | DateTime? | No | The secondary birth date of the account, if the account is a couple type. |
PostCodeAllID | form | int? | No | |
GoogleMapPlacesId | form | string | No | |
BodyHair | form | short? | No | |
BodyHair2 | form | short? | No | |
Circumcised | form | short? | No | |
Circumcised2 | form | short? | No | |
Cupsize | form | short? | No | |
Cupsize2 | form | short? | No | |
EndowmentLength | form | short? | No | |
EndowmentLength2 | form | short? | No | |
EndowmentThickness | form | short? | No | |
EndowmentThickness2 | form | short? | No | |
Pubichair | form | short? | No | |
Pubichair2 | form | short? | No | |
Safesex | form | short? | No | |
Safesex2 | form | short? | No | |
SexualPersonality | form | int? | No | |
SexualPersonality2 | form | int? | No | |
FantasyActivity | form | short? | No | |
FantasyLocation | form | short? | No | |
FantasyMustHave | form | short? | No | |
IntimatePiercing | form | int? | No | |
IntimatePiercing2 | form | int? | No | |
Mood | form | short? | No | |
SeekingYoungest | form | short? | No | The minimum seeking age. |
SeekingOldest | form | short? | No | The maximum seeking age (65+ should be set to 99). |
SeekingStateID | form | short? | No | |
SeekingTypes | form | short? | No | This is a totaled field based on the selected values. |
SeekingMaritalStatus | form | short? | No | |
FetishInterest | form | int? | No | This is a totaled field based on the selected values. |
GeneralInterest | form | int? | No | This is a totaled field based on the selected values. |
SexualInterest | form | int? | No | This is a totaled field based on the selected values. |
SexualPreference | form | int? | No | This is a totaled field based on the selected values. |
Intention | form | int? | No | |
SeekingBody | form | string | No | |
IntroBody | form | string | No | |
IntroTitle | form | string | No | |
FetishInterestValues | form | LookupValue[] | No | |
SexualInterestValues | form | LookupValue[] | No | |
SeekingTypeValues | form | LookupValue[] | No | |
GeneralInterestValues | form | LookupValue[] | No | |
SexualPreferenceValues | form | LookupValue[] | No | |
IntentionValues | form | LookupValue[] | No | |
DealBreakers | form | int? | No | |
ShowMutualInterestsOnly | form | bool? | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Abbr | form | string | No | |
Singular | form | string | No | |
Plural | form | string | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
IsMatch | form | bool | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Value | form | int | No | |
Text | form | string | No | |
TextAbbr | form | string | No | |
ListID | form | int? | No |
To override the Content-type in your clients, use the HTTP Accept Header, append the .xml suffix or ?format=xml
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: application/xml
Content-Type: application/xml
Content-Length: length
<CreateUserAccount xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RHP_API.ServiceModel">
<AffiliateCode>String</AffiliateCode>
<AffiliateLink>String</AffiliateLink>
<AffiliateLinkID>0</AffiliateLinkID>
<AppleUserDetail>
<AccessToken>String</AccessToken>
<AccessTokenSecret>0</AccessTokenSecret>
</AppleUserDetail>
<ClientTimeZone>0</ClientTimeZone>
<DetailInfo>
<AgeTitle>String</AgeTitle>
<Birthdate>0001-01-01T00:00:00</Birthdate>
<Birthdate2>0001-01-01T00:00:00</Birthdate2>
<BodyHair>0</BodyHair>
<BodyHair2>0</BodyHair2>
<BodyType>0</BodyType>
<BodyType2>0</BodyType2>
<Circumcised>0</Circumcised>
<Circumcised2>0</Circumcised2>
<Cupsize>0</Cupsize>
<Cupsize2>0</Cupsize2>
<DealBreakers>0</DealBreakers>
<Drinking>0</Drinking>
<Drinking2>0</Drinking2>
<EndowmentLength>0</EndowmentLength>
<EndowmentLength2>0</EndowmentLength2>
<EndowmentThickness>0</EndowmentThickness>
<EndowmentThickness2>0</EndowmentThickness2>
<EyeColour>0</EyeColour>
<EyeColour2>0</EyeColour2>
<FantasyActivity>0</FantasyActivity>
<FantasyLocation>0</FantasyLocation>
<FantasyMustHave>0</FantasyMustHave>
<FetishInterest>0</FetishInterest>
<FetishInterestValues xmlns:d3p1="http://schemas.datacontract.org/2004/07/RHP.ServiceHelper.Model">
<d3p1:LookupValue>
<d3p1:ListID>0</d3p1:ListID>
<d3p1:Text>String</d3p1:Text>
<d3p1:TextAbbr>String</d3p1:TextAbbr>
<d3p1:Value>0</d3p1:Value>
<d3p1:IsMatch>false</d3p1:IsMatch>
</d3p1:LookupValue>
</FetishInterestValues>
<GeneralInterest>0</GeneralInterest>
<GeneralInterestValues xmlns:d3p1="http://schemas.datacontract.org/2004/07/RHP.ServiceHelper.Model">
<d3p1:LookupValue>
<d3p1:ListID>0</d3p1:ListID>
<d3p1:Text>String</d3p1:Text>
<d3p1:TextAbbr>String</d3p1:TextAbbr>
<d3p1:Value>0</d3p1:Value>
<d3p1:IsMatch>false</d3p1:IsMatch>
</d3p1:LookupValue>
</GeneralInterestValues>
<GoogleMapPlacesId>String</GoogleMapPlacesId>
<HairColour>0</HairColour>
<HairColour2>0</HairColour2>
<HairLength>0</HairLength>
<HairLength2>0</HairLength2>
<Height>0</Height>
<Height2>0</Height2>
<Intention>0</Intention>
<IntentionValues xmlns:d3p1="http://schemas.datacontract.org/2004/07/RHP.ServiceHelper.Model">
<d3p1:LookupValue>
<d3p1:ListID>0</d3p1:ListID>
<d3p1:Text>String</d3p1:Text>
<d3p1:TextAbbr>String</d3p1:TextAbbr>
<d3p1:Value>0</d3p1:Value>
<d3p1:IsMatch>false</d3p1:IsMatch>
</d3p1:LookupValue>
</IntentionValues>
<IntimatePiercing>0</IntimatePiercing>
<IntimatePiercing2>0</IntimatePiercing2>
<IntroBody>String</IntroBody>
<IntroTitle>String</IntroTitle>
<LevelOfParticipation>0</LevelOfParticipation>
<LevelOfParticipation2>0</LevelOfParticipation2>
<MaritalStatus>0</MaritalStatus>
<MaritalStatus2>0</MaritalStatus2>
<MemberTypeChangePending>false</MemberTypeChangePending>
<MemberTypeChangeType>Complimentary</MemberTypeChangeType>
<MemberTypeTitle xmlns:d3p1="http://schemas.datacontract.org/2004/07/RHP.ServiceHelper.Model">
<d3p1:Abbr>String</d3p1:Abbr>
<d3p1:Plural>String</d3p1:Plural>
<d3p1:Singular>String</d3p1:Singular>
</MemberTypeTitle>
<Mood>0</Mood>
<Mylooks>0</Mylooks>
<Mylooks2>0</Mylooks2>
<Personality>0</Personality>
<Personality2>0</Personality2>
<PostCodeAllID>0</PostCodeAllID>
<Pubichair>0</Pubichair>
<Pubichair2>0</Pubichair2>
<Race>0</Race>
<Race2>0</Race2>
<Safesex>0</Safesex>
<Safesex2>0</Safesex2>
<SeekingBody>String</SeekingBody>
<SeekingMaritalStatus>0</SeekingMaritalStatus>
<SeekingOldest>0</SeekingOldest>
<SeekingStateID>0</SeekingStateID>
<SeekingTypeValues xmlns:d3p1="http://schemas.datacontract.org/2004/07/RHP.ServiceHelper.Model">
<d3p1:LookupValue>
<d3p1:ListID>0</d3p1:ListID>
<d3p1:Text>String</d3p1:Text>
<d3p1:TextAbbr>String</d3p1:TextAbbr>
<d3p1:Value>0</d3p1:Value>
<d3p1:IsMatch>false</d3p1:IsMatch>
</d3p1:LookupValue>
</SeekingTypeValues>
<SeekingTypes>0</SeekingTypes>
<SeekingYoungest>0</SeekingYoungest>
<SexualInterest>0</SexualInterest>
<SexualInterestValues xmlns:d3p1="http://schemas.datacontract.org/2004/07/RHP.ServiceHelper.Model">
<d3p1:LookupValue>
<d3p1:ListID>0</d3p1:ListID>
<d3p1:Text>String</d3p1:Text>
<d3p1:TextAbbr>String</d3p1:TextAbbr>
<d3p1:Value>0</d3p1:Value>
<d3p1:IsMatch>false</d3p1:IsMatch>
</d3p1:LookupValue>
</SexualInterestValues>
<SexualOrientation>0</SexualOrientation>
<SexualOrientation2>0</SexualOrientation2>
<SexualPersonality>0</SexualPersonality>
<SexualPersonality2>0</SexualPersonality2>
<SexualPreference>0</SexualPreference>
<SexualPreferenceValues xmlns:d3p1="http://schemas.datacontract.org/2004/07/RHP.ServiceHelper.Model">
<d3p1:LookupValue>
<d3p1:ListID>0</d3p1:ListID>
<d3p1:Text>String</d3p1:Text>
<d3p1:TextAbbr>String</d3p1:TextAbbr>
<d3p1:Value>0</d3p1:Value>
<d3p1:IsMatch>false</d3p1:IsMatch>
</d3p1:LookupValue>
</SexualPreferenceValues>
<ShowMutualInterestsOnly>false</ShowMutualInterestsOnly>
<Smoking>0</Smoking>
<Smoking2>0</Smoking2>
</DetailInfo>
<Email>String</Email>
<FacebookUserDetail>
<AccessToken>String</AccessToken>
<DateCreated>0001-01-01T00:00:00</DateCreated>
<TokenDuration>0</TokenDuration>
<UserID>String</UserID>
</FacebookUserDetail>
<Gclid>String</Gclid>
<GoogleUserDetail>
<AccessToken>String</AccessToken>
</GoogleUserDetail>
<JoinToken>String</JoinToken>
<Password>String</Password>
<PersonalDetail>
<LocationGID>String</LocationGID>
<MemberType>0</MemberType>
</PersonalDetail>
<PhoneAlpha2Code>String</PhoneAlpha2Code>
<PhoneCountryCode>String</PhoneCountryCode>
<PhoneNumber>String</PhoneNumber>
<PhoneVerificationCode>String</PhoneVerificationCode>
<PromoCode>String</PromoCode>
<Username>String</Username>
<VDToken>String</VDToken>
<VEToken>String</VEToken>
</CreateUserAccount>