$moxi_works_agent_id
$moxi_works_agent_id : string
create(array $attributes = array()) : \MoxiworksPlatform\Event|null
Create an Event on The Moxi Works Platform <code> MoxiworksPlatform\Event::create([ moxi_works_agent_id: '123abc', partner_event_id: '1234', event_subject: 'Birthday Party', event_location: '123 this way, cityville, Stateswhere 86753', note: 'this is going to be the birthday. we like birthdays', remind_minutes_before: 23, is_meeting: true, event_start: 1463595006, event_end: 1463602226]); </code>
array | $attributes |
|
if required parameters are not included
find(array $attributes = array()) : \MoxiworksPlatform\Event|null
Find a previously created Event on Moxi Works Platform.
find can be performed including your system's event id and the Moxi Works Agent ID in a parameter array
\MoxiworksPlatform\Event::find([moxi_works_agent_id: 'abc123', partner_event_id: 'my_system_event_id'])
array | $attributes |
|
if required parameters are not included
search(array $attributes = array()) : Array
Search for Events between start/end date on Moxi Works Platform.
search can be performed by including date_start and date_end in a parameter array
\MoxiworksPlatform\Event::search([moxi_works_agent_id: 'abc123', date_start: 1463595006, date_end: 1463599996])
array | $attributes |
|
if required parameters are not included
if at least one search parameter is not defined
of Event objects formatted as follows: { "date" => "MM/DD/YY", "events" => [ \MoxiworkPlatform\Event, \MoxiworkPlatform\Event ] }
update(array $attributes = array()) : \MoxiworksPlatform\Event|null
Update a previously created Event on The Moxi Works Platform <code> MoxiworksPlatform\Event::update([ moxi_works_agent_id: '123abc', partner_event_id: '1234', event_subject: 'Birthday Party', event_location: '123 this way, cityville, Stateswhere 86753', note: 'this is going to be the birthday. we like birthdays', remind_minutes_before: 23, is_meeting: true, event_start: 1463595006, event_end: 1463602226]); </code>
array | $attributes |
|
if required parameters are not included
save() : \MoxiworksPlatform\Event|null
Save Event to Moxi Works Platform
$event = MoxiworksPlatform\Event::find([
moxi_works_agent_id: '123abc']);
$event->search_city = 'Cityville';
$event->save();
delete() : \MoxiworksPlatform\Event|null
Remove a event 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\Event|null
$method | ||
array | $opts | |
null | $url |
if required parameters are not included