$moxi_works_agent_id
$moxi_works_agent_id : string
$gender : \MoxiworksPlatform\string,
$social_media_profiles : array
create(array $attributes = array()) : \MoxiworksPlatform\Contact|null
Create a Contact on The Moxi Works Platform <code> MoxiworksPlatform\Contact::create([ moxi_works_agent_id: '123abc', partner_contact_id: '1234', contact_name: 'george p warshington', home_street: '123 this way', home_city: 'cittyvile', home_state: 'HI', home_country: 'USA', home_neighborhood: 'my hood', job_title: 'junior bacon burner', occupation: 'chef', note: 'some notable stuff', primary_email_address: 'goo@goo.goo', primary_phone_number: '123213', property_mls_id: '1232312abcv', secondary_phone_number: '1234567890']); </code>
array | $attributes |
if required parameters are not included
find(array $attributes = array()) : \MoxiworksPlatform\Contact|null
Find a previously created Contact on Moxi Works Platform.
find can be performed including your system's contact id and the Moxi Works Agent ID in a parameter array
\MoxiworksPlatform\Contact::find([moxi_works_agent_id: 'abc123', partner_contact_id: 'my_system_contact_id'])
array | $attributes |
|
if required parameters are not included
search(array $attributes = array()) : Array
Search for Contact by name/email/phone on Moxi Works Platform.
search can be performed by including contact_name and/or email_address and/or phone_number in a parameter array
\MoxiworksPlatform\Contact::search([moxi_works_agent_id: 'abc123', contact_name: 'Buckminster Fuller'])
array | $attributes |
|
if required parameters are not included
if at least one search parameter is not defined
of Contact objects
update(array $attributes = array()) : \MoxiworksPlatform\Contact|null
Updates a previously created Contact in Moxi Works Platform <code> MoxiworksPlatform\Contact::update([ moxi_works_agent_id: '123abc', partner_contact_id: '1234', contact_name: 'george p warshington', home_street: '123 this way', home_city: 'cittyvile', home_state: 'HI', home_country: 'USA', home_neighborhood: 'my hood', job_title: 'junior bacon burner', occupation: 'chef', note: 'some notable stuff', primary_email_address: 'goo@goo.goo', primary_phone_number: '123213', property_mls_id: '1232312abcv', secondary_phone_number: '1234567890']); </code>
array | $attributes |
|
save() : \MoxiworksPlatform\Contact|null
Save Contact to Moxi Works Platform
$contact = MoxiworksPlatform\Contact::find([
moxi_works_agent_id: '123abc']);
$contact->search_city = 'Cityville';
$contact->save();
delete() : \MoxiworksPlatform\Contact|null
Remove a contact your system has previously created on the Moxi Works Platform from an agent
if required parameters are not included
sendRequest( $method, array $opts = array(), null $url = null) : \MoxiworksPlatform\Contact|null
$method | ||
array | $opts | |
null | $url |
if required parameters are not included