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 form. This may be used in conjunction with the ability to use a custom sign-up page.
System.Xml.XmlNode AccountSignup(string APIAccountSignupPassword, string firstName, string lastName, string company, string email, string phone, string jobTitle, string companySize, string howDidYouHear, string country, string partnerId, string password, bool checkForExistingUsers, byte type)
Send Params |
Return Params |
||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
userID - User ID for the newly created user. |
Test
The test form is only available for requests from the local machine.
SOAP 1.1
The following is a sample SOAP 1.1 request and response. The placeholders shown need to be replaced with actual values.
POST /api/API.asmx HTTP/1.1 Host: testing.perfectforms.com Content-Type: text/xml; charset=utf-8 Content-Length: length SOAPAction: "http://www.PerfectForms.com/API/AccountSignup"
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Body> <AccountSignup xmlns="http://www.PerfectForms.com/API"> <APIAccountSignupPassword>string</APIAccountSignupPassword> <firstName>string</firstName> <lastName>string</lastName> <company>string</company> <email>string</email> <phone>string</phone> <jobTitle>string</jobTitle> <companySize>string</companySize> <howDidYouHear>string</howDidYouHear> <country>string</country> <partnerId>string</partnerId> <password>string</password> <checkForExistingUsers>boolean</checkForExistingUsers> <type>unsignedByte</type> </AccountSignup> </soap:Body> </soap:Envelope> |
HTTP/1.1 200 OK Content-Type: text/xml; charset=utf-8 Content-Length: length
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Body> <AccountSignupResponse xmlns="http://www.PerfectForms.com/API"> <AccountSignupResult>xml</AccountSignupResult> </AccountSignupResponse> </soap:Body> </soap:Envelope> |
SOAP 1.2
The following is a sample SOAP 1.2 request and response. The placeholders shown need to be replaced with actual values.
POST /api/API.asmx HTTP/1.1 Host: testing.perfectforms.com Content-Type: application/soap+xml; charset=utf-8 Content-Length: length
<?xml version="1.0" encoding="utf-8"?> <soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope"> <soap12:Body> <AccountSignup xmlns="http://www.PerfectForms.com/API"> <APIAccountSignupPassword>string</APIAccountSignupPassword> <firstName>string</firstName> <lastName>string</lastName> <company>string</company> <email>string</email> <phone>string</phone> <jobTitle>string</jobTitle> <companySize>string</companySize> <howDidYouHear>string</howDidYouHear> <country>string</country> <partnerId>string</partnerId> <password>string</password> <checkForExistingUsers>boolean</checkForExistingUsers> <type>unsignedByte</type> </AccountSignup> </soap12:Body> </soap12:Envelope> |
HTTP/1.1 200 OK Content-Type: application/soap+xml; charset=utf-8 Content-Length: length
<?xml version="1.0" encoding="utf-8"?> <soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope"> <soap12:Body> <AccountSignupResponse xmlns="http://www.PerfectForms.com/API"> <AccountSignupResult>xml</AccountSignupResult> </AccountSignupResponse> </soap12:Body> </soap12:Envelope> |
HTTP GET
The following is a sample HTTP GET request and response. The bold blue text represents placeholders that need to be replaced with actual values.
GET /services/api.asmx/AccountSignup?APIAccountSignupPassword=string&firstName=string&lastName=string&company=string&email=string&phone=string&jobTitle=string&companySize=string&howDidYouHear=string&country=string&partnerId=string&password=string&checkForExistingUsers=string HTTP/1.1
Host: app.perfectforms.com
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length
<?xml version="1.0"?>
xml
HTTP POST
The following is a sample HTTP POST request and response. The bold blue text represents placeholders that need to be replaced with actual values.
POST /services/api.asmx/AccountSignup HTTP/1.1
Host: app.perfectforms.com
Content-Type: application/x-www-form-urlencoded
Content-Length: length
APIAccountSignupPassword=string&firstName=string&lastName=string&company=string&email=string&phone=string&jobTitle=string&companySize=string&howDidYouHear=string&country=string&partnerId=string&password=string&checkForExistingUsers=string
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length
<?xml version="1.0"?>
xml
Updated: 06/12/2011
Page url:
http://www.perfectforms.com/Documentation/manual/html/?fg_accountsignup.htm
PerfectForms™ -- forms software, workflow software, and business process management