'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 ], [ 'name' => 'Newsletter', 'callback' => 'checkbox', 'required' => false, 'length' => 0, 'default' => 'false' ], ]; 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' => '', 'Newsletter' => 'email_subscription', ]; }