'Contact Owner', 'callback' => 'text', 'required' => false, 'length' => 0, 'default' => null ], // Select the Zoho CRM user to whom the account is assigned. [ 'name' => 'Salutation', 'callback' => 'text', 'required' => false, 'length' => 0, 'default' => null ], // Select the Salutation of the contact, such as Mr., Ms, Mrs., or others. [ 'name' => 'First Name', 'callback' => 'text', 'required' => false, 'length' => 40, 'default' => null ], [ 'name' => 'Last Name', 'callback' => 'text', 'required' => true, 'length' => 40, 'default' => null ], [ 'name' => 'Account Name', 'callback' => 'text', 'required' => false, 'length' => 0, 'default' => null ], // Select the account related to the contact. // [ 'name' => 'ACCOUNTID', 'callback' => 'number', 'required' => false, 'length' => 0, 'default' => null ], // not documented [ 'name' => 'Vendor Name', 'callback' => 'text', 'required' => false, 'length' => 0, 'default' => null ], // Select the vendor relatedd to the contact [ 'name' => 'Campaign Source', 'callback' => 'text', 'required' => false, 'length' => 0, 'default' => null ], // Select the Campaign related to the contact [ 'name' => 'Lead Source', 'callback' => 'text', 'required' => false, 'length' => 0, 'default' => 'Web Download' ], // Select the source from which the contact is created. [ 'name' => 'Title', 'callback' => 'text', 'required' => false, 'length' => 50, 'default' => null ], // Specify the job position of the contact [ 'name' => 'Department', 'callback' => 'text', 'required' => false, 'length' => 30, 'default' => null ], [ 'name' => 'Date of Birth', 'callback' => 'date', 'required' => false, 'length' => 0, 'default' => null ], [ 'name' => 'Reports To', 'callback' => 'text', 'required' => false, 'length' => 255, 'default' => null ], [ 'name' => 'Email Opt Out', 'callback' => 'checkbox', 'required' => false, 'length' => 0, 'default' => 'false' ], // Select the check-box to remove contacts from your mailing list so that they will not receive any emails from your Zoho CRM account [ 'name' => 'Skype Id', 'callback' => 'text', 'required' => false, 'length' => [6, 32], 'default' => null ], [ 'name' => 'Phone', 'callback' => 'text', 'required' => false, 'length' => 50, 'default' => null ], [ 'name' => 'Mobile', 'callback' => 'text', 'required' => false, 'length' => 50, 'default' => null ], [ 'name' => 'Home Phone', 'callback' => 'text', 'required' => false, 'length' => 50, 'default' => null ], [ 'name' => 'Other Phone', 'callback' => 'text', 'required' => false, 'length' => 50, 'default' => null ], [ 'name' => 'Fax', 'callback' => 'text', 'required' => false, 'length' => 50, 'default' => null ], [ 'name' => 'Email', 'callback' => 'email', 'required' => false, 'length' => 100, 'default' => null ], [ 'name' => 'Secondary Email', 'callback' => 'email', 'required' => false, 'length' => 100, 'default' => null ], [ 'name' => 'Assistant', 'callback' => 'text', 'required' => false, 'length' => 0, 'default' => null ], // Specify the name of the contact’s assistant. [ 'name' => 'Asst Phone', 'callback' => 'text', 'required' => false, 'length' => 100, 'default' => null ], // Specify the phone number of the contact's assistant. [ 'name' => 'Mailing Street', 'callback' => 'text', 'required' => false, 'length' => 250, 'default' => null ], [ 'name' => 'Mailing City', 'callback' => 'text', 'required' => false, 'length' => 30, 'default' => null ], [ 'name' => 'Mailing State', 'callback' => 'text', 'required' => false, 'length' => 30, 'default' => null ], [ 'name' => 'Mailing Zip', 'callback' => 'text', 'required' => false, 'length' => 30, 'default' => null ], [ 'name' => 'Mailing Country', 'callback' => 'text', 'required' => false, 'length' => 30, 'default' => null ], //[ 'name' => 'Other Address', 'callback' => 'address', 'required' => false, 'length' => 0, 'default' => null ], [ 'name' => 'Description', 'callback' => 'text', 'required' => false, 'length' => 32000, 'default' => null ], ]; protected static $fields_map = [ 'Contact Owner' => '', 'Salutation' => 'prefix', 'First Name' => 'first_name', 'Last Name' => 'last_name', 'Account Name' => 'company_name', //'ACCOUNTID' => 'ACCOUNTID', // not documented 'Vendor Name' => '', 'Campaign Source' => '', 'Lead Source' => '', 'Title' => '', 'Department' => '', 'Date of Birth' => '', 'Reports To' => '', 'Email Opt Out' => 'email_subscription', 'Skype Id' => '', 'Phone' => 'phone', 'Mobile' => '', 'Home Phone' => '', 'Other Phone' => '', 'Fax' => '', 'Email' => 'email', 'Secondary Email' => '', 'Assistant' => '', 'Asst Phone' => '', 'Mailing Street' => 'street', 'Mailing City' => 'city', 'Mailing State' => '', 'Mailing Zip' => 'zip', 'Mailing Country' => '', //'Other Address' => '', 'Description' => '', ]; }