Account Sign Up: The AccountSignUp method allows you to create an account with the same result as when a user signs up using the built-in sign-up app. This may be used in conjunction with the ability to use a custom sign-up page.
REQUEST ATTRIBUTES
APIAccountSignupPassword |
string |
Supplementary protection password set on a system level |
---|---|---|
checkForExistingUsers |
boolean |
If true, will return an error if a user with the same email address exists |
company |
string |
Account owner's company |
companySize |
string |
Account owner's company size |
country |
string |
Account owner's country |
string |
Account owner's email address |
|
firstName |
string |
Account owner's first name |
howDidYouHear |
string |
How the account owner heard about us |
jobTitle |
string |
Account owner's job title |
lastName |
string |
Account owner's last name |
partnerId |
string |
Account owner's ID |
password |
string |
Account owner's password |
phone |
string |
Account owner's phone |
type |
byte |
Obsolete |
RETURN ATTRIBUTES
AccountSignupResult |
json |
---|
REST
The following is a sample REST request and response. The placeholders shown need to be replaced with actual values.
POST /REST/api/portal/AccountSignUp HTTP/1.1 Host: <server url> Content-Type: multipart/form-data
Content-Disposition: form-data; name="APIAccountSignupPassword" string Content-Disposition: form-data; name="checkForExistingUsers" boolean Content-Disposition: form-data; name="company" string Content-Disposition: form-data; name="companySize" string Content-Disposition: form-data; name="country" string Content-Disposition: form-data; name="email" string Content-Disposition: form-data; name="firstName" string Content-Disposition: form-data; name="howDidYouHear" string Content-Disposition: form-data; name="jobTitle" string Content-Disposition: form-data; name="lastName" string Content-Disposition: form-data; name="partnerId" string Content-Disposition: form-data; name="password" string Content-Disposition: form-data; name="phone" string Content-Disposition: form-data; name="type" byte |
HTTP/1.1 200 OK Content-Length: length Content-Type: application/json; charset=utf-8 { "AccountSignupResult":json } |
Return to: Account API Methods (REST), Integration