createClient()
createClient(string $method, string $format, string $apikey, string $apikeynumber, string $firstName, string $lastName, string $homeNumber, string $workNumber, string $cellNumber, string $street, string $city, string $state, string $zip, string $email, string $notes, string $isProspective, string $subject, string $message, string $sendEmail, string $leadType, string $leadDeadline)
Create a client in the StudioCloud account.
Parameters
string |
$method |
This is the name of the method being called. Should always be "createClient" |
string |
$format |
The format of the data returned. Options are "json" and "xml". Default = "xml" |
string |
$apikey |
This is information that you get from the StudioCloud 3.0 program. |
string |
$apikeynumber |
This is information that you get from the StudioCloud 3.0 program. |
string |
$firstName |
First name of the new client |
string |
$lastName |
Last name of the new client |
string |
$homeNumber |
Client's home phone number |
string |
$workNumber |
Client's work phone number |
string |
$cellNumber |
Client's cell phone number |
string |
$street |
Client's street address |
string |
$city |
Client's city |
string |
$state |
Client's state |
string |
$zip |
Client's zip |
string |
$email |
Client's email |
string |
$notes |
Notes about the client |
string |
$isProspective |
Should be "true" or "false" depending on whether or not you want the client to be saved as a prospective client. If "true" then the client is saved as a prospective client. The default is "false". |
string |
$subject |
The subject line of the email that will be sent to your business. |
string |
$message |
The message that will be sent to your business. |
string |
$sendEmail |
If this is "true" then an email using subject and message will be sent to the email address that we have as the main contact email for your business. The default is "false" |
string |
$leadType |
This is the type of event or lead that your business is being contact regarding |
string |
$leadDeadline |
This is the date or deadline of the lead. This should be an epoch time in milliseconds. |